Cisco 15327 User Manual

Page 361

Advertising
background image

21-17

Ethernet Card Software Feature and Configuration Guide, R7.2

Chapter 21 Configuring RMON

Configuring an SNMP Trap for the CRC Error Threshold Using Cisco IOS

Below is an example of configuring an SNMP trap for the CRC error threshold.

ML_Series # configure terminal

ML_Series(config)# rmon event 10 log trap slot15 owner config

ML_Series(config)# rmon alarm 9 ifInErrors.983043 300 delta rising-threshold 1000 10

falling-threshold 1000 10 owner config

ML_Series(config)# end

ML_Series # show running-config

ML_Series # copy running-config startup-config

The ifIndex number of an ML-Series card interface in decimal form used for the rmon alarm command
in the example is ifInErrors.983043. This variable is the MIB object to monitor combined with the
ifIndex number of an ML-Series card interface. For information on determining the ifIndex number for
an ML-Series card, see

“Determining the ifIndex Number for an ML-Series Card” section on

page 21-18

.

Below is an example of a rising-threshold trap generated by 1002 ifInErrors crossing a threshold of 1000
in a 5-minute period.

Step 3

rmon alarm number ifInErrors.ifIndex-number interval
{absolute | delta} rising-threshold value [event-number]

falling-threshold value [event-number]

[owner string]

Set an alarm on the MIB object.

For number, specify the alarm number. The
range is 1 to 65535.

The ifIndex-number variable is the ifIndex
number of an ML-Series card interface in
decimal form. (For information about
determining this number, see

“Determining the

ifIndex Number for an ML-Series Card” section
on page 21-18

.)

For interval, specify the time in seconds the
alarm monitors the MIB variable. The range is
1 to 4294967295 seconds.

Specify the absolute keyword to test each MIB
variable directly. Specify the delta keyword to
test the change between samples of a MIB
variable.

For value, specify a number at which the alarm
is triggered and a number at which the alarm is
reset. The range for the rising threshold and
falling threshold values is –2147483648 to
2147483647.

(Optional) For event-number, specify the event
number to trigger when the rising or falling
threshold exceeds its limit.

(Optional) For owner string, specify the owner
of the alarm.

Step 4

end

Return to privileged EXEC mode.

Step 5

show running-config

Verify your entries.

Step 6

copy running-config startup-config

(Optional) Save your entries in the configuration
file.

Command

Purpose

Advertising