R3166-R3206-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101

113
History group configuration example
Network requirements
As shown in Figure 49, Agent is connected to a configuration terminal through its console port and to
Server through Ethernet cables.
Gather statistics on received packets on GigabitEthernet 0/1 every one minute through RMON history
statistics table, and thus the administrator can view whether data burst happens on the interface in a
short time.
Figure 49 Network diagram for RMON
Configuration procedure
# Configure RMON to gather statistics for interface GigabitEthernet 0/1 periodically.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] rmon history 1 buckets 8 interval 60 owner user1
After the above configuration, the system gathers statistics on packets received on GigabitEthernet 0/1
periodically: the statistical interval is 1 minute, and statistics of the last 8 times are saved in the history
statistics table. You can view the statistics in any of the following ways:
View the history statistics of the interface with the display command.
[Sysname] display rmon history
HistoryControlEntry 2 owned by null is VALID
Samples interface : GigabitEthernet0/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
Sampled values of record 3 :
dropevents : 0 , octets : 830