mac
Commands for Show
568
Chapter 59 Commands for Show
59.1 clear history all-users
Command: clear history all-users
Function: Clear the command history of all users saved by the switch.
Command Mode: Admin mode
Usage Guide: Using this command can clear the command history of all users.
Example:
Switch#clear history all-users
59.2 clear logging
Command: clear logging sdram
Function: This command is used to clear all the information in the log buffer zone.
Command Mode: Admin Mode
Usage Guide: When the old information in the log buffer zone is no longer concerned, we
can use this command to clear all the information.
Example: Clear all information in the log buffer zone sdram.
Switch#clear logging sdram
Related Command: show logging buffered
59.3 history all-users max-length
Command: history all-users max-length <count>
Function: Set the max command history of all users saved by the switch.
Parameter: <count>: the command history number can be saved, ranging from 100 to
1000
Command Mode: Global mode
Usage Guide: The system can save 100 recent command history of all users at best by
default, using this command can set the max command history number.
Example:
Switch(config)#history all-users max-length 500










