Chapter 2
Using the Command-Line Interface
Scrolling Down a Line or a Screen
When the output of a command fills more than one terminal screen, a ---
the bottom of the screen. To view the next line or screen, perform these tasks:
Task
To scroll down one line
To scroll down one screen
To quit from the More mode
Note
The ---
screen, including show command output.
Using Command Aliases
Aliases are not case sensitive; however, unlike regular commands, some aliases cannot be abbreviated.
Table 2-3
Table 2-3
Alias
?
batch
di
exit
logout
Specifying Modules, Ports, and VLANs
Modules, ports, and VLANs are numbered sequentially, beginning with 1. The supervisor engine module
is module 1, residing in slot 1.
To designate a specific module, use the module number. In most systems, the module number and the
slot number are the same.
On the fixed-configuration switches, there are two logical modules. On the Catalyst 4912G, the
Catalyst 2948G, and the Catalyst 2980G switches, there are two modules but only one slot. When you
enter configuration commands on these switches, you must refer to the module number, not the slot
number. For example, all of the user-configurable ports on these switches are logically on module 2.
On modules that have user-configurable ports, the left-most port is always port 1. To designate a specific
port on a specific module, the command syntax is mod_num/port_num. For example, 3/1 specifies
module 3, port 1. On the Catalyst 4912G, the Catalyst 2948G, and the Catalyst 2980G switches, the
left-most switch port is numbered 2/1 instead of 1/1 because logically the ports are located on module 2.
78-12647-02
--- prompt is used for any output that has more lines than can be displayed on the terminal
More
lists the switch CLI aliases that cannot be abbreviated.
Switch CLI Command Aliases
Command
help
configure
show
quit
quit
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Scrolling Down a Line or a Screen
More
Keystrokes
Press the Return key
Press the Spacebar
Press the q key
--- prompt is displayed at
2-7