01-Fundamentals Command Reference

HomeSupportSwitchesH3C S12500 Switch SeriesReference GuidesCommand ReferencesH3C S12500 Command References-Release7374-6W73101-Fundamentals Command Reference
11-Tcl commands
Title Size Download
11-Tcl commands 50.49 KB

Tcl commands

tclsh

Use tclsh to enter Tcl configuration view from user view.

Syntax

tclsh

Views

User view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

In Tcl configuration view, you can execute the following commands:

·     All Tcl 8.5 commands.

·     Comware commands. In this case, the Tcl configuration view is equivalent to the user view. You can use Comware commands in Tcl configuration view in the same way they are used in user view.

Examples

# Enter Tcl configuration view from user view.

<Sysname> tclsh

<Sysname-tcl>

Related commands

tclquit

tclquit

Use tclquit to return from Tcl configuration view to user view.

Syntax

tclquit

Views

Tcl configuration view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

To return from Tcl configuration view to user view, you can also use the quit command.

To return to Tcl configuration view after you execute Comware commands to enter system view or a Comware feature view, use the return command.

To return to the upper-level view from system view or a Comware feature view, use the quit command.

Examples

# Return from Tcl configuration view to user view.

<Sysname-tcl> tclquit

<Sysname>

Related commands

tclsh

 

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网