history
18-2 Network Management
history
Use this command to display the contents of the command history buffer. The command history
buffer includes all the switch commands entered up to a maximum of 100, as specified in the set
history command (āset historyā on page 18-3).
Syntax
history
Parameters
None.
Defaults
None.
Mode
Switch command, read-only.
Example
This example shows how to display the contents of the command history buffer. It shows there are
five commands in the buffer:
C3(su)->history
1 hist
2 show gvrp
3 show vlan
4 show igmp
5 show ip address
show history
Use this command to display the size (in lines) of the history buffer.
Syntax
show history
Parameters
None.
Defaults
None.
Mode
Switch command, read-only.
Example
This example shows how to display the size of the history buffer:
C3(su)->show history
History buffer size: 20