NEC N8406-022 manual ISCLI basics, Accessing the ISCLI, ISCLI Command Modes, Introduction

Models: N8406-022

1 102
Download 102 pages 22.4 Kb
Page 11
Image 11
ISCLI basics

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 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

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>

Switch(config-if)#

Exit to Global Configuration mode: exit

 

Exit to Privileged EXEC mode: end

VLAN configuration

Enter VLAN Configuration mode, from Global Configuration mode: vlan <1-4095>

 

Exit to Global Configuration mode: exit

Switch(config-vlan)#

Exit to Privileged EXEC mode: end

Interface IP configuration

Enter Interface IP Configuration mode, from Global Configuration mode:

 

interface ip <1-256>

Switch(config-ip-if)#

Exit to Global Configuration mode: exit

 

Exit to Privileged EXEC mode: end

ISCLI basics 11

Page 11
Image 11
NEC N8406-022 manual ISCLI basics, Accessing the ISCLI, ISCLI Command Modes, Introduction