Chapter 1 Command Line Interface; Accessing The Cli; Command Line Modes - Planet Networking & Communication GS-2240-48T4X Command Manual

Gigabit ethernet l2 web smart switch with 10gbe uplink
Table of Contents

Advertisement

Chapter 1 COMMAND LINE INTERFACE

1.1 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).

1.2 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 is 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's 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
User Mode
Privileged Mode
Global Config
Mode
Interface Config
Mode
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 will display a list of the available commands and descriptions of the commands.
Access Method
This is the first level of
access. Perform basic tasks
and list system information.
From the User Mode, enter
the enable command.
From the Privileged Mode,
enter the configuration
command.
From the Global Config
mode, enter the interface
<port#> command.
Table 1-1 CLI Command Modes
Prompt
COMMAND>
Switch#
Switch (Config)#
Switch (Interface <port#>)#
-8-
Command Guide
Exit or Access Previous Mode
Enter Logout command
To exit to the User Mode, enter
exit or logout.
To exit to the Privileged Mode,
enter the exit command.
To exit to the Global Config
mode, enter exit.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gs-2240-24t4x

Table of Contents