User Guide
794
RMON Configurations
The following example shows how to create an Event entry on the switch. Set the user
name as admin, the event type as Notify (set the switch to initiate notifications to the NMS),
and the owner as monitor:
Switch#configure
Switch(config)#rmon event
1
user
admin
description
rising-notify
type
notify
owner
monitor
Switch(config)#show rmon event
Index User Description Type Owner State
----- ---- ----------- ---- ----- -----
1 admin rising-notify Notify monitor Enable
Switch(config)#end
Switch#copy running-config startup-config
5.2.4 Configuring Alarm
Step 1
configure
Enter Global Configuration Mode.
Step 2
rmon alarm
index
stats-index
sindex [
alarm-variable
{ revbyte | revpkt | bpkt | mpkt | crc-
align | undersize | oversize | jabber | collision | 64 | 65-127 | 128-255 | 256-511 | 512-1023 |
1024-1518}] [
s-type
{absolute | delta}] [
rising-threshold
r-threshold ] [
rising-event-index
r-event ] [
falling-threshold
f-threshold ] [
falling-event-index
f-event ] [
a-type
{rise | fall |
all} ] [
owner
owner-name
] [
interval
interval ]
Configuring RMON alarm entries.
index:
Specify the index of the Alarm entry, which ranges from 1 to 12. To configure multiple
indexes, enter a list of indexes separated by commas, or use a hyphen to indicates a range
of indexes. For example, 1-3, 5 indicates 1, 2, 3, 5.
sindex:
Specify the index of the related Statistics entry, which ranges from 1 to 65535.
revbyte | revpkt | bpkt | mpkt | crc-align | undersize | oversize | jabber | collision | 64 | 65-
127 | 128-255 | 256-511 | 512-1023 | 1024-1518:
Choose an alarm variable to monitor. The
switch will monitor the specified variable in sample intervals and act in the set way when the
alarm is triggered. The default variable is revbyte.
revbyte
means total number of received bytes;
revpkt
means total number of received
packets;
bpkt
means total number of broadcast packets.
mpkt
means total number of
multicast packets;
crc-align
means packets that contain FCS Error or Alignment Error,
within a size of 64 to 1518 bytes;
undersize
means packets that are smaller than 64 bytes;
oversize
means packets that are larger than 1518 bytes;
jabber
means packets that are
sent when port collisions occur;
collision
means the collision times in the network segment;
64 | 65-127 | 128-255 | 256-511 | 512-1023 | 1024-1518
means total number of packets of
the specified size.
Downloaded from