Remote Network Monitoring (RMON) was developed by the Internet Engineering Task Force (IETF) to support monitoring and protocol analysis of Local Area Networks (LANs). It is a standard monitoring specification which enables different network monitors and console systems to exchange their network-monitoring data with each other. RMON allows you to choose among the network-monitoring probes and consoles with features that meet your particular networking needs. RMON specifically defines the information that any network monitoring system should be able to provide. Statistics, events, history, alarms, hosts, hosts top N, matrix, filter, capture, and token ring are the ten groups in RMON.
RMON alarms provide a mechanism for setting thresholds and sampling intervals to generate exception events on counters or any other Simple Network Management Protocol (SNMP) object counter maintained by the agent. Both the rising and falling thresholds must be configured in the alarm. After a rising threshold is crossed, no rising events are generated until the companion falling threshold is crossed. After a falling alarm is issued, the next alarm is issued when a rising threshold is crossed.
Note: To know how to configure SNMP trap settings on your switch, click here for instructions. For Command Line Interface (CLI)-based instructions, click here.
This article provides instructions on how to configure RMON alarms on your switch.
Note: To learn how to configure the RMON alarms through the web-based utility of your switch, click here.
One or more alarms are bound to an event, which indicates the action to be taken when the alarm occurs. Before you configure the RMON alarms on your switch, make sure the RMON event control settings have been configured. To learn how, click here. For Command Line Interface (CLI)-based instructions, click here.
Follow these steps to configure RMON alarms on your switch.
Step 1. Log in to the switch console. The default username and password is cisco/cisco. If you have configured a new username or password, enter the credentials instead.
Note: In this example, the switch is accessed through Telnet.
Step 2. In the Privileged EXEC mode of the switch, enter the Global Configuration context by entering the following:
Step 3. Enter the rmon alarm command to configure a new event by entering the following:
The options are:
- absolute — Specifies that the selected variable value is compared directly with the thresholds at the end of the sampling interval. This is the default method type.
- delta — Specifies that the selected variable value of the last sample is subtracted from the current value, and the difference is compared with the thresholds.
- rising — Specifies that if the first sample (after this entry becomes valid) is greater than or equal to rising-threshold, a single rising alarm is generated.
- rising-falling — Specifies that if the first sample (after this entry becomes valid) is greater than or equal to rising-threshold, a single rising alarm is generated. If the first sample (after this entry becomes valid) is less than or equal to falling-threshold, a single falling alarm is generated. This is the default startup direction.
- falling — Specifies that if the first sample (after this entry becomes valid) is less than or equal to falling-threshold, a single falling alarm is generated.
Note: In this example, the alarm index is 1 with a D-Link MIB object ID. The sampling interval is 60000 hours with 1000 rising threshold value, 100000 falling threshold value, rising threshold event index is 10, and the falling threshold event index is 20. The method type is absolute with rising-falling alarm, which are the default settings.
Step 4. (Optional) To remove an alarm, enter the following:
Step 5. Enter the exit command to go back to the Privileged EXEC mode of the switch.
Step 6. (Optional) In the Privileged EXEC mode of the switch, save the configured settings to the startup configuration file, by entering the following:
Step 7. (Optional) Press Y for Yes or N for No on your keyboard once the Overwrite file [startup-config]… prompt appears.
Note: In this example, Y is pressed.
You should now have successfully configured the RMON alarm settings on your switch through the CLI.
Step 1. In the Privileged EXEC mode of the switch, enter the following to display the configured rmon alarm table on your switch:
Step 2. To display the RMON alarm configuration on a specific index on your switch, enter the following:
This table displays the following fields:
Note: In this example, RMON alarm 1 is used.
You should now have viewed the configured RMON alarms on your switch through the CLI.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
13-Dec-2018 |
Initial Release |