1-3
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter1 Command-Line Interfac es Switch CLI
After connecting through a Telnet session, you see this display:
host% telnet cat6000-1.cisco.com
Trying 172.16.44.30 ...
Connected to cat6000-1.
Operating the Switch CLIThis section describes command modes and functions that allow you to operate the switch CLI.
Accessing the Command Modes
The CLI has two modes of operation: normal and privileged. Both are password-protected. Use
normal-mode commands for everyday system monitoring. Use privileged comm an ds for syste m
configuration and basic troubleshooting.
After you log in, the system enters normal mode, which gives you access to normal-mode commands
only. You can en ter privileged mode by entering the enable command followed b y the ena ble pas sw ord.
Privileged mode is indicated by the word “enable” in the system prompt. T o return to normal mode, ente r
the disable command at the prompt.
The following example shows how to enter privileged mode:
Console> enable
Enter password: <password>
Console> (enable)
Using Command-Line Processing
Switch commands are not case sensitive. You can abbreviate commands and parameters as long as they
contain enough letters to be different from any other currently available com ma nd s or para me ter s. You
can scroll through the last 20 commands stored in the history buffer and enter or edit the command at
the prompt. (See Tabl e 1-1.)
Table1-1 Command-Line Processing Keystroke
Keystroke Function
Ctrl-A Jumps to the first character of the command line.
Ctrl-B or the left arrow key Moves the cursor back one character.
Ctrl-C Escapes and terminates prompts and tasks.
Ctrl-D Deletes the character at the cursor.
Ctrl-E Jumps to the end of th e cu rre nt co mm an d l ine .
Ctrl-F or the right arrow key1Moves the cursor forward one character.
Ctrl-K Deletes from the cursor to the end of the command line.
Ctrl-L; Ctrl-R Repeats current command line on a new line.
Ctrl-N or the down arrow key1Enters next command line in the history buffer.
Ctrl-P or the up arrow key1Enters previous command line in the history buffer.
Ctrl-U; Ctrl-X Deletes from the cursor to the beginning of the command line.
Ctrl-W Deletes last word typed.