01-Fundamentals Command Reference

HomeSupportSwitchesH3C S12500 Switch SeriesReference GuidesCommand ReferencesH3C S12500 Command Reference-Release7128-6W71001-Fundamentals Command Reference
12-TCL commands
Title Size Download
12-TCL commands 46.51 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

From user view, you can use the tclsh command to enter Tcl configuration view, where 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 that you do 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

After you execute Comware commands to enter the system view or a Comware feature view, you can use the quit command to return to the upper-level view, or use the return command to directly return to the Tcl configuration view. You cannot use the tclquit command for these purposes.

Executing the quit command in Tcl configuration view terminates your connection to the device.

Examples

# Return from Tcl configuration view to user view.

<Sysname-tcl> tclquit

<Sysname>

Related commands

tclsh

 

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
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
新华三官网