HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem ISCLI Referenc - Page 13

ISCLI basics, Introduction, Accessing the ISCLI, ISCLI Command Modes - reset to factory

Page 13 highlights

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 the GbE2c, it boots into the AOS CLI. To access the ISCLI, enter the following command and reset the GbE2c: Main# boot/mode iscli To access the AOS CLI, enter the following command from the ISCLI and reload the GbE2c: Switch(config)# boot cli-mode aos The GbE2c 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 GbE2c. 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 User EXEC Switch> Privileged EXEC Switch# Global configuration Switch(config)# Port configuration Switch(config-if)# VLAN configuration Switch(config-vlan)# Command used to enter or exit. Default mode, entered automatically Exit: exit or logout Enter Privileged EXEC mode, from User EXEC mode: enable Exit to User EXEC mode: disable Quit ISCLI: exit or logout Enter Global Configuration mode, from Privileged EXEC mode: configure terminal Exit to Privileged EXEC mode: end or exit Enter Port Configuration mode, from Global Configuration mode: interface port Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end Enter VLAN Configuration mode, from Global Configuration mode: vlan Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end ISCLI basics 13

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153

ISCLI basics 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 the GbE2c, it boots into the AOS CLI. To access the ISCLI, enter the following command and
reset the GbE2c:
Main# boot/mode iscli
To access the AOS CLI, enter the following command from the ISCLI and reload the GbE2c:
Switch(config)# boot cli-mode aos
The GbE2c 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 GbE2c. 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
Switch>
Default mode, entered automatically
Exit:
exit
or
logout
Privileged EXEC
Switch#
Enter Privileged EXEC mode, from User EXEC mode:
enable
Exit to User EXEC mode:
disable
Quit ISCLI:
exit
or
logout
Global configuration
Switch(config)#
Enter Global Configuration mode, from Privileged EXEC mode:
configure terminal
Exit to Privileged EXEC mode:
end
or
exit
Port configuration
Switch(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
Switch(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