2-7
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Chapter 2 Using the Command-Line Interface
Using Command Aliases
Using Command Aliases
Aliases are not case sensitive; also, some aliases cannot be abbreviated. Table 2-3 lists the switch CLI
aliases that cannot be abbreviated.
Specifying Modules, Ports, and VLANs
The Catalyst 4000 series switches sequentially number modules, ports, and VLANs, 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.
The fixed-configuration switches have two logical modules. The Catalyst 4912G, the Catalyst 2948G,
and the Catalyst 2980G switches have 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 the ports are located on module 2.
With many commands, you can enter lists of ports. To specify a range of ports, use a comma-separated
list (do not insert spaces) to specify individual ports or a hyphen (-) between the port numbers to specify
a range of ports.
Table 2-4 shows examples of how to designate ports and port ranges.
Task Keystrokes
To scroll down one line Press the Return key
To scroll down one screen Press the Spacebar
To quit from the More program Press the Q key
Table 2-3 Command Aliases That Cannot Be Abbreviated
Alias Command
?help
batch configure
di show
exit quit
logout quit