Using the Command Line Interface (CLI)

Using the CLI

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 switch offers interface (port or trunk group) and VLAN context configu­ ration modes:

Port or Trunk-Group Context. Includes port- ortrunk-specific commands that apply only to the selected port(s) or trunk group, plus the global config­ uration, Manager, and Operator commands. The prompt for this mode includes the identity of the selected port(s):

ProCurve(config)# interface c3-c6

ProCurve(eth-C5-C8)#

ProCurve(config)# interface trk1

ProCurve(eth-Trk1)#

Commands executed at configuration level for entering port and trk1 static trunk-group contexts, and resulting prompts showing port or static trunk contexts..

ProCurve(eth-C5-C8)#

ProCurve(eth-Trk1)#

ProCurve(eth-C5-C8)# ?

ProCurve(eth-C5-C8)# ?

Lists the commands you can use in the port or static trunk context, plus the Manager, Operator, and context commands you can exe­ cute at this level.

4-13