Note:
The rmon alarm and rmon prialarm commands take effect on existing nodes only.
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.
2.3 Displaying RMON
To do...
Display RMON statistics
Display RMON history information
Display RMON alarm information
Display extended RMON alarm
information
Display RMON events
Display RMON event logs
2.4 RMON Configuration Example
1. Network requirements
The switch to be tested is connected to a remote NMS through the Internet. Ensure that the
SNMP agents are correctly configured before performing RMON configuration.
Create an entry in the extended alarm table to monitor the information of statistics on the
Ethernet port, if the change rate of which exceeds the set threshold, the alarm events will be
triggered.
2. Network diagram
图2-1 Network diagram for RMON configuration
3. Configuration procedures
# Add the statistics entry numbered 1 to take statistics on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] rmon statistics 1
[Sysname-GigabitEthernet1/0/1] quit
Use the command...
display rmon statistics [ interface-type
interface-number | unit unit-number ]
display rmon history [ interface-type
interface-number | unit unit-number ]
display rmon alarm [ entry-number ]
display rmon prialarm [ prialarm-entry-number ]
display rmon event [ event-entry ]
display rmon eventlog [ event-entry ]
2-4
Remarks
Available in any
view.