Monitoring Network Events and Status
14-14 Logging and Network Management
Monitoring Network Events and Status
Purpose
Todisplayswitcheventsandcommandhistory,tosetthesizeofthehistorybuffer,andtodisplay
anddisconnectcurrentusersessions.
Commands
history
Usethiscommandtodisplaythecontentsofthecommandhistorybuffer.Thecommandhistory
bufferincludesallthe switchcommandsentereduptoamaximumof100,asspecifiedintheset
historycommand(“sethistory”onpage 14‐15).
Syntax
history
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐only.
Example
Thisexampleshowshowtodisplaythecontentsofthecommandhistorybuffer.Itshowsthereare
fivecommandsinthebuffer:
B5(su)->history
1 hist
2 show gvrp
3 show vlan
4 show igmp
5 show ip address
For information about... Refer to page...
history 14-14
show history 14-15
set history 14-15
ping 14-16
show users 14-16
disconnect 14-17
show netstat 14-17