Chapter 1: Command line interface
Command Mode
Access Method
Prompt
Exit or Access Previous
Mode
Interface config mode
From the Global Config
mode, enter the interface
<port#> command.
Switch (interface
<port#>)#
To exit to the Global
Config mode, enter exit.
The CLI is divided into various modes. The commands in one mode are not available
until the operator switches to that particular 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 and descriptions of the
commands.
The CLI provides the following modes:
User mode
When the operator logs into the CLI, the User Mode is the initial mode. The User Mode
contains a limited set of commands. The command prompt shown at this level is:
Command Prompt: switch>
Privileged mode
To have access to the full suite of commands, the operator must enter the Privileged
Mode. The Privileged Mode requires password authentication. From Privileged Mode,
the operator can issue any Exec command to enter the Global Configuration mode. The
command prompt shown at this level is:
Command Prompt: switch#
Global config mode
This mode permits the operator to make modifications to the running configuration.
General setup commands are grouped in this mode. From the Global Configuration
mode, the operator can enter the Interface Configuration mode. The command prompt
at this level is:
Command prompt: switch(Config)#
From the Global Config mode, the operator 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. In this mode, a physical port is set up for a specific
logical connection operation. The command prompt at this level is:
Command prompt: Switch(Interface <port#>)#
NS3500-24T-4C Managed Switch Command Guide
3