Ethernet statistics group configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S6300 Series Switches User Manual

Page 121

Advertising
background image

108

Task Command

Display RMON private alarm
entries.

display rmon prialarm [ entry-number ]

Display RMON event entries. display rmon event [ entry-number ]

Display log information for
event entries.

display rmon eventlog [ entry-number ]

Ethernet statistics group configuration example

Network requirements

Create an RMON Ethernet statistics entry on the device in

Figure 33

to gather cumulative traffic statistics

for Ten-GigabitEthernet 1/0/1.

Figure 33 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 by the RMON agent 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.)

Advertising