Foundry AR-Series Router User Guide

CLI Navigation

The Tab, Esc, and Ctrl keyboard keys may be used to:

Move backwards or forwards in the CLI

Edit entered command strings

Or accelerate the command entry process

Navigation Keys

You may use the Tab key to quickly enter each word of a command without typing its full name. For example, to enter the configure command, you may type its first two letters and then press Tab to complete the entire word. Then, you may specify an item to configure by pressing the Spacebar and then pressing Tab repeatedly until the desired sub-command appears. Repeat this sequence for each successive sub-command string until the entire command string appears.

You may also use the other keystrokes shown in during command entry. For example, to back up the cursor without deleting any characters, type Ctrl-B. To repeat the last command that you entered, type Ctrl-P. To go back several commands, type Ctrl-Prepeatedly until the desired previous command appears. Or, you may go directly back to the main CLI# prompt from anywhere in the command hierarchy by typing Ctrl-Z.

Figure 2.1

Navigation Keys

# help edit

 

 

key stroke

 

-- action

----------

 

-- ------

TAB

 

-- command completion

Esc-B

 

-- go back one word

Esc-F

 

-- forward one word

Esc-DEL

 

-- delete one word left to cursor

BackSpace

 

-- go back and delete one char

Ctrl-A

 

-- start of line

Ctrl-B / <-

-- go back one char

Ctrl-D / DEL

-- delete a char

 

 

-- go up one level if empty command

Ctrl-E

 

-- end of line

Ctrl-F / -#

-- forward one char

Ctrl-K

 

-- delete line ahead of cursor

Ctrl-L

 

-- refresh line

Ctrl-N / DN ARROW

-- next command in history

Ctrl-P / UP ARROW

-- previous command in history

Ctrl-U

 

-- delete entire line

Ctrl-W

 

-- delete one word left to cursor

#

 

 

 

 

Command Help

 

Command help is available for navigating the CLI command hierarchy and for assistance with specific commands. You may obtain help by using any of the three commands described below.

Help

Type help at the main CLI prompt to see the basic Foundry system help information. Or, type help followed by a command name to view information about that command. shows the help screen.

2 - 4

© 2004 Foundry Networks, Inc.

June 2004

Page 19
Image 19
Foundry Networks AR3202-CL, AR3201-CL, AR1204, AR1216, AR1208 manual CLI Navigation, Command Help, Navigation Keys