Command Manual – SNMP-RMON
H3C S7500E Series Ethernet Switches
Chapter 2 RMON Configuration Commands
2-16
intervals of 10 seconds to get the percentage of broadcasts received on Ethernet 2/0/1
in the total packets. When this ratio reaches or is bigger than the rising threshold of 50,
trigger event 1; when this ratio reaches or drops under the falling threshold, trigger
event 2. Set the lifetime of the entry to forever and owner to
user 1
.
<Sysname> system-view
[Sysname] rmon event 1 log
[Sysname] rmon event 2 none
[Sysname] interface Ethernet 2/0/1
[Sysname-Ethernet 2/0/1] rmon statistics 1
[Sysname-Ethernet 2/0/1] quit
[Sysname] rmon prialarm 5 ((.1.3.6.1.2.1.16.1.1.1.4.1)*100) Test 10 absolute
rising-threshold 50 1 falling-threshold 5 2 entrytype forever owner user1
# Remove private alarm entry 10.
<Sysname> system-view
[Sysname] undo rmon prialarm 10
2.1.11 rmon statistics
Syntax
rmon statistics
entry
-
number
[
owner
text
]
undo rmon statistics
entry
-
number
View
Ethernet port view
Parameters
entry
-
number
: Index of statistics entry, in the range 1 to 65535.
owner text
: Owner of the entry, a string of 1 to 127 characters. It is case sensitive and
space is supported.
Description
Use the
rmon statistics
command to create an entry in the RMON statistics table.
Use the
undo rmon statistics
command to remove a specified entry from the RMON
statistics table.
The RMON statistics group collects information on how a monitored port is being used
and records errors. Statistics include number of collisions, CRC alignment errors,
number of undersize or oversize packets, number of broadcasts, number of multicasts,
number of bytes received, number of packets received.