3Com 4500 Switch User Manual


 
2-5
[Sysname-Ethernet1/0/1] quit
# Add the event entries numbered 1 and 2 to the event table, which will be triggered by the following
extended alarm.
[Sysname] rmon event 1 log
[Sysname] rmon event 2 trap 10.21.30.55
# Add an entry numbered 2 to the extended alarm table to allow the system to calculate the alarm
variables with the (.1.3.6.1.2.1.16.1.1.1.9.1+.1.3.6.1.2.1.16.1.1.1.10.1) formula to get the numbers of all
the oversize and undersize packets received by Ethernet 1/0/1 that are in correct data format and
sample it in every 10 seconds. When the change ratio between samples reaches the rising threshold of
50, event 1 is triggered; when the change ratio drops under the falling threshold, event 2 is triggered.
[Sysname] rmon prialarm 2 (.1.3.6.1.2.1.16.1.1.1.9.1+.1.3.6.1.2.1.16.1.1.1.10.1) test 10
changeratio rising_threshold 50 1 falling_threshold 5 2 entrytype forever owner user1
# Display the RMON extended alarm entry numbered 2.
[Sysname] display rmon prialarm 2
Prialarm table 2 owned by user1 is VALID.
Samples type : changeratio
Variable formula : (.1.3.6.1.2.1.16.1.1.1.9.1+.1.3.6.1.2.1.16.1.1.1.10.1)
Description : test
Sampling interval : 10(sec)
Rising threshold : 100(linked with event 1)
Falling threshold : 10(linked with event 2)
When startup enables : risingOrFallingAlarm
This entry will exist : forever.
Latest value : 0