Zhone 5100 参照マニュアル

ページ / 186
System level general commands
Vpacket 5100/6100 Series Reference Manual
                                                                                                   
13
!x and !! to execute past commands
These two shortcut commands can be used in conjunction with the history command to force the 
execution of specific commands. !! forces execution of the last action in the history list and ! 
accompanied by a command number from the history list executes the specified command. Both 
commands are valid for the current active session.
Syntax: !<x>
Argument:
x
is the number of the command as shown in the command history list
Example:
In this example, !7 forces execution of command number 7 in the history list, which in this case 
was show ip.
VPacket# !7
VPacket# show ip
ACTIVE indicates this is the current operational setting
CONFIG indicates this has been configured but not activated
-------------------------IP INTERFACE----------------------
       INTERFACE NAME      IP ADDRESS          NET MASK
ACTIVE ethernet            10.10.10.254        255.255.255.0
CONFIG wan                 205.176.94.11       255.255.255.0
CONFIG Default Gateway     10.10.10.254
ACTIVE Voice Ip Address    205.176.94.11
-----------------------------------------------------------
VPacket#