Net Optics Director manual Using the CLI Command History Buffer

Models: Director

1 59
Download 59 pages 36.95 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 in-line 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 'running', 'factory', 'default', or file 'name'

Net Optics> list Current config file(s): test-1

test-7

Net Optics> help ping

ping ipaddr - ping 'ipaddr' Net Optics> sysip show

Current Sysip Info:

IP addr: 10.60.4.178

IP mask: 255.0.0.0

Gateway: 10.0.0.1

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

Page 25
Image 25
Net Optics Director manual Using the CLI Command History Buffer, Show name show running, factory, default, or file name