ProCurve Switches 2512 and 2524 Management and Configuration Guide
3-13
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:
HP2512# 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 Switch 2512 and 2524 offer 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):
HP2512(config)# interface e 5-8
HP2512(config)# interface e trk1
Command executed at 
configuration level for 
entering port or trk1 static 
trunk-group context.
HP2512(eth-5-8)#
HP2512(eth-Trk1)#
Resulting prompt showing 
port or static trunk contexts.










