Accessing the Switch CLI
The Catalyst enterprise LAN switches are multimodule systems. Commands you enter from the CLI
might apply to the entire system or to a specific module, port, or VLAN.
You configure the switch using set and clear commands. Enter set commands to change switch
parameters. Use clear commands (or, in some cases, set commands) to overwrite or erase configuration
parameters. Use show commands to display the current configuration and to monitor the switch.
Accessing the Switch CLI
You can access the CLI through the supervisor engine console port or through a Telnet session.
These sections describe how to access the switch CLI:
•
•
Accessing the CLI through the Console Port
To access the switch CLI through the console port, you first must connect a console terminal to the
console port through an EIA/TIA-232 (RS-232) cable. Make sure that the terminal is connected to the
switch and that the terminal is on.
For complete information on how to connect a terminal to the supervisor engine console port, refer to
Note
the hardware documentation for your switch.
To access the switch CLI through the console port, follow these steps:
Step 1
Connect to the supervisor engine console port using the appropriate application or commands on the
terminal (for example, using a terminal emulation program on a PC or using the tip command on a UNIX
system).
Step 2
If the switch is not on, power up the switch. The bootup display should appear on the screen (see the
"Catalyst 4003 Bootup Display Example" section on page
Enter to see this display:
Cisco Systems, Inc. Console
Enter password:
After you successfully connect to the switch through the console port, you can enter normal-mode
commands to monitor the switch or enter privileged mode to change the configuration. For more
information, see the
Accessing the CLI Through Telnet
Before you can open a Telnet session to the switch, you must first set the IP address (and in some cases
the default gateway) for the switch. For information about setting the IP address and default gateway,
see
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
2-2
Accessing the CLI through the Console Port, page 2-2
Accessing the CLI Through Telnet, page 2-2
"Switch CLI Command Modes" section on page
Chapter 3, "Configuring the Switch IP Address and Default Gateway."
Chapter 2
Using the Command-Line Interface
2-9). If the switch is already booted, press
2-3.
78-12647-02