
2-4
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
Accessing Help
To enter normal command mode, follow these steps:
Step 1
Connect to the switch CLI through the console port or using Telnet (for more information, see the
“Accessing the Switch CLI” section on page 2-2
).
Step 2
On a new switch, the normal-mode password is null. If you are connecting to a new switch, press Return
at the Enter Password prompt. Otherwise, enter the normal-mode password for the switch.
You will see the user-level command-line prompt.
Enter Password: <normal_mode_password>
Console>
Step 3
To disconnect from the switch CLI, enter the exit command.
Console> exit
Session Disconnected...
Cisco Systems Console Fri Aug 27 1999, 16:14:41
Enter password:
Many commands (for example, commands that modify the configuration) can be used only in privileged
mode. To enter and exit privileged command mode, follow these steps:
Step 1
From normal mode, enter the enable command. On a new switch, the privileged-mode password is null.
If you are connecting to a new switch, press Return at the Enter Password prompt. Otherwise, enter the
privileged-mode password for the switch.
Console> enable
Enter password: <privileged_mode_password>
Console> (enable)
Step 2
To exit privileged mode and return to normal mode, enter the disable command.
Console> (enable) disable
Console>
Accessing Help
Enter help or ? in normal or privileged mode to see the commands available in those modes. Command
usage, the help menu, and, when appropriate, parameter ranges are provided if you enter a command
using the wrong number of arguments or inappropriate arguments.
Additionally, appending ? to a command displays a list of valid keywords and arguments for the
command. Insert a space between the last parameter and the question mark (?). For example, eight
parameters are used by the set mls command. To see these parameters, enter set ip ? at the privileged
mode prompt. The system displays all valid keywords and arguments as follows:
Console> (enable) set ip ?
alias Set alias for IP Address
dns Set DNS information
fragmentation Set IP fragmentation enable/disable
http Set IP HTTP server information