beautypg.com

History group configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 125

background image

113

After the above configuration, the system gathers statistics on packets received on GigabitEthernet

3/1/1.
To view the statistics of the interface:
# Execute the display command.

display rmon statistics GigabitEthernet 3/1/1

EtherStatsEntry 1 owned by user1-rmon is VALID.

Interface : GigabitEthernet3/1/1

etherStatsOctets : 21657 , etherStatsPkts : 307

etherStatsBroadcastPkts : 56 , etherStatsMulticastPkts : 34

etherStatsUndersizePkts : 0 , etherStatsOversizePkts : 0

etherStatsFragments : 0 , etherStatsJabbers : 0

etherStatsCRCAlignErrors : 0 , etherStatsCollisions : 0

etherStatsDropEvents (insufficient resources): 0

Packets received according to length:

64 : 235 , 65-127 : 67 , 128-255 : 4

256-511: 1 , 512-1023: 0 , 1024-1518: 0

# Obtain the value of the MIB node directly by executing the SNMP Get operation on the NMS through
software. (Details not shown)

History group configuration example

Network requirements

As shown in

Figure 42

, Agent is connected to a configuration terminal through its console port and to

Server through Ethernet cables.
Gather statistics on received packets on GigabitEthernet 3/1/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 42 Network diagram

Configuration procedure

# Configure RMON to periodically gather statistics for interface GigabitEthernet 3/1/1.

system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] rmon history 1 buckets 8 interval 60 owner user1

After the above configuration, the system periodically gathers statistics on packets received on
GigabitEthernet 3/1/1: the statistical interval is 1 minute, and statistics of the last 8 times are saved in

the history statistics table.