Chapter 2 Command-Line Interface; Performing Command-Line Processing; Performing History Substitution - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Chapter 2
Command-Line Interfaces
This example shows how to open a Telnet session to the switch:
unix_host% telnet Switch_1
Trying 172.20.52.40...
Connected to 172.20.52.40.
Escape character is '^]'.
User Access Verification
Password:< >
Switch_1> enable
Password:
Switch_1#

Performing Command-Line Processing

Switch commands are not case sensitive. You can abbreviate commands and parameters if the
abbreviations contain enough letters to be different from any other currently available commands or
parameters.
You can scroll through the last 20 commands stored in the history buffer and enter or edit a command at
the prompt.
Table 2-1
Keystrokes
Press Ctrl-B or
press the Left Arrow key
Press Ctrl-F or
press the Right Arrow key
Press Ctrl-A
Press Ctrl-E
Press Esc-B
Press Esc-F
1. The Arrow keys function only on ANSI-compatible terminals, such as VT100s.

Performing History Substitution

The history buffer stores the last 20 command lines you entered. History substitution allows you to
access these command lines without retyping them.
Table 2-2
Command
Ctrl-P or the Up Arrow key
OL-6696-01
Table 2-1
lists the keyboard shortcuts for entering and editing switch commands.
Keyboard Shortcuts
Result
Moves the cursor back one character.
1
Moves the cursor forward one character.
1
Moves the cursor to the beginning of the command line.
Moves the cursor to the end of the command line.
Moves the cursor back one word.
Moves the cursor forward one word.
History Substitution Commands
1
Performing Command-Line Processing
Table 2-2
lists the history substitution commands.
Purpose
Recalls commands in the history buffer, beginning with
the most recent command. Repeat the key sequence to
recall older commands successively.
Software Configuration Guide—Release 12.2(25)EW
2-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents