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 enables a Simple Network Management Protocol (SNMP) agent in the device to proactively monitor traffic statistics over a given period and send traps to an SNMP manager. The local SNMP agent compares actual, real-time counters against predefined thresholds and generates alarms, without the need for polling by a central SNMP management platform. This is an effective mechanism for proactive management, provided that you have set the correct thresholds relative to the base line of your network.
Note: To know how to configure SNMP trap settings through the web-based utility of your switch, click here. For Command Line Interface (CLI)-based instructions, click here.
You can create an RMON history entry for an interface to gather information about network traffic within that interface. This will allow you to store periodic statistical samples for later retrieval and analysis which can be helpful in managing the performance of the switch and specific interfaces.
This article provides instructions on how to configure RMON history control settings on your switch through the CLI.
Note: To learn how to configure the RMON history control settings through the web-based utility of your switch, click here.
The RMON feature enables monitoring statistics per interface. RMON history defines the sampling frequency, amount of samples to store, and the port from which to gather the data. Follow the steps below to configure RMON history entries on your switch through the CLI.
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 SG350X 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 Interface Mode by entering the interface that you want to configure.
Note: In this example, the interface used is ge1/0/1.
Step 4. To enable RMON Management Information Base (MIB) collecting history statistics in groups on an interface, enter the following:
The options are:
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 5. (Optional) To remove an alarm on a specific interface, enter the following:
Step 6. Enter the end command to go back to the Privileged EXEC mode of the switch.
Step 7. (Optional) In the Privileged EXEC mode of the switch, save the configured settings to the startup configuration file, by entering the following:
Step 8. (Optional) Press Y for Yes or N for No on your keyboard once the Overwrite file [startup-config]… prompt appears.
You should now have successfully configured the RMON collection stats settings on your switch through the CLI.
Step 1. In the Privileged EXEC mode of the switch, enter the Global Configuration context by entering the following:
Step 2. To configure the maximum size of RMON history tables, enter the following:
The options are:
Note: In this example, the history table size is set to 500 entries.
Step 3. (Optional) To return the table size to the default size, enter the following:
Step 4. Enter the exit command to go back to the Privileged EXEC mode of the switch.
Note: The configured RMON table size settings will take effect after the switch is rebooted. To learn how to manually reload or reset your switch through the CLI, click here.
You should now have successfully configured the RMON table size on your switch through the CLI.
After the data is sampled and stored, it appears in the RMON collection stats table.
Step 1. In the Privileged EXEC mode of the switch, enter the following to display the requested RMON history group statistics on your switch:
The RMON collection stats table displays the following information:
Note: In this example, the RMON collection stats table displays four history indexes which are configured in three interfaces.
Step 2. To display the RMON history configuration on a specific index on your switch, enter the following:
The options are:
Note: In this example, the throughput for history index 1 is used over the period of 3200 seconds.
The RMON history table displays the following information for the chosen RMON history entry:
Throughput:
Note: In this example, history index 2 throughput is displayed.
Errors:
Note: In this example, data for history index 3 errors is displayed.
Other:
Note: In this example, other data for history index 4 is displayed.
You should now have viewed the configured RMON history control settings on your switch through the CLI.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
13-Dec-2018 |
Initial Release |