ECS2020 Series CLI Reference Guide-R04

39
13.2
rmon alarm
rmon alarm
<1-65535>
interface {
port-id
}{[
broadcast-pkts|collision|crc-align-errors|drop-events|fragments|jabbers
|multicast-pkts|octets|oversize-pkts|pkts|pkts1024to1518octets|pkts128to255octets|pkts256to511octets|
pkts512to1023octets|ptks64octets|pkts65to127octets|undersize-pkts]
}<
1-2147483647>{[absolute|delta]}
ring
<
0-2147483647
>
<1-65535>f
alling<
0-2147483647
>
<1-65535>
startup
{[falling|rising|rising-falling]}[owner Name]
no rmon alarm<1-65535>[owner NAME]
Null
Global configuration mode
Use the rmon alarm command to add or modify an RMON alarm entry.
Before adding an alarm entry, at least one event entry must be added.
Use the no form of this command to delete an entry.
You can verity settings by the show rmon alarm command.
The example shows how to add an RMON alarm entry that samples interface 1 packets
delta count every 300 seconds. Trigger event index 1 if over the rising threshold 10000,
trigger Event index 2 if lower than the falling threshlod.
ECS2020-10P(config)# rmon event 1 log
ECS2020-10P(config)# rmon event 2 log
ECS2020-10P(config)# rmon alarm 1 interface GigabitEthernet 0/1 pkts 300 delta
rising 1000 1 falling 100 1 startup rising-falling owner admin
ECS2020-10P# show rmon alarm 1
Rmon Alarm Index 1
Rmon Alarm Sample Interval 300
Rmon Alarm Sample Interface : gi0/1
Rmon Alarm Sample Variable : Pkts
Rmon Alarm Sample Type : delta
Rmon Alarm Type : Rising or Falling
Parameter
Description
<1-65535>
Specify event index to create or modify.
port-id
Specify the interface to sample.
(variable)
Specify a MIB object to sample.
<1-2147483647>
Specify the time in seconds that the alarm monitors the
MIB variable.
(absolute|delta)
Specify absolute to compare sample counter values.
<0-2147483647>
Specify a number which the alarm trigger rising event.
<1-65535>
Specify event index when the rising threshold exceeded.
<0-2147483647>
Specify a number which the alarm trigger falling event.
<1-65535>
Specify event index when the falling threshold exceeded.
falling|rising|rising-falling
Specify a rising or falling startup event. Or
show
either rising or falling startup event.
owner Name
Specify owner of alarm.
Default
Usage
Mode