Monitoring Network Events and Status
14-12 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‐13).
Syntax
history
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐only.
Example
Thisexampleshowshowtodisplaythecontentsofthecommand historybuffer.Itshowsthereare
fivecommandsinthebuffer:
D2(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-12
show history 14-13
set history 14-13
ping 14-14
show users 14-14
disconnect 14-15