Cli Command Modes - Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

CLI Command Modes

CLI Command Modes
This section describes the CLI command mode structure. Command modes support specific Cisco IOS
commands. For example, the interface type_number command works only when entered in global
configuration mode. These are the main command modes:
Table 1-1
to exit that mode. The prompts listed assume the default name Switch.
Table 1-1
Command Modes Summary
Command Mode
Access Method
User EXEC
This is the first level of access.
(For the switch) Change terminal
settings, perform basic tasks, and
list system information.
Privileged EXEC
From user EXEC mode, enter the
enable command.
Global
From privileged EXEC mode,
configuration
enter the configure command.
Interface
From global configuration mode,
configuration
specify an interface by entering
the interface command.
Config-vlan
In global configuration mode,
enter the vlan vlan-id command.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
1-2
User EXEC
Privileged EXEC
Global configuration
Interface configuration
Config-vlan
VLAN configuration
Line configuration
lists the command modes, how to access each mode, the prompt you see in that mode, and how
Prompt
Switch>
Switch#
Switch(config)#
Switch(config-if)#
Switch(config-vlan)#
Chapter 1
Using the Command-Line Interface
Exit or Access Next Mode
Enter the logout command.
To enter privileged EXEC mode, enter
the enable command.
To exit to user EXEC mode, enter the
disable command.
To enter global configuration mode,
enter the configure command.
To exit to privileged EXEC mode,
enter the exit or end command, or press
Ctrl-Z.
To enter interface configuration mode,
enter the interface command.
To exit to privileged EXEC mode,
enter the end command, or press
Ctrl-Z.
To exit to global configuration mode,
enter the exit command.
To enter subinterface configuration
mode, specify a subinterface with the
interface command.
To exit to global configuration mode,
enter the exit command.
To return to privileged EXEC mode,
enter the end command, or press
Ctrl-Z.
OL-10102-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents