History group configuration example
Network requirements
As shown in
GigabitEthernet 2/0/1 every minute.
Figure 57 Network diagram
Configuration procedure
# Create an RMON history control entry to sample traffic statistics every minute for GigabitEthernet
2/0/1. Retain a maximum of eight samples for the interface in the history statistics table.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] rmon history 1 buckets 8 interval 60 owner user1
# Display the history statistics collected for GigabitEthernet 2/0/1.
[Sysname-GigabitEthernet2/0/1] display rmon history
HistoryControlEntry 1 owned by user1 is VALID
Sampled interface
Sampling interval
Sampling record 1 :
dropevents
packets
multicast packets : 6
undersize packets : 0
fragments
collisions
Sampling record 2 :
dropevents
packets
multicast packets : 6
undersize packets : 0
fragments
collisions
Sampling record 3 :
dropevents
packets
multicast packets : 6
undersize packets : 0
fragments
collisions
Figure
57, create an RMON history control entry on the device to sample traffic statistics for
: GigabitEthernet2/0/1<ifIndex.3>
: 60(sec) with 8 buckets max
: 0
: 8
: 0
: 0
: 0
: 10
: 0
: 0
: 0
: 8
: 0
: 0
, octets
, broadcast packets
, CRC alignment errors : 0
, oversize packets
, jabbers
, utilization
, octets
, broadcast packets
, CRC alignment errors : 0
, oversize packets
, jabbers
, utilization
, octets
, broadcast packets
, CRC alignment errors : 0
, oversize packets
, jabbers
, utilization
178
: 834
: 1
: 0
: 0
: 0
: 962
: 3
: 0
: 0
: 0
: 830
: 0
: 0
: 0
: 0