Net Optics none manual Using the CLI Command History Buffer, Current config file

Models: none

1 57
Download 57 pages 1.45 Kb
Page 25
Image 25

Director

Using the CLI Command History Buffer

You can save a lot of typing by using the command history buffer maintained by the CLI. The up- and down-arrow keys scroll forward and backward through the history buffer. To execute a command again, simply scroll to that com- mand and press enter. Alternately, you can scroll to a command and then edit it inline before executing it. You can see a history of all the buffered commands by entering the history command. Any command in the history buffer can be accessed directly by entering ![#] where [#] is the number of the command in the buffer. Operation of the command history buffer is illustrated in the following example.

Net Optics> show

 

 

show name - show all files 'name'

Net Optics> list

 

 

current config file:

 

 

lannie_090208

 

 

Net Optics> help ping

 

ping ipaddr - ping 'ipaddr'

Net Optics> sysip show

 

Network Interface Info:

 

Ipaddr:

10.60.4.180

Gateway: 10.0.0.1

NetMask:

255.0.0.0

Net Optics> history

 

1: show

 

 

2: list

3: help ping

4: sysip show Net Optics> !3

Net Optics> help ping

ping ipaddr - ping 'ipaddr' Net Optics>

Figure 17: CLI command history buffer

21

*** Confidential - DO NOT Distribute ***

Page 25
Image 25
Net Optics none manual Using the CLI Command History Buffer, Current config file