Set
variable
as the MIB object that will be the target of monitoring by the RMON alarm group. Of the etherStatsEntry(.
1.3.6.1.2.1.16.1.1.1) MIB objects,
variable
can be specified only as a MIB object that has a counter type. This can be specified
in the following three formats.
• etherStatsEntry.X.Y
• (OID name under etherStatsEntry).Y
• .1.3.6.1.2.1.16.1.1.1.X.Y
For example, if specifying etherStatsPkts.1(.1.3.6.1.2.1.16.1.1.1.5.1), it can be specified in any of the following formats.
Format
Description
etherStatsEntry.X.Y
etherStatsEntry.5.1
(OID name under etherStatsEntry).Y
etherStatsPkts.1
.1.3.6.1.2.1.16.1.1.1.X.Y
.1.3.6.1.2.1.16.1.1.1.5.1
You can use a format that specifies either
rising_threshold
or
falling_threshold
, not both. In this case, the following values are
used for parameters whose setting is omitted.
• Use only
rising_threshold
•
falling_threshold
: Same value as
rising_threshold
•
falling_event_index
: Same value as
rising_event_index
•
startup
: 1 (Use only upper_threshold)
• Use only
falling_threshold
•
rising_threshold
: Same value as
falling_threshold
•
rising_event_index
: Same value as
falling_event_index
•
startup
: 2 (Use only lower_threshold)
If this command is set, it will be possible to acquire the RMON MIB's alarmTable.
If this command is executed with the "no" syntax, the setting value is deleted.
[Note]
To enable the alarm group setting of the RMON function, it is necessary to enable the system-wide RMON function in addition
to this command.
The MIB object specified in
variable
is a MIB object of the Ethernet statistical information group. If an Ethernet statistical
information group possessing the applicable index has not been created, this command returns an error.
The Ethernet statistical information group can be created by the
rmon statistics
command. If the Ethernet statistical
information group being used by this command is deleted, this command is also deleted.
The event index specifies the index that is set by the
rmon event
command. If the event group being used by this command is
deleted, this command is also deleted.
The
rising_threshold
value must be a higher value than the
falling_threshold
value.
If this command is overwritten, the previous sampling data is deleted, and sampling is once again started.
If the system-wide RMON function is disabled, sampling is interrupted. Subsequently, if the system-wide RMON function is
enabled, the previous sampling data is deleted, and sampling is once again started.
[Example]
Enable the RMON alarm group settings with the following conditions.
• The MIB object to be monitored is etherStatsPkts.1.
• The sampling interval is 180 seconds.
• The sampling type is delta.
• The upper threshold value is 3000, and the event when rising above the upper threshold value is 1.
• The lower threshold value is 2000, and the event when falling below the lower threshold value is 1.
SWR2311P(config)#rmon alarm 1 etherStatsPkts.1 interval 180 delta rising-threshold
3000 event 1 falling-threshold 2000 event 1
4.11.6 Show RMON function status
[Syntax]
show
rmon
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
62
| Command Reference | Maintenance and operation functions