Chapter 3 Getting Started with the CLI
Command Usage Basics
3-4
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
78-6511-05
Abbreviating Commands
You can abbreviate commands and keywords to the number of characters that
allow a unique abbreviation. For example, you can abbreviate the show command
to sh or the show configuration command to show conf.
Global
configuration
Enter the configure
command while in
privileged EXEC
mode.
switch(config)#
To exit to
privileged EXEC
mode, enter exit or
end, or press
Ctrl-Z.
Use this mode to
configure
parameters that
apply to your
switch as a whole.
Interface
configuration
Enter the interface
command (with a
specific interface)
while in global
configuration mode.
switch(config-if)#
To exit to global
configuration
mode, enter exit.
To exist to
privileged EXEC
mode, enter
Ctrl-Z or end.
Use this mode to
configure
parameters for the
Ethernet
interfaces.
Line
configuration
Specify a line with
the line vty or line
console command
while in global
configuration mode.
switch(config-line)#
To exit to global
configuration
mode, enter exit.
To exit to
privileged EXEC
mode, enter
Ctrl-Z or end.
Use this mode to
configure
parameters for the
terminal line.
1. For any of the modes, you can see a comprehensive list of the available commands by entering a question mark (?) at the
prompt.
Table 3-1 Command Modes Summary (continued)
Modes Access Method Prompt Exit Method About This Mode
1