Force10 Networks S2410s Switch User Manual


 
48 Using the Command Line Interface
Mode-based Command Hierarchy
As introduced above, the CLI is divided into various modes. Commands in a particular mode
are not available until the operator switches to that mode, with the exception of the User Exec
mode commands. The User Exec mode commands may also be executed in the Privileged
Exec mode.
The commands available to the operator at any point in time depend upon the mode. Entering
a question mark (?) at the CLI prompt displays a list of the available commands, along with
descriptions of the commands.
The CLI provides the following modes:
User Exec Mode. When the operator logs into the CLI, the User Exec mode is the initial
mode. The User Exec mode contains a limited set of commands.
Command Prompt: hostname >
Privileged Exec Mode. To have access to the full suite of commands, you must enter the
Privileged Exec mode. The Privileged Exec mode requires password authentication. In
Privileged Exec mode, you can issue any User Exec mode command or enter the Global
Config mode.
Command Prompt: hostname #
Global Config Mode. This mode permits you to make general modifications to the running
configuration. From the Global Configuration mode, you can enter all of the
configuration-specific modes listed below.
Command Prompt: hostname (Config)#
From the Global Config mode, you may enter the following configuration modes:
Interface Config Mode. Many features are enabled for a particular interface. The Interface
commands enable or modify the operation of an interface.
Mac Access List
Config
In the Global Config mode,
enter the
mac access-list
extended
command
hostname (Mac-Access-List
Config)#
To exit to the Global Config mode, enter
the
exit command. To return to the User
Exec mode, enter Ctrl-Z.
TACACS Config In the Global Config mode,
enter the
tacacs-server
host ip-address
command.
hostname (Tacacs)# To exit to the Global Config mode, enter
the
exit command. To return to the User
Exec mode, enter Ctrl-Z.
Table 3 Command Modes
Command Mode Mode Access Method Prompt Exit or Access Previous Mode
Note: The hostname here is a placeholder for the prompt that you create using the
hostname command.
See hostname on page 57.