CLI Shortcut Keys

The device's CLI supports the following shortcut keys to facilitate configuration.

CLI Shortcut Keys

Shortcut Key

Description

¯­

(Up and down arrow keys) Retypes the previously entered command (stored in the command history buffer). Continuing to press the key cycles through all commands entered, starting with the most recent command.

Tab

Pressing the key after entering a partial, but unique command automatically completes the command name.

?

(Question mark) Can be used for the following:

To display commands pertaining to the command set, for example:
(config-network)# ?
access-list Network access list
dhcp-server      DHCP server configuration
dns                  DNS configuration
...
To display commands beginning with certain letters. Enter the letter followed by the "?" mark (no space), for example:
(config-network)# d?
dhcp-server       DHCP server configuration
dns                   DNS configuration
To display a description of a command. Enter the command followed by the "?" mark (no space), for example:
(config-network)#dns srv2ip?
srv2ip       SRV to IP internal table
To display all subcommands for the current command. Enter the command, a space, and then the "?" mark, for example:
(config-network)# dns srv2ip ?
[0-9]                            index

If one of the listed items after running the "?" mark is "<cr>", a carriage return (Enter) can be entered to run the command, for example:

show active-alarms ?
<cr>
Ctrl + A

Moves the cursor to the beginning of the command line.

Ctrl + E

Moves the cursor to the end of the command line.

Ctrl + U

Deletes all characters on the command line.

Space Bar

When pressed after "--MORE--" that appears at the end of a displayed list, the next items are displayed.