Command-Line Editing - Cisco WS-C2950SX-48-SI Configuration Manual

Catalyst 4500 series switches
Hide thumbs Also See for WS-C2950SX-48-SI:
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 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
Note
The system repeats the command you entered without the question mark (?).

Command-Line Editing

The switch CLI supports a number of command-line editing keystrokes.
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.
78-15486-01
Command-Line Editing Keystrokes
1
1
1
1
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
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
Function
Jumps to the first character of the command line.
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.
Moves the cursor forward one character.
Deletes from the cursor to the end of the command line.
Repeats current command line on a new line.
Enters next command line from the history buffer.
Enters previous command line from the history buffer.
Deletes from the cursor to the beginning of the command line.
Deletes 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 characters on the command line.
Command-Line Editing
Table 2-1
lists the keystrokes
Release 8.1
2-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents