Ethernet statistics group configuration example

Network requirements

As shown in Figure 50, create an RMON Ethernet statistics entry on the device to gather cumulative traffic statistics for Ten-GigabitEthernet 1/0/1.

Figure 50: Network diagram

Configuration procedure

# Create an RMON Ethernet statistics entry for Ten-GigabitEthernet 1/0/1.

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] rmon statistics 1 owner user1

# Display statistics collected for Ten-GigabitEthernet 1/0/1.

<Sysname> display rmon statistics ten-gigabitethernet 1/0/1
EtherStatsEntry 1 owned by user1 is VALID.
  Interface : Ten-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
  Incoming packets by size:
  64     : 235       ,  65-127  : 67        ,  128-255  : 4
  256-511: 1         ,  512-1023: 0         ,  1024-1518: 0

# Get the traffic statistics from the NMS through SNMP. (Details not shown.)