Command-Line Editing - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Chapter 2
Using the Command-Line Interface
permit
redirect
route
unreachable
Console> (enable) set ip
Note
The system repeats the command that you entered without the question mark (?).
To use the partial-keyword-lookup function, enter ? to display a list of commands that begin with a
specific set of characters. Do not insert a space between the last letter of the variable and the question
mark (?). For example, enter co? at the privileged prompt to display a list of commands that start with
co. The system displays all commands that begin with co, as follows:
Console> (enable) co?
configure
copy
Console> (enable) co

Command-Line Editing

The switch CLI supports a number of command-line editing keystrokes.
that you can use when entering and editing switch commands.
Table 2-1
Keystroke
Ctrl-A
Ctrl-B or the Left Arrow key
Ctrl-C
Ctrl-D
Ctrl-E
Ctrl-F or the Right Arrow key
Ctrl-K
Ctrl-L; Ctrl-R
Ctrl-N or the Down Arrow key
Ctrl-P or the Up Arrow key
Ctrl-U; Ctrl-X
Ctrl-W
Esc B
Esc D
Esc F
Delete key or Backspace key
1. The arrow keys function only on ANSI-compatible terminals, such as VT100s.
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Set IP Permit List
Set ICMP redirect enable/disable
Set IP routing table entry
Set ICMP unreachable messages
Configure system from network
Copy files between TFTP/RCP/module/flash devices
Command-Line Editing Keystrokes
Function
Jumps to the first character of the command line.
1
Moves the cursor back one character.
Escapes and terminates prompts and lengthy tasks.
Deletes the character at the cursor.
Jumps to the end of the current command line.
1
Moves the cursor forward one character.
Deletes from the cursor to the end of the command line.
Repeats the current command line on a new line.
1
Enters the next command line from the history buffer.
1
Enters the previous command line from the history buffer.
Deletes from the cursor to the beginning of the command line.
Deletes the last word typed.
Moves the cursor backward one word.
Deletes from the cursor to the end of the word.
Moves the cursor forward one word.
Erases the characters on the command line.
Command-Line Editing
Table 2-1
lists the keystrokes
2-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents