9 history function, 9 history function -7 – Hitachi GR2000 Series User Manual

Page 69

Advertising
background image

Command operation

GR2K-GA-0015

3-7

Ver. 07-02

Figure 3-12 Examples of Command Execution with Abbreviated Entry (Abbreviated

Entry of the show ip route)

3.2.9

History Function

Using a history function, the previously entered command can be easily re-executed
or the previously entered command can be partially changed for re-execution.Figure
3-13
gives an example of the history function.

Figure 3-13 Simplification of Command Input by History Function

> sh ip ro[CR]

Total: 6 routes

Destination Next Hop Interface Metric Protocol Age

127/8 ---- localhost 0/0 Direct 4h 59m

127.0.0.1/32 127.0.0.1 localhost0/0 Direct 4h 59m

172.16.250/24 192.168.11.101 rmEthernet 0/0 Static 4h 49m

172.16.251.64/26 192.168.11.101 rmEthernet 0/0 Static 4h 49m

192.168.11/24 192.168.11.14 rmEthernet 0/0 Direct 4h 49m

192.168.11.14/32 192.168.11.14 rmEthernet 0/0 Direct 4h 49m

>

> ping 192.168.0.1 numeric count 1

PING 192.168.0.1 (192.168.0.1): 56 data bytes

64 bytes from 192.168.0.1: icmp_seq=0 ttl=31 time=1.329 ms

--- 192.168.0.1 ping statistics ---

1 packets transmitted, 1 packets received, 0% packet loss

round-trip min/avg/max = 1.329/1.329/1.329 ms

>

> ping 192.168.0.1 numeric count 1

PING 192.168.0.1 (192.168.0.1): 56 data bytes

64 bytes from 192.168.0.1: icmp_seq=0 ttl=31 time=1.225 ms

--- 192.168.0.1 ping statistics ---

1 packets transmitted, 1 packets received, 0% packet loss

round-trip min/avg/max = 1.225/1.225/1.225 ms

>

> ping 192.168.0.2 numeric count 1

PING 192.168.0.2 (192.168.0.2): 56 data bytes

--- 192.168.0.2 ping statistics ---

1 packets transmitted, 0 packets received, 100% packet loss

>

Issues a ping command to 192.168.0.1.

To call up the last entered command string, press the upward arrow

(

¦

)

key.

In this example “ping 192.168.0.1 numeric count 1” is displayed with one press of the

¦

key; then, you can execute the same command again only by pressing the return key.

Issues a ping command to 192.168.0.1.

You can call up recently entered commands by pressing

¦

key, and edit the command string

effectively with Backward arrow

¨

key and the Delete key.

In this example, (ping 192.168.0.1 numeric count 1) is displayed when you press the

¦

key one time.

Then, you can quickly modify the last part of the command string from 1 to 2 with a combination of the
backward arrow key and the Delete key.

Issues a ping command to 192.168.0.1.

Advertising