RMON configuration examples

Last Updated : Nov 06, 2012 |

The following example creates an RMON alarm entry:

Gxxx-001(super)# rmon alarm 1 1.3.6.1.2.1.16.1.1.1.5.16777216 20 delta 
rising-threshold 10000 32 falling-threshold 1000 32 risingOrFalling root
alarm 1 was created successfully

The following example creates an RMON event entry:

Gxxx-001(super)# rmon event 32 log description Change of device
 owner root
event 32 was created successfully

The following example creates an RMON history entry with an index of 80 on port 10/3, recording activity over 60 intervals (buckets) of 20 seconds each.

Gxxx-001(super)# rmon history 80 10/3 interval 20 buckets 60 owner root
history index 80 was created successfully

The following example displays information about an RMON alarm entry:

Gxxx-001(super)# show rmon alarm 1
alarm
alarm 1 is active, owned by root
Monitors ifEntry.1.16777216 every 20 seconds
Taking delta samples, last value was 0
Rising threshold is 10000, assigned to event # 32
Falling threshold is 1000, assigned to event # 32
On startup enable rising or_falling alarms

The following example displays information about an RMON event entry:

Gxxx-001(super)# show rmon event 32
event
Event 32 is active, owned by root
Description is Change of device
Event firing causes log,last fired 12:36:04

The following example displays information about an RMON history entry:

Gxxx-001(super)# show rmon history 80
history
Entry 80 is active, owned by root
Monitors the port 10/3 every 20 seconds
Requested # of time intervals, ie buckets, is 60
Granted # of time intervals, ie buckets, is 60
Sample # 2 began measuring at 0:21:16
Received 4081 octets, 41 packets,
0 broadcast and 10 multicast packets,
0 undersize and 0 oversize packets,
0 fragments and 0 jabbers,
0 CRC alignment errors and 0 collisions,
# of dropped packet events (due to a lack of resources): 0
Network utilization is estimated at 0

The following example displays RMON statistics for a port:

Gxxx-001(super)# show rmon statistics 10/3
Statistics for port 10/3 is active, owned by Monitor
Received 6952909 octets, 78136 packets,
26 broadcast and 257 multicast packets,
0 undersize and 0 oversize packets,
0 fragments and 0 jabbers,
0 CRC alignment errors and 0 collisions,
# of dropped packet events (due to a lack of resources): 0
# of packets received of length (in octets):
64:18965, 65-127:295657, 128-255:4033,
256-511:137, 512-1023:156, 1024-1518:0,