Table Of Contents
Related Features and Technologies
Supported Standards, MIBs, and RFCs
Enabling an RMON History Group of Statistics
Enabling an RMON Host Collection Group of Statistics
Command PurposeRouter(config)# rmon collection host {controlEntry integer} [owner ownername]Enables an RMON host collection group of statistics on an interface.
Enabling an RMON Matrix Group of Statistic
Command PurposeRouter(config)# rmon collection matrix {controlEntry integer} [owner ownername]Enables an RMON matrix group of statistics on an interface.
Enabling All Possible Autoconfigurable RMON Statistic Collections
Command PurposeRouter(config)# rmon collection rmon1 {controlEntry integer} [owner ownername]Enables all possible autoconfigurable RMON statistic collections on an interface.
Verifying RMON Configuration Settings
Monitoring and Maintaining RMON Groups
Enabling an RMON History Group of Statistics
Enabling an RMON Host Collection Group of Statistics
Enabling an RMON Matrix Group of Statistics
Enabling All Possible Autoconfigurable RMON Statistic Collections
Remote Monitoring MIB Update
This feature module describes the Remote Monitoring (RMON) MIB Update. It includes information on the benefits of this new feature, supported platforms, related documents, and other information you may need to work with new features associated with RMScreening
Feature History table for the Remote Monitoring MIB Update
Release Modification12.0(5)T
This feature was introduced.
12.4(6)T
This feature was integrated into Cisco IOS Release 12.4(6)T
•
Feature Overview, page 1
•
Supported Platforms, page 3
•
Supported Standards, MIBs, and RFCs, page 3
•
Prerequisites, page 3
•
Configuration Tasks, page 4
•
Monitoring and Maintaining RMON Groups, page 6
•
Configuration Examples, page 6
•
Command Reference, page 7
•
Glossary, page 24
Feature Overview
The RMON MIB identifies activity on individual nodes and allows you to monitor all nodes and their interaction on a LAN segment. Used in conjunction with the Simple Network Management Protocol (SNMP) agent in a router, RMON allows you to view both traffic that flows through the router and segment traffic not necessarily destined for the router. Combining RMON alarms and events, which are classes of messages that indicate traffic violations and various unusual occurrences over a network, with existing MIBs allows you to choose where proactive monitoring will occur.
Full RMON packet analysis is available only on an Ethernet interface of the Cisco 2500 series and Cisco AS5200 series routers. RMON requires that SNMP be configured. A generic RMON console application is recommended in order to take advantage of the network management capabilities of the RMON MIB.
RMON can be very data and processor intensive. Users should measure usage effects to ensure that router performance is not degraded by RMON and to minimize excessive management traffic overhead. Native mode is less intensive than promiscuous mode.
All Cisco IOS software images ordered without the explicit RMON option include limited RMON support (RMON alarms and event groups only). Images ordered with the RMON option include support for all nine management groups (statistics, history, alarms, hosts, hostTopN, matrix, filter, capture, and event). As a security precaution, support for the capture group allows capture of packet header information only; data payloads are not captured.
The RMON agent has been rewritten to improve performance and add some new features. The command line interface (CLI) has been enhanced with some new RMON commands. New features include.
•
usrHistory group. This MIB group is similar to the RMON etherHistory group except that the group enables the user to specify the MIB objects that are collected at each interval.
•
partial probeConfig group. This MIB group is a subset of the probeConfig group implemented in read-only mode. These objects implement the simple scalars from this group. Table 1 details new partial probeConfig group objects:
Table 1 partial probeConfig Group Objects
Benefits
Restrictions
The C2500, AS5200, and AS5300 are the only platforms that support the RMON MIB Update feature.
Related Features and Technologies
•
SNMPv1
•
SNMPv2
•
SNMPv3
Related Documents
•
Cisco IOS Configuration Fundamentals Configuration Guide
•
Cisco IOS Configuration Fundamentals Command Reference
Supported Platforms
•
Cisco 2500 series access servers
•
Cisco AS5200 universal access server
Supported Standards, MIBs, and RFCs
MIBs
No new or modified MIBs are supported by this feature. To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
http://www.cisco.com/go/mibs
RFCs
•
RFC 1757
•
RFC 2021
Standards
None
Prerequisites
You must be running a version of SNMP on the server that contains the RMON MIB.
Configuration Tasks
You can configure a router to the RMON MIB Update. Perform the following tasks to configure different RMON groups.
•
Enabling an RMON History Group of Statistics
•
Enabling an RMON Host Collection Group of Statistics
•
Enabling an RMON Matrix Group of Statistic
•
Enabling All Possible Autoconfigurable RMON Statistic Collections
Enabling an RMON History Group of Statistics
Enabling an RMON Host Collection Group of Statistics
Command PurposeRouter(config)# rmon collection host {controlEntry integer} [owner ownername]Enables an RMON host collection group of statistics on an interface.
Enabling an RMON Matrix Group of Statistic
Command PurposeRouter(config)# rmon collection matrix {controlEntry integer} [owner ownername]Enables an RMON matrix group of statistics on an interface.
Enabling All Possible Autoconfigurable RMON Statistic Collections
Command PurposeRouter(config)# rmon collection rmon1 {controlEntry integer} [owner ownername]Enables all possible autoconfigurable RMON statistic collections on an interface.
Verifying RMON Configuration Settings
Step 1
To view the configuration, enter the show rmon capture command. A sample configuration follows:
show rmon captureBuffer 1 is active, owned by John SmithCaptured data is from channel 1Slice size is 128, download size is 128Download offset is 0Full Status is full, full action is wrapWhenFullGranted -1 octets out of -1 requestedBuffer has been on since 18:59:48, and has captured 522 packetsCurrent capture buffer entries:Packet 3271 was captured 2018256 ms since buffer was turned onIts length is 184 octets and has a status type of 0Packet ID is 3721, and contains the following data:03 00 00 00 00 01 00 A0 CC 3C 9D DF 00 A6 F0 03Packet 3722 was captured 2018452 ms since buffer was turned onIts length is 64 octets and has a status type of 0Packet ID is 3722, and contains the following data:01 80 C2 00 00 00 00 60 09 FD FE D3 00 26 42 03Step 2
To view values associated with RMON variables, enter the show rmon matrix command. The following output is displayed:
show rmon matrixMatrix 1 is active and owned byMonitors ifEntry.1.1Table size is 42, last time an entry was deleted was at 11:18:09Source addr is 0000.0c47.007b, dest addr is ffff.ffff.ffffTransmitted 2 pkts, 128 octets, 0 errorsSource addr is 0000.92a8.319e, dest addr is 0060.5c86.5b82Transmitted 2 pkts, 384 octets, 1 errorMonitoring and Maintaining RMON Groups
Configuration Examples
This section provides the following configuration examples:
•
Enabling an RMON History Group of Statistics
•
Enabling an RMON Host Collection Group of Statistics
•
Enabling an RMON Matrix Group of Statistics
•
Enabling All Possible Autoconfigurable RMON Statistic Collections
Enabling an RMON History Group of Statistics
The following example shows an RMON collection history session being enabled with a statistic group of 20 and an owner of john:
rmon collection history controlEntry 20 owner johnEnabling an RMON Host Collection Group of Statistics
The following example shows an RMON host collection session enabled with a statistic group of 20 and an owner of john:
rmon collection host controlEntry 20 owner johnEnabling an RMON Matrix Group of Statistics
The following example shows an RMON matrix session enabled with a statistic group of 20 and an owner of john:
rmon collection matrix controlEntry 20 owner johnEnabling All Possible Autoconfigurable RMON Statistic Collections
The following example shows all possible autoconfigurable RMON statistic collections being enabled with a statistic group of 20 and an owner of john:
rmon collection rmon1 controlEntry 20 owner johnCommand Reference
This section documents new or modified commands that configure the RMON Update feature. All other commands used with this feature are documented in the Cisco IOS Release 12.0 command references.
In Cisco IOS Release 12.0(1)T or later, you can search and filter the output for show and more commands. This functionality is useful when you need to sort through large amounts of output, or if you want to exclude output that you do not need to see.
To use this functionality, enter a show or more command followed by the "pipe" character (|), one of the keywords begin, include, or exclude, and an expression that you want to search or filter on:
command | {begin | include | exclude} regular-expression
Following is an example of the show atm vc command in which you want the command output to begin with the first line where the expression "PeakRate" appears:
show atm vc | begin PeakRate
For more information on the search and filter functionality, refer to the Cisco IOS Release 12.0(1)T feature module titled CLI String Search.
rmon capture-userdata
To disable the packet zeroing feature that initializes the user payload portion of each Remote Monitoring (RMON) MIB packet, use the rmon capture-userdata global configuration command. To enable packet zeroing, use the no form of the command.
rmon capture-userdata
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
Global configuration
Command History
Release Modification12.0(5)T
This command was introduced.
12.4(6)T
This command was integrated into Cisco IOS Release 12.4(6)T.
Usage Guidelines
Use the show rmon matrix command to display RMON statistics.
Examples
The following command disables the packet zeroing feature:
rmon capture-userdataRelated Commands
Command Descriptionrmon collection matrix
Enables an RMON matrix group of statistics on an interface.
rmon collection history
To enable an Remote Monitoring (RMON) MIB history group of statistics on an interface, use the rmon collection history interface configuration command. To remove a specified RMON history group of statistics, use the no form of the command.
rmon collection history {controlEntry integer} [owner ownername] [buckets bucket-number] [interval seconds]
no rmon collection history {controlEntry integer} [owner ownername] [buckets bucket-number] [interval seconds]Syntax Description
Defaults
No default behavior or values.
Command Modes
Interface configuration
Command History
Release Modification12.0(5)T
This command was introduced.
12.4(6)T
This command was integrated into Cisco IOS Release 12.4(6)T.
Usage Guidelines
Use the show rmon capture and show rmon matrix commands to display RMON statistics.
Examples
The following command enables a Remote Monitoring (RMON) MIB collection history group of statistics with an ID number of 20 and an owner of john:
rmon collection history controlEntry 20 owner johnRelated Commands
Command Descriptionshow rmon capture
Displays the RMON buffer capture table.
show rmon matrix
Displays the RMON matrix table.
rmon collection host
To enable an Remote Monitoring (RMON) MIB host collection group of statistics on the interface, use the rmon collection host interface configuration command. To remove the specified RMON host collection, use the no form of the command.
rmon collection host {controlEntry integer} [owner ownername]
no rmon collection host {controlEntry integer} [owner ownername]Syntax Description
Defaults
No default behavior or values.
Command Modes
Interface configuration
Command History
Release Modification12.0(5)T
This command was introduced.
12.4(6)T
This command was integrated into Cisco IOS Release 12.4(6)T.
Usage Guidelines
Use the show rmon hosts and show rmon matrix commands to display RMON statistics.
Examples
The following command enables an RMON collection host group of statistics with an ID number of 20 and an owner of john:
rmon collection host controlEntry 20 owner johnRelated Commands
Command Descriptionshow rmon hosts
Displays the RMON hosts table.
show rmon matrix
Displays the RMON matrix table.
rmon collection matrix
To enable an Remote Monitoring (RMON) MIB matrix group of statistics on an interface, use the rmon collection matrix interface configuration command. To remove a specified RMON matrix group of statistics, use the no form of the command.
rmon collection matrix {controlEntry integer} [owner ownername]
no rmon collection matrix {controlEntry integer} [owner ownername]Syntax Description
Defaults
No default behavior or values.
Command Modes
Interface configuration
Command History
Release Modification12.0(5)T
This command was introduced.
12.4(6)T
This command was integrated into Cisco IOS Release 12.4(6)T.
Usage Guidelines
Use the show rmon matrix command to display RMON statistics.
Examples
The following command enables the RMON collection matrix group of statistics with an ID number of 20 and an owner of john:
rmon collection matrix controlEntry 20 owner johnRelated Commands
rmon collection rmon1
To enable all possible autoconfigurable Remote Monitoring (RMON) MIB statistic collections on the interface, use the rmon collection rmon1 interface configuration command. To disable these statistic collections on the interface, use the no form of the command.
rmon collection rmon1 {controlEntry integer} [owner ownername]
no rmon collection rmon1 {controlEntry integer} [owner ownername]Syntax Description
Defaults
No default behavior or values.
Command Modes
Interface configuration
Command History
Release Modification12.0(5)T
This command was introduced.
12.4(6)T
This command was integrated into Cisco IOS Release 12.4(6)T.
Usage Guidelines
Use the show rmon matrix command to display RMON statistics.
Examples
The following command enables the RMON collection rmon1 group of statistics with an ID of 20 and an owner of john:
rmon collection rmon1 controlEntry 20 owner johnRelated Commands
show rmon capture
To display the Remote Monitoring (RMON) MIB buffer capture table, use the show rmon capture EXEC command.
show rmon capture
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Release Modification11.0
This command was introduced.
12.0(5)T
This command has been expanded.
12.4(6)T
This command was integrated into Cisco IOS Release 12.4(6)T.
Usage Guidelines
Use the show rmon matrix command to display RMON statistics.
Examples
The following example shows output from the show rmon capture command:
show rmon captureBuffer 1 is active, owned by John SmithCaptured data is from channel 1Slice size is 128, download size is 128Download offset is 0Full Status is full, full action is wrapWhenFullGranted -1 octets out of -1 requestedBuffer has been on since 18:59:48, and has captured 522 packetsCurrent capture buffer entries:Packet 3271 was captured 2018256 ms since buffer was turned onIts length is 184 octets and has a status type of 0Packet ID is 3721, and contains the following data:03 00 00 00 00 01 00 A0 CC 3C 9D DF 00 A6 F0 03Packet 3722 was captured 2018452 ms since buffer was turned onIts length is 64 octets and has a status type of 0Packet ID is 3722, and contains the following data:01 80 C2 00 00 00 00 60 09 FD FE D3 00 26 42 03Table 2 describes the fields shown in the example.
Table 2 show rmon capture Field Descriptions
Related Commands
show rmon filter
To display the Remote Monitoring (RMON) MIB filter table, use the show rmon filter EXEC command.
show rmon filter
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Release Modification11.0
This command was introduced.
12.0(5)T
This command was expanded.
12.4(6)T
This command was integrated into Cisco IOS Release 12.4(6)T.
Usage Guidelines
Use the show rmon filter command to display RMON statistics.
Examples
The following example shows output from the show rmon filter command:
show rmon filterFilter 4096 is active, and owned by manager 1Data offset is 12, withData of 08 00 00 00 00 00 00 00 00 00 00 00 00 00 ab 45 30 15 ac 15 31 06Data Mask is ff ff 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ffData Not Mask is 0Pkt status is 0, status mask is 0, not mask is 0Associated channel 4096 is active, and owned by manager1Type of channel is acceptMatched, data control is offGenerate event index 0Event status is eventFired, # of matches is 1482Turn on event index is 0, turn off event index is 0Description:Table 3 describes the fields shown in the example.
Table 3 show rmon filter Field Descriptions
Related Commands
show rmon hosts
To display the Remote Monitoring (RMON) MIB hosts table, use the show rmon hosts EXEC command.
show rmon hosts
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Release Modification11.0
This command was introduced.
12.0(5)T
This command was expanded.
12.4(6)T
This command was integrated into Cisco IOS Release 12.4(6)T.
Usage Guidelines
Use the show rmon matrix and show rmon collection host commands to display RMON statistics.
Examples
The following example shows output from the show rmon hosts command:
show rmon hostsHost1 is active, and owned by manager1Monitors ifEntry.1.1Table size is 24, last time an entry was deleted was at 14:47:04Creation Order number is 1Physical address is 0010.7b39.f2d1Packets: rcvd 1867, transmitted 2918Octets: rcvd 120050, transmitted 203868# of packets transmitted: broadcast 2, multicast 66# of bad packets transmitted is 0Creation Order number is 2Physical address is 0060.5c86.5b82Packets: rcvd 166120, transmitted 174587# of packets transmitted: broadcast 66, multicast 86# of bad packets transmitted is 0Creation Order number is 3Physical address is 0100.5300.000aPackets: recvd 855, transmitted 0Octets: rcvd 66690, transmitted 0# of packets transmitted: broadcast 0, multicast 0# of bad packets transmitted is 0Table 4 describes the fields shown in the example.
Table 4 show rmon hosts Field Descriptions
Related Commands
Command Descriptionshow rmon matrix
Displays the RMON matrix table.
rmon collection host
Enables an RMON host collection group of statistics on the interface.
show rmon matrix
To display the Remote Monitoring (RMON) MIB matrix table, use the show rmon matrix EXEC command.
show rmon matrix
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Release Modification11.0
This command was introduced.
12.0(5)T
This command was expanded.
12.4(6)T
This command was integrated into Cisco IOS Release 12.4(6)T.
Usage Guidelines
Use the show rmon matrix command to display RMON statistics.
Examples
The following example shows output from the show rmon matrix command:
show rmon matrixMatrix 1 is active and owned byMonitors ifEntry.1.1Table size is 42, last time an entry was deleted was at 11:18:09Source addr is 0000.0c47.007b, dest addr is ffff.ffff.ffffTransmitted 2 pkts, 128 octets, 0 errorsSource addr is 0000.92a8.319e, dest addr is 0060.5c86.5b82Transmitted 2 pkts, 384 octets, 1 errorTable 5 describes the fields shown in the example.
Table 5 show rmon matrix Field Descriptions
Related Commands
Command Descriptionrmon collection matrix
Enables an RMON matrix group of statistics on an interface.
Glossary
RMON buffer capture table—An RMON table that details a list of packets captured off of a channel or a logical data or events stream.
RMON filter table—An RMON table that details a list of packet filter entries that screens packets for specified conditions as they travel between interfaces.
RMON hosts table—An RMON table that details a list of host entries.
RMON matrix table—An RMON table that details a list of traffic matrix entries indexed by source and destination MAC addresses.