Alcatel Carrier Internetworking Solutions omniswitch User Manual

Page of 260
Using the CLI
CLI Services
OmniSwitch 6600 Family Switch Management Guide
March 2005
page 5-13
Prefix Prompt
You may set the CLI so that your screen prompt displays the stored prefix. To display the stored prefix as 
part of the screen prompt for the VLAN example above, enter the 
prefix
 CLI command as 
follows:
-> prompt prefix
The following will display. 
-> vlan 501
Your screen prompt will include your stored prefix until a new prompt is specified. To set the prompt back 
to the arrow (->) enter the 
 
string
 -> (prompt string arrow) syntax as follows.
-> vlan 501 prompt string ->
->
The arrow displays to indicate that your prompt has changed back to the default.
For more general information about changing the prompt, refer to 
Command History
The history command allows you to view commands you have recently issued to the switch. The switch 
has a history buffer that stores up to 30 of the most recently executed commands. 
Note. The command history feature differs from the command logging feature in that command logging 
stores up to 100 of the most recent commands to a separate command.log file. Also, the command 
logging feature includes additional information, such as full command syntax, login user name, entry date 
and time, session IP address, and entry results. For more information on command logging, refer to 
You can display the commands in a numbered list by using the 
 command. The following is 
a sample list.
-> show history
1 show cmm
2 show fan
3 show sensor
4 show temp
5 ip load dvmrp
6 show arp
7 clear arp
8 show ip config
9 ip helper max hops 5
10 ip bgp pn
11 show ip bgp
12 show history 
In the example above, the 
 command is listed last because it is the command that was 
executed most recently. 
You can recall commands shown in the history list by using the exclamation point character (
) also called 
“bang”. To recall the command shown in the history list at number 4, enter !4 (bang, 4). The CLI will