116
Configuring Ethernet statistics group 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 performance statistics on received packets on GigabitEthernet 1/0/1 through RMON Ethernet
statistics table, and the administrator can view the statistics on packets received on the interface at any
time.
Figure 42 Network diagram for RMON
Configuration procedure
# Configure RMON to gather statistics for interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] rmon statistics 1 owner user1
After the configuration, the system gathers statistics on packets received on GigabitEthernet 1/0/1. To
view the statistics of the interface:
• Execute the display command.
<Sysname> display rmon statistics GigabitEthernet 1/0/1
EtherStatsEntry 1 owned by user1-rmon is VALID.
Interface : GigabitEthernet1/0/1<ifIndex.3>
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.