2-14
[Sysname-Ethernet1/0/1] rmon statistics 1
[Sysname-Ethernet1/0/1] quit
[Sysname] rmon prialarm 2 ((.1.3.6.1.2.1.16.1.1.1.4.1)*100) test 10 changeratio
rising_threshold 50 1 falling_threshold 5 2 entrytype forever owner user1
# Remove the extended alarm entry numbered 2 from the extended alarm table.
[Sysname] undo rmon prialarm 2
rmon statistics
Syntax
rmon statistics entry-number [ owner text ]
undo rmon statistics entry-number
View
Ethernet port view
Parameters
entry-number: Statistics entry Index, in the range 1 to 65535.
owner text: Specifies the owner of the entry, a string of 1 to 127 characters.
Description
Use the rmon statistics command to add an entry to the statistics table. If you do not specify the owner
text keyword/argument combination, the owner of the entry is displayed as “null”.
Use the undo rmon statistics command to remove an entry from the statistics table.
The RMON statistics management function is used to take statistics of the usage of the monitored ports
and errors occurred on them. The statistics includes the number of the following items:
z Collisions
z Packets with CRC errors
z Undersize/Oversize packets
z Broadcast/Multicast packets
z Received packets
z Received bytes
For each port, only one RMON statistics entry can be created. That is, if an RMON statistics entry was
already created for a given port, you will fail to create a statistics entry with a different index for the port.
You can use the display rmon statistics command to display the information about the statistics entry.
Examples
# Add the statistics entry numbered 20 to take statistics of Ethernet 1/0/1.
<Sysname> system-view