Rmon configuration, Displaying and maintaining rmon, 3 displaying and maintaining rmon – H3C Technologies H3C WX3000 Series Unified Switches User Manual
Page 415
42-3
RMON Configuration
Before performing RMON configuration, make sure the SNMP agents are correctly configured. For the
information about SNMP agent configuration, refer to
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
z
The rmon alarm and rmon prialarm commands take effect on existing nodes only.
z
For each port, only one RMON statistics entry can be created. That is, if an RMON statistics entry is
already created for a given port, you will fail to create another statistics entry with a different index
for the same port.
Displaying and Maintaining RMON
To do…
Use the command…
Remarks
Display RMON statistics
display rmon statistics
[ interface-type
interface-number
| unit unit-number ]
Display RMON history information
display rmon history
[ interface-type
interface-number
| unit unit-number ]
Display RMON alarm information
display rmon alarm
[ entry-number ]
Display extended RMON alarm
information
display rmon prialarm
[ prialarm-entry-number ]
Available in any
view