Cisco Cisco Gigabit Ethernet Switch Module (CGESM) for HP Technical References

Page of 742
   
1-2
Cisco Gigabit Ethernet Switch Module for the HP p-Class BladeSystem Command Reference Guide
380265-002
Chapter 1      Using the Command-Line Interface
CLI Command Modes
 
User EXEC Mode 
After you access the device, you are automatically in user EXEC command mode. The EXEC commands 
available at the user level are a subset of those available at the privileged level. In general, use the user 
EXEC commands to temporarily change terminal settings, perform basic tests, and list system 
information.
The supported commands can vary depending on the version of software in use. To display a 
comprehensive list of commands, enter a question mark (?) at the prompt. 
Switch> 
Table 1-1
Command Modes Summary
Command Mode
Access Method
Prompt 
Exit or Access Next Mode
User EXEC
This is the first level of access. 
(For the switch) Change terminal 
settings, perform basic tasks, and 
list system information.
Switch>
Enter the logout command.
To enter privileged EXEC mode, enter 
the enable command.
Privileged  EXEC
From user EXEC mode, enter the 
enable command. 
Switch#
To exit to user EXEC mode, enter the 
disable command.
To enter global configuration mode, 
enter the configure command.
Global 
configuration
From privileged EXEC mode, 
enter the configure command.
Switch(config)#
To exit to privileged EXEC mode, 
enter the exit or end command, or 
press Ctrl-Z.
To enter interface configuration mode, 
enter the interface configuration 
command.
Interface 
configuration
From global configuration mode, 
specify an interface by entering 
the interface command followed 
by an interface identification.
Switch(config-if)#
To exit to privileged EXEC mode, 
enter the end command, or press 
Ctrl-Z.
To exit to global configuration mode, 
enter the exit command.
Config-vlan
In global configuration mode, 
enter the vlan vlan-id command. 
Switch(config-vlan)#
To exit to global configuration mode, 
enter the exit command.
To return to privileged EXEC mode, 
enter the end command, or press 
Ctrl-Z.
VLAN 
configuration
From privileged EXEC mode, 
enter the vlan database 
command. 
Switch(vlan)#
To exit to privileged EXEC mode, 
enter the exit command.
Line  configuration
From global configuration mode, 
specify a line by entering the line 
command.
Switch(config-line)#
To exit to global configuration mode, 
enter the exit command.
To return to privileged EXEC mode, 
enter the end command, or press 
Ctrl-Z.