Cisco 3560x-24p 参考指南
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
1-2
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 1 Using the Command-Line Interface
CLI Command Modes
CLI Command Modes
This section describes the CLI command mode structure. Command modes support specific Cisco IOS
commands. For example, the interface interface-id command only works when entered in global
configuration mode.
commands. For example, the interface interface-id command only works when entered in global
configuration mode.
These are the main command modes for the switch:
•
User EXEC
•
Privileged EXEC
•
Global configuration
•
Interface configuration
•
VLAN configuration
•
Line configuration
lists the main command modes, how to access each mode, the prompt you see in that mode,
and how to exit that mode. The prompts listed use the default name 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.
settings, perform basic tasks, and
list system information.
Switch>
Enter the logout command.
To enter privileged EXEC mode, enter
the enable command.
the enable command.
Privileged EXEC
From user EXEC mode, enter the
enable command.
enable command.
Switch#
To exit to user EXEC mode, enter the
disable command.
disable command.
To enter global configuration mode,
enter the configure command.
enter the configure command.
Global
configuration
configuration
From privileged EXEC mode,
enter the configure command.
enter the configure command.
Switch(config)#
To exit to privileged EXEC mode,
enter the exit or end command, or
press Ctrl-Z.
enter the exit or end command, or
press Ctrl-Z.
To enter interface configuration mode,
enter the interface configuration
command.
enter the interface configuration
command.
Interface
configuration
configuration
From global configuration mode,
specify an interface by entering
the interface command followed
by an interface identification.
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.
enter the end command, or press
Ctrl-Z.
To exit to global configuration mode,
enter the exit command.
enter the exit command.