SMC Networks SMC6624M Switch User Manual


 
3-12
Using the Command Line Interface (CLI)
Using the CLI
Using the Command Line
Interface (CLI)
Figure 3-9. Example of Help for a Specific Instance of a Command
Note that if you try to list the help for an individual command from a privilege
level that does not include that command, the switch returns an error message.
For example, trying to list the help for the interface command while at the
global configuration level produces this result:
SMC TigerSwitch 10/100# interface help
Invalid input: interface
Configuration Commands and the Context
Configuration Modes
You can execute any configuration command in the global configuration mode
or in selected context modes. However, using a context mode enables you to
execute context-specific commands faster, with shorter command strings.
The SMC6624M offers interface (port or trunk group) and VLAN context
configuration modes:
Port or Trunk-Group Context . Includes port- or trunk-specific
commands that apply only to the selected port(s) or trunk group, plus the
global configuration, Manager, and Operator commands. The prompt for this
mode includes the identity of the selected port(s):
SMC TigerSwitch 10/100(config)#
interface e 5-8
SMC TigerSwitch 10/100(config)#
interface e trk1
Command executed at
configuration level for
entering port or trk1 static
trunk-group context.
SMC TigerSwitch 10/100(eth-5-8)#
SMC TigerSwitch 10/100(eth-Trk1)#
Resulting prompt showing
port or static trunk contexts.