Chapter 1
Command line interface
Accessing the CLI
When accessing the management interface for the switch over a direct connection to
the server’s console port or via a Telnet connection, the switch can be managed by
entering command keywords and parameters at the prompt. Using the switch's
command-line interface (CLI) is very similar to entering commands on a UNIX system.
This chapter describes how to use the Command Line Interface (CLI).
Command line modes
The CLI groups all the commands in appropriate modes according to the nature of the
command. A sample of the CLI command modes are described below. Each of the
command modes supports specific software commands.
Mode-based command hierarchy
The Command Line Interface (CLI) groups all the commands in appropriate modes by
the nature of the commands. Examples of the CLI command modes are described
below. Each of the command modes supports specific switch commands.
The CLI Command Modes table captures the command modes, the prompts visible in
that mode, and the exit method from that mode.
Command Mode
Access Method
Prompt
Exit or Access Previous
Mode
User mode
This is the first level of
access. Perform basic
tasks and list system
information.
COMMAND>
Enter Logout command
Priveleged mode
From the User Mode, enter
the enable command.
Switch#
To exit to the User Mode,
enter exit or Logout.
Global config mode
From the Privileged Mode,
enter the configuration
command.
Switch (Config)#
To exit to the Privileged
Mode, enter the exit
command.
2
NS3500-24T-4C Managed Switch Command Guide