117
Configuring history group example
Network requirements
As shown in Figure 43, Agent is connected to a configuration terminal through its console port and to
Server through Ethernet cables.
Gather statistics on received packets on GigabitEthernet 1/0/1 every one minute through RMON history
statistics table, and the administrator can view whether data burst happens on the interface in a short
time.
Figure 43 Network diagram for RMON
Configuration procedure
# Configure RMON to periodically gather statistics for interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] rmon history 1 buckets 8 interval 60 owner user1
After the configuration, the system periodically gathers statistics on packets received on GigabitEthernet
1/0/1: the statistical interval is 1 minute, and statistics of the last 8 times are saved in the history statistics
table. To view the statistics of the interface:
• Execute the display command.
[Sysname-GigabitEthernet1/0/1] display rmon history
HistoryControlEntry 2 owned by null is VALID
Samples interface : GigabitEthernet1/0/1<ifIndex.3>
Sampled values of record 1 :
dropevents : 0 , octets : 834
packets : 8 , broadcast packets : 1
multicast packets : 6 , CRC alignment errors : 0
undersize packets : 0 , oversize packets : 0
fragments : 0 , jabbers : 0
collisions : 0 , utilization : 0
Sampled values of record 2 :
dropevents : 0 , octets : 962
packets : 10 , broadcast packets : 3
multicast packets : 6 , CRC alignment errors : 0
undersize packets : 0 , oversize packets : 0
fragments : 0 , jabbers : 0
collisions : 0 , utilization : 0