A SERVICE OF

logo

2-216
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
history—switch
history—switch
To show the contents of the command history buffer, use the history command.
history [global]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Normal.
Usage Guidelines The history buffer size is fixed at 20 commands. See the “Command-Line Interfaces” chapter for detailed
information about the command history feature.
The history command displays the commands that were entered for the current session (up to 20). The
history global command displays the last 200 commands that were entered without regard to session.
Examples In this example, the history command lists the contents of the command history buffer:
Console> history
1 help
2 history
Console> !2
history
1 help
2 history
3 history
Console>
global (Optional) Displays global command history. See the “Usage Guidelines” section for
more information.