![GDI HES7000 Скачать руководство пользователя страница 23](http://html.mh-extra.com/html/gdi/hes7000/hes7000_user-manual_571709023.webp)
HES7000 ICLI User’s Guide A01583 Rev. A
Page
17
of 37
There are two exceptions to this:
While in a configuration sub-mode, access to Global Configuration mode commands is
possible as long as there is no ambiguity. Execution of a Global Configuration
command exits the sub-mode.
Exec mode commands, be that privileged or unprivileged, are accessible from within
Global Configuration or one of the sub-modes by using the
do
command.
The
do
command takes an arbitrary command line from Exec and executes it. In the
following example, the user wants to change the IP address on the VLAN 1 interface and
uses
do
to verify the current address while in the sub-mode.
Example 2.
Using ‘do’ While In a Sub-mode
myDevice#
configure terminal
myDevice(config)#
interface vlan 1
myDevice(config-if-vlan)#
do show ip interface brief
Vlan Address Method Status
---- -------------------- -------- ------
1 10.0.0.109/24 DHCP UP
myDevice(config-if-vlan)#
end
myDevice#
When in Exec,
the “do” prefix is not needed:
myDevice#
show ip interface brief
Vlan Address Method Status
---- -------------------- -------- ------
1 10.0.0.109/24 DHCP UP
myDevice#
3.6.1. ICLI Mode Transitions
The following figure illustrates the possible transitions between major modes and sub-modes,
and some of the relevant commands.
Figure 1.
ICLI Mode Transition Commands
Содержание HES7000
Страница 1: ...HES7000 ICLI USER S GUIDE A01583 Rev A ...
Страница 3: ...HES7000 ICLI User s Guide A01583 Rev A ...
Страница 4: ......