2-2
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 2 Command-Line Interfaces
Accessing the Switch CLI
Accessing the Switch CLI
The following sections describe how to access the switch CLI:
Accessing the CLI Using the EIA/TIA-232 Console Interface, page 2-2
Accessing the CLI Through Telnet, page 2-2

Accessing the CLI Using the EIA/TIA-232 Console Interface

Note EIA/TIA-232 was known as recommended standard 232 (RS-232) before its acceptance as a standard by
the Electronic Industries Alliance (EIA) and Telecommunications Industry Association (TIA).
Perform the initial switch configuration over a connection to the EIA/TIA-232 console interface. Refer
to the Catalyst 4500 Series Switch Module Installation Guide for console interface cable connection
procedures.
To access the switch through the console interface, perform this task:
After accessing the switch through the EIA/TIA-232 interface, you see this display:
Press Return for Console prompt
Switch> enable
Password:< >
Switch#

Accessing the CLI Through Telnet

Note Before you make a Telnet connection to the switch, you must set the IP address for the switch. See the
“Configuring Physical Layer 3 Interfaces” section on page 30-12.
The switch supports up to eight simultaneous Telnet sessions. Telnet sessions disconnect automatically
after remaining idle for the period specified by the exec-timeout command.
Command Purpose
Step 1 Switch> enable From the user EXEC prompt (>), enter enable to change
to enable mode (also known as privileged mode or
privileged EXEC mode).
Step 2 Password: password
Switch#
At the password prompt, enter the system password. The
prompt (#) appears, indicating that you have accessed the
CLI in enabled mode.
Step 3 Switch# quit When you are finished executing the task command, exit
the session.