rmon alarm

Syntax

rmon alarm indexsnmp-oidrising-thresholdfalling-threshold[sample-interval] [sample-type] no rmon alarm [index]

Description

Stores configuration entries in an alarm table that defines the sample interval, sample-type, and threshold parameters for an SNMP MIB object. Only the SNMP MIB objects that resolve to an ASN.1 primitive type of INTEGER (INTEGER, Integer32, Counter32, Counter64, Gauge32, or TimeTicks) will be monitored.

Thenoform of this command removes all RMON alarms and allows you to specify an index to remove a particular RMON alarm.

Command context

config

Parameters

index

Specifies the RMON alarm index. Range: 1 to 20.

snmp-oid

Specifies the SNMP MIB object to be monitored by RMON.

rising-threshold

Specifies the upper threshold value for the RMON alarm.

falling-threshold

Specifies the falling threshold value for the RMON alarm. The falling threshold must be less than the rising threshold.

sample-interval

Sample interval in seconds. Default: 30.

sample-type

Specifies the method of sampling of the SNMP MIB object. Default: Absolute.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Configuring RMON for the MIB objectifOutErrors.15with an index1, rising threshold of2147483647and falling threshold of-2134usingabsolutesampling for a sample interval of100seconds:

switch(config)#rmon警报指数1 snmp oid ifOutErrors。15上升,threshold 2147483647 falling-threshold -2134 sample-type absolute sample-interval 100

Removing RMON alarm with the index 5:

switch(config)#no rmon alarm index 5