Command Reference Guide

Error! Use the Home tab to apply 見出し 1 to the text that you want to appear here. 13
ISCLI basics
Introduction
The ISCLI is used for viewing switch information and statistics. In addition, the administrator can use the CLI
for performing all levels of switch configuration.
This chapter describes the ISCLI Command Modes, and provides a list of commands and shortcuts that
are commonly available from all the command modes within the ISCLI.
Accessing the ISCLI
The first time you start this switch, it boots into the AOS CLI. To access the ISCLI, enter the following
command and reset the switch:
Main# boot/mode iscli
To access the AOS CLI, enter the following command from the ISCLI and reload the switch:
Router(config)# boot cli-mode aos
The switch retains your CLI selection, even when you reset the configuration to factory defaults. The CLI
boot mode is not part of the configuration settings.
ISCLI Command Modes
The ISCLI has three major command modes, listed in order of increasing privileges, as follows:
User EXEC mode: This is the initial mode of access. By default, password checking is disabled for this
mode.
Privileged EXEC mode: The mode is accessed from User EXEC mode. If the Privileged EXEC password is
enabled, you must enter a password to access Privileged EXEC mode.
Global Configuration mode: This mode allows you to make changes to the running configuration of the
switch. If you save the configuration, the settings survive a reload of the switch. Several submodes are
available within the Global Configuration mode (the following table for more information. )
Each command mode provides a specific set of commands. The command set of each higher-privilege
mode is a superset of the lower-privilege mode(s). All commands available in lower-lower-privilege
modes are available in the higher-privilege modes.
The following table describes the ISCLI command modes.
Table 3 ISCLI Command Modes
Command Mode/Prompt
Command used to enter or exit.
User EXEC
Router>
Default mode, entered automatically
Exit: exit or logout
Privileged EXEC
Router#
Enter Privileged EXEC mode, from User EXEC mode: enable
Exit to User EXEC mode: disable
Quit ISCLI: exit or logout
Global configuration
Router(config)#
Enter Global Configuration mode, from Privileged EXEC mode:
configure terminal
Exit to Privileged EXEC mode: end or exit
Port configuration
Router(config-if)#
Enter Port Configuration mode, from Global Configuration mode:
interface port <port number>
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end
VLAN configuration
Router(config-vlan)#
Enter VLAN Configuration mode, from Global Configuration mode: vlan <1-
4095>
Exit to Global Configuration mode: exit
Exit to Privileged EXEC mode: end