Download Command Line Interface (CLI): MICE Switch Power (MSP)

Transcript
Using the CLI
3.1 Mode-based command hierarchy
The CLI supports, depending on the user level, the following modes:
 User Exec mode
When you login to the CLI, you first enter the User Exec mode. The User
Exec mode contains a limited range of commands.
Command prompt: MSP >
 Privileged Exec mode
To access the entire range of commands, you enter the Privileged Exec
mode. To be able to enter the Privileged Exec mode, you have to be
authenticated as a privileged user by the login. In the Privileged Exec
mode you can execute the User Exec mode commands, too.
Command prompt: MSP #
 VLAN mode
This mode contains VLAN-related commands.
Command prompt: MSP (VLAN)#
This mode contains VLAN-related commands.
Command prompt: MSP (VLAN)#
 Global Config mode
This mode allows you to perform modifications to the current
configuration. In this mode, general setup commands are grouped
together.
Command prompt: MSP (config)#
 Interface Range mode
The commands in the Interface Range mode affect a specific port, a
selected group of multiple ports or all port of the device. The commands
modify a value or switch a function on/off on one or more specific ports.
 All physical ports on the device
Command prompt: MSP ((interface) all)#
Example: When you switch from the Global Config mode to the
Interface Range mode, the command prompt changes as follows:
MSP (config)#interface all
MSP ((Interface)all)#
 A single port on one interface
Command prompt: MSP (interface <slot/port>)#
Example: When you switch from the Global Config mode to the
Interface Range mode, the command prompt changes as follows:
MSP (config)#interface 2/1
MSP (interface 2/1)#
30
CLI MSP MSP
Release 2.0 02/2013