Allied Telesis at-9000/24 layer 2 gigabit ethernet switch Switch User Manual


 
Chapter 30: Getting Started with the Command Line Interface
298 Section I: Basic Features
CLI Command Modes Introduction
The command line interface in the AT-S84 management software is
accessible from the Main Menu. The commands offer the same
functionality as the menus interface. For instructions on how to access the
command line interface, see “Starting the Command Line Interface” on
page 307. This chapter describes the CLI command modes and how to
access the command line interface. In addition, it provides command
formatting information.
In the AT-S84 management software, there is a hierarchy of commands
which are called command modes. There are five command modes:
User EXEC
Privileged EXEC
Global Configuration
Interface Configuration
VLAN Configuration
When you enter the CLI interface, you access the User EXEC command
mode automatically. This is the first command mode level and it allows
you access to the basic switch commands. Each command mode contains
a subset of commands that are available within that mode only. As a
result, you enter commands according to which command mode you have
accessed. For example, port-specific commands are available from the
Interface Configuration mode.
You must access the first three command modes (User EXEC, Privilege
EXEC, and Global Configuration modes) in the order that they are listed.
You can access both the Interface Configuration and VLAN Configuration
modes from the Global Configuration mode. The AT-S81 prompt changes
to indicate which mode you are accessing.
To access the Privilege EXEC, Global Configuration, Interface, and VLAN
Configuration modes, you must enter a specific command that permits
entry to a new mode. Each time you change modes, the prompt changes
to indicate the mode. See Table 8 on page 299 for information about the
commands used to access the modes and their respective prompts. In
addition, there are commands that allow you to move between the modes
and return to the Main Menu. For example, typing the EXIT command
when you are in the Interface Configuration mode returns you to the
Global Configuration mode. From all the command modes, the LOGOUT
command exits the command line interface and returns you to the Main
Menu.
If you enter a command that is not accessible in a particular command
mode, the software displays a “command not found” message. For