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
bufferincludesalltheswitchcommandsentereduptoamaximumof100,asspecifiedintheset
historycommand(“sethistoryonpage 1415).
Syntax
history
Parameters
None.
Defaults
None.
Mode
Switchcommand,readonly.
Example
Thisexampleshowshowtodisplaythecontentsofthecommandhistorybuffer.Itshowsthereare
fivecommandsinthebuffer:
C3(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