1-5
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands Switch CLI
In the following example, when you enter the letters conf and press the Tab key, the system provides the
complete command:
Console> (enable) conf<Tab>
Console> (enable) configure
If you enter a set of characters that could indicate more than one command, the sy stem be eps to in dica te
an error. Enter a question mark (?) to obtain a list of commands that begin with that set of characters. Do
not leave a space between the last letter and the question mark (?). For example, three commands in
privileged mode start with co. To see what they are, enter co? at the privileged prompt. The system
displays all commands that begin with co, as follows:
Console> (enable) co?
configure connect copy
Pasting in Buffer Entries
The system provides a buffer that contains the last ten items you deleted. You can recall these items and
paste them in the command line by performing this task:
The buffer contains only the last ten items you have deleted or cut. If you press Esc Y more than ten
times, you cycle back to the first buffer entry.
Editing Command Lines That Wrap
The new editing command set provides a wraparound feature for commands that extend beyon d a single
line on the screen. When the cursor reaches the right margin, the command line shifts ten spaces to the
left. You cannot see the first ten characters of the line, but you can scroll back and check the syntax at
the beginning of the command. To scroll back, perform this task:
Use line wrapping with the command history feature to recall and modify previous complex comm and
entries. See the “Using History Substitution” section on page 1-8 for information about recalling
previous command entries.
The system assumes your terminal screen is 80 columns wide. If your screen has a different width, enter
the terminal width command to tell the router the correct width of your screen.
Task Keystrokes
Recall the most recent entry in the
buffer. Press Ctrl-Y.
Recall the next buffer entry. Press Esc Y.
Task Keystrokes
Return to the beginning of a
command line to verify that you
have entered a lengthy command
correctly.
Press Ctrl-B or the left arrow key repeatedly until
you scroll back to the beginning of the command
entry, or press Ctrl-A to return directly to the
beginning of the line1.
1. The arrow keys function only on ANSI-compatible terminals such as VT100s.