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:
Switch(config)# boot
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
The following table describes the ISCLI command modes.
Table 3 ISCLI Command Modes
Command Mode/Prompt | Command used to enter or exit. |
User EXEC | Default mode, entered automatically |
Switch> | Exit: exit or logout |
| |
Privileged EXEC | Enter Privileged EXEC mode, from User EXEC mode: enable |
| Exit to User EXEC mode: disable |
Switch# | Quit ISCLI: exit or logout |
Global configuration | Enter Global Configuration mode, from Privileged EXEC mode: |
| configure terminal |
Switch(config)# | Exit to Privileged EXEC mode: end or exit |
Port configuration | Enter Port Configuration mode, from Global Configuration mode: |
| interface gigabitethernet <port number> |
Exit to Global Configuration mode: exit | |
| Exit to Privileged EXEC mode: end |
VLAN configuration | Enter VLAN Configuration mode, from Global Configuration mode: vlan |
| Exit to Global Configuration mode: exit |
Exit to Privileged EXEC mode: end | |
Interface IP configuration | Enter Interface IP Configuration mode, from Global Configuration mode: |
| interface ip |
Exit to Global Configuration mode: exit | |
| Exit to Privileged EXEC mode: end |
ISCLI basics 11