![Cisco MDS 9000 Series Скачать руководство пользователя страница 920](http://html.mh-extra.com/html/cisco/mds-9000-series/mds-9000-series_command-reference-manual_21253920.webp)
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
20-30
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 20 R Commands
rmon hcalarm
Usage Guidelines
Event number 0 is a predefined null (or no operation) event. When no event is specified by the user in
an alarm this event is automatically used by the system. The event causes no action to be taken when
triggered, however, the alarm is still reset. The event cannot be redefined by the user. It is a predefined
event and you can only create events in the range from 1 to 65535.
To configure a high-capacity RMON alarm
,
use the
CISCO-HC-ALARM-MIB.
The maximum number of RMON alarms is currently configurable through the device manager and
threshold manager GUI. A CLI command is not available to change this maximum value.
Note
We recommand setting alarm sample intervals to 30 seconds or higher to prevent excessive load on the
system.
Examples
The following example configures 64-bit alarm number 2 for ifHCInOctets (OID 1.3.6.1.2.1.31.1.1.1.6)
on interface fc 12/1. The sample interval is 30 seconds and delta samples are tested. The rising threshold
is 240,000,000,000 bytes per sample window (an average of 8,000,000,000 bytes per second); reaching
this level triggers event 4. The falling threshold is 180,000,000,000 bytes in the sample window (an
average of 6,000,000,000 bytes per second) which triggers event 0 (no action) and resets the alarm. The
owner is 'ifHCInOctets.fc12/1@test'.
switch#
config terminal
switch#(config) rmon hcalarm 2 1.3.6.1.2.1.31.1.1.1.6.22544384 30 delta
rising-threshold-high 55 rising-threshold-low 3776798720 4 falling-threshold-high 41
falling-threshold-low 3906340864 owner ifHCInOctets.fc12/1@test
Related Commands
Command
Description
rmon alarm
Configures a 32-bit RMON alarm.
rmon hcalarm
Configures a 64-bit RMON alarm.
rmon event
Configures an RMON event.
show rmon
Displays RMON configuration and logging information.
show snmp host
Displays the SNMP trap destination information.
snmp-server host
Specifies the recipient of an SNMP notification.