Monitoring Switch Traffic 403Viewing StatisticsUse the following commands in Privileged EXEC mode to view statisticsabout the traffic handled by the switch.rmon collection historyindex [ownerownername] [bucketsbucket-number][intervalseconds]Enable an RMON MIB history statistics group on theinterface.NOTE: You must configure RMON alarms and events beforeRMON collection history is able to display.•index — The requested statistics index group. (Range:1–65535)•ownername — Records the RMON statistics group ownername. If unspecified, the name is an empty string.•bucket-number — A value associated with the number ofbuckets specified for the RMON collection history groupof statistics. If unspecified, defaults to 50.(Range: 1 - 65535)•seconds — The number of seconds in each polling cycle.If unspecified, defaults to 1800. (Range: 1–3600)CTRL + Z Exit to Privileged EXEC mode.show rmon {alarms|collection history |events | history | log |statistics}View information collected by the RMON probe.Command Purposeshow interfaces counters[if_type if_number |port-channelinterface]Display the number of octets and packets handled by allinterfaces or the specified interface.show statistics{switchport |interface}Display detailed statistics for a specific port or LAG, or forthe entire switch. Theinterface variable includes theinterface type and number.show gvrp statisticsinterfaceDisplays GVRP statistics for the specified port or LAG.Command Purpose