151
Command Mode
Global Configuration Mode
Example
Configure the user name of entry 1, 2, 3 and 4 as user1, the description of the
event as description1, the type of event as log and the owner of the event as
owner1:
TL-SL2428(config)# rmon event
1-4
user
user1
description
description1
type
log
owner
owner1
rmon alarm
Description
The
rmon alarm
command is used to configure SNMP-RMON Alarm
Management. To return to the default configuration, please use
no rmon alarm
command. Alarm Group is one of the commonly used RMON Groups. RMON
alarm management allows monitoring the specific alarm variables. When the
value of a monitored variable exceeds the threshold, an alarm event is
generated, which triggers the switch to act in the set way.
Syntax
rmon alarm
index
interface
{
fastEthernet
port
| gigabitEthernet
port
}
[
alarm-variable
{ drop | revbyte | revpkt | bpkt | mpkt | crc-lign | undersize |
oversize | fragment | jabber | collision | 64 | 65-127 | 128-511 | 512-1023 |
1024-10240 }] [
s-type
{ absolute | delta} ] [
rising-threshold
r-hold
]
[
rising-event-index
r-event
] [
falling-threshold
f-hold
] [
falling-event-index
f-event
] [
a-type
{ rise | fall | all }] [
owner
owner-name
] [
interval
interval
]
no rmon alarm
index
Parameter
index
——
The index number of the Alarm Management entry, ranging from 1
to 12, in the format of 1-3,5.
port
——
The Ethernet port number.
alarm-variable
——
The alarm variable. By default, the option is “drop”.
s-type
——
Sample Type, which is the sampling method for the selected
variable and comparing the value against the thresholds. There are two options,
absolute and delta. Absolute indicates comparing the values directly with the
thresholds at the end of the sampling interval. Delta indicates subtracting the