Statistics group, Rmon configuration – H3C Technologies H3C S3600 Series Switches User Manual
Page 864
2-3
Statistics group
Statistics group contains the statistics of each monitored port on a switch. An entry in a statistics group
is an accumulated value counting from the time when the statistics group is created.
The statistics include the number of the following items: collisions, packets with Cyclic Redundancy
Check (CRC) errors, undersize (or oversize) packets, broadcast packets, multicast packets, and
received bytes and packets.
With the RMON statistics management function, you can monitor the use of a port and make statistics
on the errors occurred when the ports are being used.
RMON Configuration
Before performing RMON configuration, make sure the SNMP agents are correctly configured. For the
information about SNMP agent configuration, refer to section
Configuring Basic SNMP Functions
Follow these steps to configure RMON:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Add an event entry
rmon event event-entry [ description
string ] { log | trap trap-community |
log-trap log-trapcommunity | none }
[ owner text ]
Optional
Add an alarm entry
rmon alarm entry-number alarm-variable
sampling-time { delta | absolute }
rising_threshold threshold-value1
event-entry1 falling_threshold
threshold-value2 event-entry2 [ owner text ]
Optional
Before adding an alarm entry,
you need to use the rmon
event command to define the
event to be referenced by the
alarm entry.
Add an extended
alarm entry
rmon prialarm entry-number
prialarm-formula prialarm-des
sampling-timer { delta | absolute |
changeratio } rising_threshold
threshold-value1 event-entry1
falling_threshold threshold-value2
event-entry2 entrytype { forever | cycle
cycle-period } [ owner text ]
Optional
Before adding an extended
alarm entry, you need to use
the rmon event command to
define the event to be
referenced by the extended
alarm entry.
Enter Ethernet port
view
interface interface-type interface-number
—
Add a history entry
rmon history entry-number buckets
number interval sampling-interval [ owner
text ]
Optional
Add a statistics
entry
rmon statistics entry-number [ owner text ]
Optional