1-3
Catalyst 3750 Switch Command Reference
OL-8552-07
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>
?
Privileged EXEC Mode
Because many of the privileged commands configure operating parameters, privileged access should be
password-protected to prevent unauthorized use. The privileged command set includes those commands
contained in user EXEC mode, as well as the
configure
privileged EXEC command through which you
access the remaining command modes.
If your system administrator has set a password, you are prompted to enter it before being granted access
to privileged EXEC mode. The password does not appear on the screen and is case sensitive.
The privileged EXEC mode prompt is the device name followed by the pound sign (
#
).
Switch#
Enter the
enable
command to access privileged EXEC mode:
Switch>
enable
Switch#
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#
?
To return to user EXEC mode, enter the
disable
privileged EXEC 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
.
Table 1-1
Command Modes Summary (continued)
Command Mode
Access Method
Prompt
Exit or Access Next Mode
Содержание 3750 - Catalyst EMI Switch
Страница 494: ...2 464 Catalyst 3750 Switch Command Reference OL 8552 07 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands reserved only ...
Страница 772: ...2 742 Catalyst 3750 Switch Command Reference OL 8552 07 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vtp ...
Страница 1132: ...D 2 Catalyst 3750 Switch Command Reference OL 8552 07 Appendix D Acknowledgments for Open Source Software ...