To enable Remote Monitoring (RMON) on an Ethernet interface, use the rmon command in interface configuration mode. To disable RMON on the interface, use the noform of this command.
rmon{native | promiscuous}
normon
Syntax Description
native
Enables RMON on the Ethernet interface. In native mode, the router processes only packets destined for this interface.
promiscuous
Enables RMON on the Ethernet interface. In promiscuous mode, the router examines every packet.
Command Default
RMON is disabled on the interface.
Command Modes
Interface configuration
Command History
Release
Modification
11.1
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Usage Guidelines
This command enables
RMON on Ethernet interfaces. A generic RMON console application is recommended in order to use the RMON network management capabilities. SNMP must also be configured. RMON provides visibility of individual nodal activity and allows you to monitor all nodes and their interaction on a LAN segment. When the rmon command is issued, the router automatically installs an Ethernet statistics study for the associated interface.
Note
RMON can be very data and processor intensive. Users should measure usage effects to ensure that router performance is not degraded and to minimize excessive management traffic overhead. Native mode is less intensive than promiscuous mode.
All Cisco IOS software feature sets support RMON alarm and event groups. Additional RMON groups are supported in certain feature sets. Refer to the Release Notes for feature set descriptions. As a security precaution, support for the packet capture group allows capture of packet header information only; data payloads are not captured.
The RMON
MIB is described in
RFC 1757.
Examples
The following example enables RMON on Ethernet interface 0 and allows the router to examine only packets destined for the interface:
interface ethernet 0
rmon native
Related Commands
Command
Description
rmonalarm
Sets an alarm on any MIB object.
rmonevent
Adds or removes an event in the RMON event table that is associated with an RMON event number.
rmonqueuesize
Changes the size of the queue that holds packets for analysis by the RMON process.
showrmon
Displays the current RMON agent status on the router.
rmon alarm
To set an alarm on any MIB object, use the
rmonalarm command in global configuration mode. To disable the alarm, use the
noform of this command.
Alarm number, which is identical to the alarmIndexof the alarmTable in the Remote Monitoring (RMON) MIB.
variable
MIB object to monitor, which translates into the alarmVariable used in the alarmTable of the RMON MIB.
interval
Time, in seconds, that the alarm monitors the MIB variable. This interval is identical to the alarmIntervalused in the alarmTable of the RMON MIB.
delta
Tests the change between MIB variables, which affects the alarmSampleType in the alarmTable of the RMON MIB.
absolute
Tests each MIB variable directly, which affects the alarmSampleType in the alarmTable of the RMON MIB.
rising-threshold
Sets the value at which the alarm is triggered.
value
When used with the
rising-threshold keyword, the value at which the alarm is triggered.
When used with the
falling-threshold keyword, the value at which the alarm is reset.
event-number
(Optional) Event number to trigger when the rising or falling threshold exceeds its limit. This value is identical to the alarmRisingEventIndex or the alarmFallingEventIndex in the alarmTable of the RMON MIB.
falling-threshold
Sets the value at which the alarm is reset.
owner
(Optional) Specifies an owner for the alarm, which is identical to the alarmOwner in the alarmTable of the RMON MIB.
string
(Optional) Name of the owner for the alarm.
interface
(Optional) Specifies that the ifIndex has to be derived from the interface name.
type
(Optional) Interface type. For more information, use the question mark (?) online help function.
number
(Optional) Interface or subinterface number. For more information about the numbering syntax for your networking device, use the question mark (?) online help function.
trap
(Optional) Specifies that ifDescr is included in the alarm notification.
Command Default
No alarms are configured.
Command Modes
Global configuration (config)
Command History
Release
Modification
11.2
This command was introduced.
12.2(14)SX
This command was implemented on Supervisor Engine 720 in Cisco IOS Release 12.2(14)SX.
12.2(17d)SXB
This command was implemented on Supervisor Engine 2 in Cisco IOS Release 12.2(17d)SXB.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
15.1(1)S
This command was modified. The
interface and
trap keywords and the
typeandnumber arguments were added.
Usage Guidelines
You must specify the MIB object as a dotted decimal value after the entry sequence (for example, ifEntry.10.1). You cannot specify the variable name and the instance (for example, ifInOctets.1) or the entire dotted decimal notation. The argument must be in the form
entry.integer.instance.
To disable the RMON alarms, you must use the
no form of the command on each configured alarm. For example, to remove alarm 1, use the
normonalarm1 command.
See RFC 1757 for more information about the RMON alarm group.
When you configure a MIB object as ifInOctets.4, ifInOctets is considered as the object, .4 as the instance, and 4 as the ifIndex assigned to the interface. When using the
interface keyword, you must not specify an instance to configure the MIB object because RMON automatically adds the ifindex to the object.
Note
If you configure ifInOctets.4 and the
interface keyword, the resultant object will be ifInOctets.4.4. This results in the failure of the RMON policy.
The
interface keyword must be used only for objects that are indexed by the ifindex. If objects have multiple indexes, ifIndex must be the last in the sequence of indexes and the object configuration should include all the previous indexes.
Note
You can configure objects that are not indexed by ifindex; however, this results in the failure of RMON policy.
Use the
trap keyword to include the ifDescr object in the RMON rising and falling alarms.
Examples
The following example shows how to configure an RMON alarm using the
rmonalarm command:
In this example, the RMON alarm number is set to 10. The alarm monitors the MIB variable ifEntry.20.1once every 20 seconds until the alarm is disabled, and checks the change in the rise or fall of the variable. If the ifEntry.20.1value shows a MIB counter increase of 15 or more, such as from 100000 to 100015, the alarm is triggered. The alarm in turn triggers event number 1, which is configured with the
rmonevent command. Possible events include a log entry or a Simple Network Management Protocol (SNMP) trap. If theifEntry.20.1value changes by 0 (falling threshold is 0), the alarm is reset and can be triggered again.
The following example shows how to configure an RMON alarm to monitor the MIB variable ifInOctets:
Adds or removes an event in the RMON event table that is associated with an RMON event number.
showrmon
Displays the current RMON agent status on the router.
rmon capture-userdata
To disable the packet zeroing feature that initializes the user payload portion of each Remote Monitoring (RMON) MIB packet, use the rmoncapture-userdata command in global configuration mode. To enable packet zeroing, use the no form of this command.
rmoncapture-userdata
normoncapture-userdata
Syntax Description
This command has no arguments or keywords.
Command Default
No default behavior or values.
Command Modes
Global configuration
Command History
Release
Modification
12.0(5)T
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Examples
The following command shows how to disable the packet zeroing feature:
Router(config)#
rmon capture-userdata
Related Commands
Command
Description
rmoncollectionmatrix
Enables a RMON MIB matrix group of statistics on an interface.
showrmonmatrix
Displays RMON statistics.
rmon collection history
To enable Remote Monitoring (RMON) history gathering on an interface, use the rmoncollectionhistory command in interface configuration mode. To disable the history gathering on an interface, use the no form of this command.
Specifies the RMON group of statistics using a value.
integer
Value in the range from 1 to 65535 that identifies the RMON group of statistics and matches the index value returned for Simple Network Management Protocol (SNMP) requests.
owner
(Optional) Specifies the name of the owner of the RMON group of statistics.
ownername
(Optional) Name of the owner of the RMON group of statistics.
buckets
(Optional) Specifies that a maximum number of buckets desired is set for the RMON collection history group of statistics.
bucket-number
(Optional) Maximum number of buckets.
interval
(Optional) Specifies the number of seconds for which history should be gathered in a single bucket. When the interval ends, history is collected into a new bucket.
seconds
(Optional) Number of seconds in the interval.
Command Default
Disabled
Command Modes
Interface configuration
Command History
Release
Modification
12.0(5)T
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Examples
The following example shows how to enables an RMON MIB collection history group of statistics with an ID number of 20 and an owner as john:
Router(config-if)#
rmon collection history controlEntry 20 owner john
Related Commands
Command
Description
showrmoncapture
Displays the contents of the RMON history table.
showrmonmatrix
Displays the RMON MIB matrix table.
rmon collection host
To enable a Remote Monitoring (RMON) MIB host collection group of statistics on the interface, use the rmoncollectionhost command in interface configuration mode. To remove the specified RMON host collection, use the no form of this command.
Specifies an identification number for the RMON group of statistics.
integer
Integer in the range from 1 to 65535.
owner
(Optional) Indicates that a name is specified for the owner of the RMON group of statistics.
ownername
(Optional) String value identifying the owner.
Command Default
No RMON host collection is specified.
Command Modes
Interface configuration
Command History
Release
Modification
12.0(5)T
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Examples
The following command shows how to enable an RMON collection host group of statistics with an ID number of 20 and specifies john as the owner:
Router(config-if)#
rmon collection host controlEntry 20 owner john
Related Commands
Command
Description
showrmonhosts
Displays the RMON MIB hosts table.
showrmonmatrix
Displays the RMON MIB matrix table.
rmon collection matrix
To enable a Remote Monitoring (RMON) MIB matrix group of statistics on an interface, use the rmoncollectionmatrix command in interface configuration mode. To remove a specified RMON matrix group of statistics, use the no form of this command.
Specifies an identification number for the RMON matrix group of statistics.
integer
Integer in the range from 1 to 65535.
owner
(Optional) Indicates that a name is specified for the owner of the RMON matrix group of statistics.
ownername
(Optional) String that specifies the name of the owner.
Command Default
No RMON matrix group of statistics is specified.
Command Modes
Interface configuration
Command History
Release
Modification
12.0(5)T
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Usage Guidelines
Use the showrmonmatrixcommand to display RMON statistics.
Examples
The following command shows how to enable the RMON collection matrix group of statistics with an ID number of 25 and specifies john as the owner:
Router(config-if)#
rmon collection matrix controlEntry 25 owner john
Related Commands
Command
Description
showrmonmatrix
Displays the RMON MIB matrix table.
rmon collection rmon1
To enable all possible autoconfigurable Remote Monitoring (RMON) MIB statistic collections on the interface, use the rmoncollectionrmon1 command in interface configuration mode. To disable these statistic collections on the interface, use the no form of this command.
Specifies an identification number for the RMON group of statistics.
integer
Integer in the range from 1 to 65535.
owner
(Optional) Indicates that a name is specified for the owner of the RMON group of statistics.
ownername
(Optional) String that identifies the name of the owner.
Command Default
Disabled.
Command Modes
Interface configuration
Command History
Release
Modification
12.0(5)T
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Examples
The following command shows how to enable the RMON collection rmon1 group of statistics with an ID number of 30 and specifies "john" as the owner:
Router(config-if)#
rmon collection rmon1 controlEntry 30 owner john
Related Commands
Command
Description
showrmonmatrix
Displays the RMON MIB matrix table.
rmon event
To add or remove an event (in the Remote Monitoring (RMON) event table) that is associated with an RMON event number, use the
rmonevent command in global configuration mode. To disable RMON on the interface, use the
noform of this command.
Assigned event number, which is identical to the eventIndex in the eventTable in the RMON MIB.
log
(Optional) Generates an RMON log entry when the event is triggered and sets the
eventType in the RMON MIB to
log or
log-and-trap.
trap
(Optional) Specifies a Simple Network Management Protocol (SNMP) community string used for this trap. Configures the setting of the
eventType in the RMON MIB for this row as either
snmp-trap or
log-and-trap. This value is identical to the
eventCommunityValue in the eventTable of the RMON MIB.
community
(Optional) SNMP community string used for a trap.
description
(Optional) Specifies a description of the event, which is identical to the event description in the eventTable of the RMON MIB.
string
(Optional) Description of the event.
owner
(Optional) Specifies an owner for this event, which is identical to the
eventOwnerin the eventTable of the RMON MIB.
string
(Optional) Name of the event owner.
Command Default
No events are configured.
Command Modes
Global configuration
Command History
Release
Modification
11.2
This command was introduced.
12.2(14)SX
Support for this command was introduced on the Supervisor Engine 720.
12.2(17d)SXB
Support for this command on the Supervisor Engine 2 was extended to the 12.2(17d)SXB release.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Usage Guidelines
Use the
trapcommunity keyword and argument to configure the setting of the
eventType in the RMON MIB for this row as either
snmp-trap or
log-and-trap. This value is identical to the
eventCommunityValue in the eventTable in the RMON MIB.
See RFC 1757 for more information about the RMON MIB.
Examples
The following example shows how to enable the
rmoneventcommand:
This example configuration creates RMON event number 1, which is defined as High ifOutErrors, and generates a log entry when the event is triggered by an alarm. The user owner2 owns the row that is created in the event table by this command. This configuration also generates an SNMP trap when the event is triggered.
Related Commands
Command
Description
rmon
Enables RMON on an Ethernet interface.
rmonalarm
Sets an alarm on any MIB object.
showrmon
Displays the current RMON agent status on the router.
rmon hc-alarms
To set a high-capacity (HC) alarm on any MIB object, use the rmonhc-alarms command in global configuration mode. To disable the alarm, use the no form of this command.
Alarm number, which is identical to the alarmIndexobject of the alarmTable in the Remote Monitoring (RMON) MIB.
variable
MIB object to monitor, which translates into the alarmVariable object used in the alarmTable of the RMON MIB. Supports 64-bit values.
interval
Time, in seconds, the alarm monitors the MIB variable, which is identical to the alarmIntervalobject used in the alarmTable of the RMON MIB.
delta
Tests the change between MIB variables, which affects the alarmSampleType object in the alarmTable of the RMON MIB.
absolute
Tests each MIB variable directly, which affects the alarmSampleType object in the alarmTable of the RMON MIB.
rising-threshold
Sets the value at which the alarm is triggered.
value
When used with the rising-threshold keyword, the value at which the alarm is triggered.
When used with the falling-threshold keyword, the value at which the alarm is reset.
event-number
(Optional) Event number to trigger when the rising or falling threshold exceeds its limit. This value is identical to the alarmRisingEventIndex object or the alarmFallingEventIndex object in the alarmTable of the RMON MIB.
falling-threshold
Sets the value at which the alarm is reset.
owner
(Optional) Specifies an owner for the alarm, which is identical to the alarmOwner object in the alarmTable of the RMON MIB.
string
(Optional) Name of the owner for the alarm.
Command Default
No alarms are configured.
Command Modes
Global configuration (config)
Command History
Release
Modification
12.2(33)SXI
This command was introduced.
12.2(33)SRE
This command was integrated into Cisco IOS Release 12.2(33)SRE.
Usage Guidelines
You must specify the MIB object as a dotted decimal value after the entry sequence (for example, ifEntry.10.1). You cannot specify the variable name and the instance (for example, ifInOctets.1) or the entire dotted decimal notation. The argument must be of the form entry.integer.instance.
To disable the RMON alarms, you must use the no form of the command on each configured alarm. For example, enternormonalarm4, where the 4 identifies which alarm is to be removed.
See RFC 3434 for more information about the RMON HC alarm group.
Examples
The following example shows how to configure an RMON HC alarm:
RMON HC alarm number 2 is configured in this example. The alarm monitors the MIB variable ifInOctets.2 once every 20 seconds until the alarm is disabled, and checks the change in the rise or fall of the variable. If the ifInOctets.2value shows a MIB counter increase of 2000 or more, such as from 100000 to 100015, the alarm is triggered. The alarm in turn triggers event number 2, which is configured with the rmonevent command. Possible events include a log entry or a Simple Network Management Protocol (SNMP) trap. If theifInOctets.2
value changes by 1000 (falling threshold is 1000), the alarm is reset and can be triggered again.
Related Commands
Command
Description
rmon
Enables RMON on an Ethernet interface.
rmonevent
Adds or removes an event in the RMON event table that is associated with an RMON event number.
showrmonhc-alarms
Displays the contents of the RMON HC alarm table of the router.
rmon queuesize
To change the size of the queue that holds packets for analysis by the Remote Monitoring (RMON) process, use the rmonqueuesize command in global configuration mode. To restore the default value, use the noform of this command.
rmonqueuesizesize
normonqueuesize
Syntax Description
size
Number of packets allowed in the queue awaiting RMON analysis. Default queue size is 64 packets.
Command Default
64 packets
Command Modes
Global configuration
Command History
Release
Modification
11.1
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Usage Guidelines
This command applies to the
RMON function, which is available on Ethernet interfaces of Cisco 2500 series and Cisco AS5200 series routers only.
You might want to increase the queue size if the RMON function indicates it is dropping packets. You can determine this from the output of the showrmon command or from the etherStatsDropEvents object in the etherStats table. A feasible maximum queue size depends on the amount of memory available in the router and the configuration of the buffer pool.
Examples
The following example configures the RMON queue size to be 128 packets:
Router(config)# rmon queuesize 128
Related Commands
Command
Description
showrmon
Displays the current RMON agent status on the router.
show rmon
To display the current RMON agent status on the router, use the
showrmoncommand in EXEC mode.
(Optional) Displays the RMON buffer capture table. Available on Cisco 2500 series and Cisco AS5200 series only.
events
(Optional) Displays the RMON event table.
filter
(Optional) Displays the RMON filter table. Available on Cisco 2500 series and Cisco AS5200 series only.
history
(Optional) Displays the RMON history table. Available on Cisco 2500 series and Cisco AS5200 series only.
hosts
(Optional) Displays the RMON hosts table. Available on Cisco 2500 series and Cisco AS5200 series only.
matrix
(Optional) Displays the RMON matrix table. Available on Cisco 2500 series and Cisco AS5200 series only.
statistics
(Optional) Displays the RMON statistics table. Available on Cisco 2500 series and Cisco AS5200 series only.
task
(Optional) Displays general RMON statistics. This is the default.
topn
(Optional) Displays the RMON top-n hosts table. Available on Cisco 2500 series and Cisco AS5200 series only.
Command Default
If no option is specified, the
task option is displayed.
Command Modes
EXEC
Command History
Release
Modification
11.1
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Usage Guidelines
Refer to the specificshowrmon command for an example and description of the fields.
For additional information, refer to the RMON MIB described in RFC 1757.
Examples
The following is sample output from the
showrmoncommand. All counters are from the time the router was initialized.
Router#
show rmon
145678 packets input (34562 promiscuous), 0 drops
145678 packets processed, 0 on queue, queue utilization 15/64
The table below describes the significant fields shown in the ouput.
Table 1
show rmon Field Descriptions
Field
Description
x packets input
Number of packets received on RMON-enabled interfaces.
x promiscuous
Number of input packets that were seen by the router only because RMON placed the interface in promiscuous mode.
x drops
Number of input packets that could not be processed because the RMON queue overflowed.
x packets processed
Number of input packets actually processed by the RMON task.
x on queue
Number of input packets that are sitting on the RMON queue, waiting to be processed.
queue utilization x/y
y is the maximum size of the RMON queue; x is the largest number of packets that were ever on the queue at a particular time.
Related Commands
Command
Description
rmon
Enables RMON on an Ethernet interface.
rmonalarm
Sets an alarm on any MIB object.
rmonevent
Adds or removes an event in the RMON event table that is associated with an RMON event number.
rmonqueuesize
Changes the size of the queue that holds packets for analysis by the RMON process.
showrmonalarms
Displays the contents of the router's RMON alarm table.
showrmoncapture
Displays the contents of the router's RMON capture table.
showrmonevents
Displays the contents of the router's RMON event table.
showrmonfilter
Displays the contents of the router's RMON filter table.
showrmonhistory
Displays the contents of the router's RMON history table.
showrmonhosts
Displays the contents of the router's RMON hosts table.
showrmonmatrix
Displays the contents of the router's RMON matrix table.
showrmonstatistics
Displays the contents of the router's RMON statistics table.
showrmontopn
Displays the contents of the router's RMON p-N host table.
show rmon alarms
To display the contents of the RMON alarm table of the router, use the
showrmonalarms command in EXEC mode.
showrmonalarms
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Release
Modification
11.2
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Usage Guidelines
For additional information, refer to the RMON MIB described in RFC 1757.
You must have first enabled RMON on the interface, and configured RMON alarms to display alarm information with the
showrmonalarms command.
Examples
The following is sample output from the
showrmonalarmscommand:
Router# show rmon alarms
Alarm 2 is active, owned by manager1
Monitors ifEntry.1.1 every 30 seconds
Taking delta samples, last value was 0
Rising threshold is 15, assigned to event 12
Falling threshold is 0, assigned to event 0
On startup enable rising or falling alarm
The table below describes the significant fields shown in the display.
Table 2
show rmon alarms Field Descriptions
Field
Description
Alarm 2 is active, owned by manager1
Unique index into the alarmTable, showing the alarm status is active, and the owner of this row, as defined in the alarmTable of RMON.
Monitors ifEntry.1.1
Object identifier of the particular variable to be sampled. Equivalent to alarmVariable in RMON.
every 30 seconds
Interval in seconds over which the data is sampled and compared with the rising and falling thresholds. Equivalent to alarmInterval in RMON.
Taking delta samples
Method of sampling the selected variable and calculating the value to be compared against the thresholds. Equivalent to alarmSampleType in RMON.
last value was
Value of the statistic during the last sampling period. Equivalent to alarmValue in RMON.
Rising threshold is
Threshold for the sampled statistic. Equivalent to alarmRisingThreshold in RMON.
assigned to event
Index of the eventEntry that is used when a rising threshold is crossed. Equivalent to alarmRisingEventIndex in RMON.
Falling threshold is
Threshold for the sampled statistic. Equivalent to alarmFallingThreshold in RMON.
assigned to event
Index of the eventEntry that is used when a falling threshold is crossed. Equivalent to alarmFallingEventIndex in RMON.
On startup enable rising or falling alarm
Alarm that may be sent when this entry is first set to valid. Equivalent to alarmStartupAlarm in RMON.
Related Commands
Command
Description
rmon
Enables RMON on an Ethernet interface.
rmonalarm
Sets an alarm on any MIB object.
showrmon
Displays the current RMON agent status on the router.
show rmon capture
To display the contents of the router's RMON capture table, use the
showrmoncapturecommand in EXEC mode.
showrmoncapture
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Release
Modification
11.2
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Usage Guidelines
For additional information, refer to the RMON MIB described in RFC 1757.
You must have first enabled RMON on the interface, and configured RMON alarms and events to display alarm information with the
showrmoncapture command.
This command is available on the Cisco 2500 series and Cisco AS5200 series only.
Examples
The following is sample output from the
showrmoncapturecommand:
Router# show rmon capture
Buffer 4096 is active, owned by manager1
Captured data is from channel 4096
Slice size is 128, download size is 128
Download offset is 0
Full Status is spaceAvailable, full action is lockWhenFull
Granted 65536 octets out of 65536 requested
Buffer has been on since 00:01:16, and has captured 1 packets
Current capture buffer entries:
Packet 1 was captured 416 ms since buffer was turned on
Its length is 326 octets and has a status type of 0
Packet ID is 634, and contains the following data:
00 00 0c 03 12 ce 00 00 0c 08 9d 4e 08 00 45 00
01 34 01 42 00 00 1d 11 e3 01 ab 45 30 15 ac 15
31 06 05 98 00 a1 01 20 9f a8 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00
The table below describes the significant fields shown in the ouput.
Table 3
show rmon capture Field Descriptions
Field
Description
Buffer 4096 is active
Equates to bufferControlIndex in the bufferControlTable of RMON. Uniquely identifies a valid (active) row in this table.
owned by manager1
Denotes the owner of this row. Equates to bufferControlOwner in the bufferControlTable of RMON.
Captured data is from channel
Equates to the bufferControlChannelIndex and identifies which RMON channel is the source of these packets.
Slice size is
Identifies the maximum number of octets of each packet that will be saved in this capture buffer. Equates to bufferControlCaptureSliceSize of RMON.
download size is
Identifies the maximum number of octets of each packet in this capture buffer that will be returned in an SNMP retrieval of that packet. Equates to bufferControlDownloadSliceSize in RMON.
Download offset is
Offset of the first octet of each packet in this capture buffer that will be returned in an SNMP retrieval of that packet. Equates to bufferControlDownloadOffset in RMON.
Full Status is spaceAvailable
Shows whether the buffer is full or has room to accept new packets. Equates to bufferControlFullStatus in RMON.
full action is lockWhenFull
Controls the action of the buffer when it reaches full status. Equates to bufferControlFullAction in RMON.
Granted 65536 octets
Actual maximum number of octets that can be saved in this capture buffer. Equates to bufferControlMaxOctetsGranted in RMON.
out of 65536 requested
Requested maximum number of octets to be saved in this capture buffer. Equates to bufferControlMaxOctetsRequested in RMON.
Buffer has been on since
Indicates how long the buffer has been available.
and has captured 1 packets
Number of packets captured since buffer was turned on. Equates to bufferControlCapturedPackets in RMON.
Current capture buffer entries:
Lists each packet captured.
Packet 1 was captured 416 ms since buffer was turned on
Its length is 326 octets and has a status type of 0
Zero indicates the error status of this packet. Equates to captureBufferPacketStatus in RMON, where its value options are documented.
Packet ID is
Index that describes the order of packets received on a particular interface. Equates to captureBufferPacketID in RMON.
and contains the following data:
Data inside the packet, starting at the beginning of the packet.
Related Commands
Command
Description
rmon
Enables RMON on an Ethernet interface.
rmonalarm
Sets an alarm on any MIB object.
rmonevent
Adds or removes an event in the RMON event table that is associated with an RMON event number.
showrmon
Displays the current RMON agent status on the router.
show rmon events
To display the contents of the router's RMON event table, use the
showrmoneventscommand in EXEC mode.
showrmonevents
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Release
Modification
11.2
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Usage Guidelines
For additional information, refer to the RMON MIB described in RFC 1757.
You must have first enabled RMON on the interface, and configured RMON events to display alarm information with the
showrmoneventscommand.
Examples
The following is sample output from the
showrmoneventscommand:
Router# show rmon events
Event 12 is active, owned by manager1
Description is interface-errors
Event firing causes log and trap to community rmonTrap, last fired 00:00:00
The table below describes the significant fields shown in the display.
Table 4
show rmon events Field Descriptions
Field
Description
Event 12 is active, owned by manager1
Unique index into the eventTable, showing the event status is active, and the owner of this row, as defined in the eventTable of RMON.
Description is interface-errors
Type of event, in this case an interface error.
Event firing causes log and trap
Type of notification that the router will make about this event. Equivalent to eventType in RMON.
community rmonTrap
If an SNMP trap is to be sent, it will be sent to the SNMP community specified by this octet string. Equivalent to eventCommunity in RMON.
last fired
Last time the event was generated.
Related Commands
Command
Description
rmon
Enables RMON on an Ethernet interface.
rmonevent
Adds or removes an event in the RMON event table that is associated with an RMON event number.
showrmon
Displays the current RMON agent status on the router.
show rmon filter
To display the contents of a router's Remote Monitoring (RMON) filter table, use the
showrmonfiltercommand in privileged EXEC mode.
showrmonfilter
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
Release
Modification
11.2
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Usage Guidelines
For additional information, see the RMON MIB described in RFC 1757.
You must have first enabled RMON on the interface and configured RMON alarms and events to display alarm information with the
showrmonfilter command.
This command is available on the Cisco 2500 series and Cisco AS5200 series only.
Examples
The following is sample output from the
showrmonfiltercommand:
Router# show rmon filter
Filter 4096 is active, and owned by manager1
Data offset is 12, with
Data of 08 00 00 00 00 00 00 00 00 00 00 00 00 00 ab 45 30 15 ac 15 31 06
Data Mask is ff ff 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff
Data Not Mask is 0
Pkt status is 0, status mask is 0, not mask is 0
Associated channel 4096 is active, and owned by manager1
Type of channel is acceptFailed, data control is off
Generate event index 0
Event status is eventFired, # of matches is 1482
Turn on event index is 0, turn off event index is 0
Description:
The table below describes the significant fields shown in the display.
Table 5
show rmon filter Field Descriptions
Field
Description
Filter
x is active, and owned by
y
Unique index of the filter, its current state, and the owner, as defined in the filterTable of RMON.
Data offset is
Offset from the beginning of each packet where a match of packet data will be attempted. Equivalent to filterPktDataOffset in RMON.
Data of
Data that is to be matched with the input packet. Equivalent to filterPktData in RMON.
Data Mask is
Mask that is applied to the match process. Equivalent to filterPktDataMask in RMON.
Data Not Mask is
Inversion mask that is applied to the match process. Equivalent to filterPktDataNotMask in RMON.
Pkt status is
Status that is to be matched with the input packet. Equivalent to filterPktStatus in RMON.
status mask is
Mask that is applied to the status match process. Equivalent to filterPktStatusMask in RMON.
not mask is
Inversion mask that is applied to the status match process. Equivalent to filterPktStatusNotMask in RMON.
Associated channel
x is active, and owned by
y
Unique index of the channel, its current state, and the owner, as defined in the channelTable of RMON.
Type of channel is {acceptMatched | acceptFailed}
This object controls the action of the filters associated with this channel. Equivalent to channelAcceptType of RMON.
data control is {off | on }
This object controls the flow of data through this channel. Equivalent to channelDataControl in RMON.
Generate event index 0
Value of this object identifies the event that is to be generated when the associated channelDataControl is on and a packet is matched. Equivalent to channelEventIndex in RMON.
Event status is eventFired
When the channel is configured to generate events and when packets are matched, this message indicates the means of controlling the flow of those events. Equivalent to channelEventStatus in RMON.
# of matches is
Number of times this channel has matched a packet. Equivalent to channelMatches in RMON.
Turn on event index is
Value of this object identifies the event that is configured to turn the associated channelDataControl from off to on when the event is generated. Equivalent to channelTurnOnEventIndex in RMON.
Turn off event index is
Value of this object identifies the event that is configured to turn the associated channelDataControl from on to off when the event is generated. Equivalent to channelTurnOffEventIndex in RMON.
Description:
Comment describing this channel.
Related Commands
Command
Description
rmon
Enables RMON on an Ethernet interface.
rmonalarm
Sets an alarm on any MIB object.
rmonevent
Adds or removes an event in the RMON event table that is associated with an RMON event number.
showrmon
Displays the current RMON agent status on the router.
show rmon hc-alarms
To display the contents of the RMON high-capacity (HC) alarm table of the router, use the
showrmonhc-alarms command in user EXEC or privileged EXEC mode.
showrmonhc-alarms
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
Modification
12.2(33)SXI
This command was introduced.
12.2(33)SRE
This command was integrated into Cisco IOS Release 12.2(33)SRE.
Usage Guidelines
For additional information on RMON MIB, refer to the RMON MIB for HC Alarms described in RFC 3434.
You must first enable RMON on the interface and configure RMON HC alarms before you can display alarm information with the
showrmonhc-alarms command.
Examples
The following is sample output from the
showrmonhc-alarmscommand:
Router# show rmon hc-alarms
Monitors ifInOctets.1 every 20 second(s)
Taking absolute samples, last value was 0
Rising threshold Low is 4096, Rising threshold Hi is 0,
assigned to event 0
Falling threshold Low is 1280, Falling threshold Hi is 0,
assigned to event 0
On startup enable rising or falling alarm
The table below describes the fields shown in the display.
Table 6
show rmon hc-alarms Field Descriptions
Field
Description
Monitors ifInOctets.1
Object identifier of the particular variable to be sampled. Equivalent to alarmVariable in RMON.
every 20 seconds
Interval in seconds over which the data is sampled and compared with the rising and falling thresholds. Equivalent to alarmInterval in RMON.
Taking absolute samples
Method of sampling the selected variable and calculating the value to be compared against the thresholds. Equivalent to alarmSampleType in RMON.
last value was
Value of the statistic during the last sampling period. Equivalent to alarmValue in RMON.
Rising threshold Low is
Rising threshold High is
Threshold for the sampled statistic. Equivalent to alarmRisingThreshold in RMON.
assigned to event
Index of the eventEntry that is used when a rising threshold is crossed. Equivalent to alarmRisingEventIndex in RMON.
Falling threshold Low is
Falling threshold High is
Threshold for the sampled statistic. Equivalent to alarmFallingThreshold in RMON.
assigned to event
Index of the eventEntry that is used when a falling threshold is crossed. Equivalent to alarmFallingEventIndex in RMON.
On startup enable rising or falling alarm
Alarm that may be sent when this entry is first set to valid. Equivalent to alarmStartupAlarm in RMON.
Related Commands
Command
Description
rmon
Enables RMON on an Ethernet interface.
rmonhc-alarms
Sets a high-capacity alarm on any MIB object.
show rmon history
To display the contents of the router's RMON history table, use the
showrmonhistorycommand in EXEC mode.
showrmonhistory
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Release
Modification
11.2
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Usage Guidelines
For additional information, refer to the RMON MIB described in RFC 1757.
You must have first enabled RMON on the interface, and configured RMON alarms and events to display alarm information with the
showrmonhistory command.
This command is available on the Cisco 2500 series and Cisco AS5200 series only.
Examples
The following is sample output from the
showrmonhistorycommand:
Router# show rmon history
Entry 1 is active, and owned by manager1
Monitors ifEntry.1.1 every 30 seconds
Requested # of time intervals, ie buckets, is 5
Granted # of time intervals, ie buckets, is 5
Sample # 14 began measuring at 00:11:00
Received 38346 octets, 216 packets,
0 broadcast and 80 multicast packets,
0 undersized and 0 oversized packets,
0 fragments and 0 jabbers,
0 CRC alignment errors and 0 collisions.
# of dropped packet events is 0
Network utilization is estimated at 10
The table below describes the significant fields shown in the display.
Table 7
show rmon history Field Descriptions
Field
Description
Entry 1 is active, and owned by manager1
Unique index of the history entry, its current state, and the owner as defined in the historyControlTable of RMON.
Monitors ifEntry.1.1
This object identifies the source of the data for which historical data was collected and placed in a media-specific table. Equivalent to historyControlDataSource in RMON.
every 30 seconds
Interval in seconds over which the data is sampled for each bucket in the part of the media-specific table associated with this historyControlEntry. Equivalent to historyControlInterval in RMON.
Requested # of time intervals, ie buckets, is
Requested number of discrete time intervals over which data is to be saved in the part of the media-specific table associated with this historyControlEntry. Equivalent to historyControlBucketsRequested in RMON.
Granted # of time intervals, ie buckets, is
Actual number of discrete time intervals over which data is to be saved in the part of the media-specific table associated with this historyControlEntry. Equivalent to historyControlBucketsGranted in RMON.
Sample # 14 began measuring at
Time at the start of the interval over which this sample was measured.
Received 38346 octets
Total number of octets of data (including those in bad packets) received on the network (excluding framing bits but including FCS octets). Equivalent to etherHistoryOctets in RMON.
x packets
Number of packets (including bad packets) received during this sampling interval. Equivalent to etherHistoryPkts in RMON.
x broadcast
Number of good packets received during this sampling interval that were directed to the broadcast address. Equivalent to etherHistoryBroadcastPkts in RMON.
x multicast packets
Number of good packets received during this sampling interval that were directed to a multicast address. Equivalent to etherHistoryMulticastPkts in RMON.
x undersized
Number of packets received during this sampling interval that were fewer than 64 octets long (excluding framing bits but including FCS octets) and were otherwise well formed. Equivalent to etherHistoryUndersizedPkts in RMON.
x oversized packets
Number of packets received during this sampling interval that were longer than 1518 octets (excluding framing bits but including FCS octets) but were otherwise well formed. Equivalent to etherHistoryOversizePkts in RMON.
x fragments
Total number of packets received during this sampling interval that were fewer than 64 octets in length (excluding framing bits but including FCS octets), and had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error) or a bad FCS with a nonintegral number of octets (Alignment Error). Equivalent to etherHistoryFragments in RMON.
x jabbers
Number of packets received during this sampling interval that were longer than 1518 octets (excluding framing bits but including FCS octets), and had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error) or a bad FCS with a nonintegral number of octets (Alignment Error). Note that this definition of jabber is different than the definition in IEEE-802.3 section 8.2.1.5 (10BASE5) and section 10.3.1.4 (10BASE2). Equivalent to etherHistoryJabbers in RMON.
x CRC alignment errors
Number of packets received during this sampling interval that had a length (excluding framing bits but including FCS octets) from 64 to 1518 octets, inclusive, but had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error) or a bad FCS with a nonintegral number of octets (Alignment Error). Equivalent to etherHistoryCRCAlignErrors in RMON.
x collisions
Best estimate of the total number of collisions on this Ethernet segment during this sampling interval. Equivalent to etherHistoryCollisions in RMON.
# of dropped packet events is
Total number of events in which packets were dropped by the operation because of resources during this sampling interval. Note that this number is not necessarily the number of packets dropped, it is just the number of times this condition has been detected. Equivalent to etherHistoryDropEvents in RMON.
Network utilization is estimated at
Best estimate of the mean physical-layer network usage on this interface during this sampling interval, in hundredths of a percent. Equivalent to etherHistoryUtilization in RMON.
Related Commands
Command
Description
rmon
Enables RMON on an Ethernet interface.
rmonalarm
Sets an alarm on any MIB object.
rmonevent
Adds or removes an event in the RMON event table that is associated with an RMON event number.
showrmon
Displays the current RMON agent status on the router.
show rmon hosts
To display the contents of the router's RMON hosts table, use the
showrmonhostscommand in EXEC mode.
showrmonhosts
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Release
Modification
11.2
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Usage Guidelines
You must have first enabled RMON on the interface, and configured RMON alarms and events to display alarm information with the
showrmonhosts command.
This command is available on the Cisco 2500 series and Cisco AS5200 series only.
For additional information, refer to the RMON MIB described in RFC 1757.
Examples
The following is sample output from the
showrmonhostscommand:
Router# show rmon hosts
Host Control Entry 1 is active, and owned by manager1
Monitors host ifEntry.1.1
Table size is 51, last time an entry was deleted was 00:00:00
Creation Order number is 1
Physical address is 0000.0c02.5808
Packets: rcvd 6963, transmitted 7041
Octets: rcvd 784062, transmitted 858530
# of packets transmitted: broadcast 28, multicast 48
# of bad packets transmitted is 0
The table below describes the significant fields shown in the display.
Table 8
show rmon hosts Field Descriptions
Field
Description
Host Control Entry 1 is active, and owned by manager1
Unique index of the host entry, its current state, and the owner as defined in the hostControlTable of RMON.
Monitors host ifEntry.1.1
This object identifies the source of the data for this instance of the host function. Equivalent to hostControlDataSource in RMON.
Table size is
Number of hostEntries in the hostTable and the hostTimeTable associated with this hostControlEntry. Equivalent to hostControlTableSize in RMON.
last time an entry was deleted was
Time when the last entry was deleted from the hostTable.
Creation Order number is
Index that defines the relative ordering of the creation time of hosts captured for a particular hostControlEntry. Equivalent to hostCreationOrder in RMON.
Physical address is
Physical address of this host. Equivalent to hostAddress in RMON.
Packets: rcvd
Number of good packets transmitted to this address. Equivalent to hostInPkts in RMON.
transmitted
Number of packets, including bad packets transmitted by this address. Equivalent to hostOutPkts in RMON.
Octets: rcvd
Number of octets transmitted to this address since it was added to the hostTable (excluding framing bits but including FCS octets), except for those octets in bad packets. Equivalent to hostInOctets in RMON.
transmitted
Number of octets transmitted by this address since it was added to the hostTable (excluding framing bits but including FCS octets), including those octets in bad packets. Equivalent to hostOutOctets in RMON.
# of packets transmitted:
Number of good packets transmitted by this address that were broadcast or multicast.
# of bad packets transmitted is
Number of bad packets transmitted by this address.
Related Commands
Command
Description
rmon
Enables RMON on an Ethernet interface.
rmonalarm
Sets an alarm on any MIB object.
rmonevent
Adds or removes an event in the RMON event table that is associated with an RMON event number.
showrmon
Displays the current RMON agent status on the router.
show rmon matrix
To display the contents of the router's RMON matrix table, use the
showrmonmatrixcommand in EXEC mode.
showrmonmatrix
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Release
Modification
11.2
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Usage Guidelines
You must have first enabled RMON on the interface, and configured RMON alarms and events to display alarm information with the
showrmonmatrix command.
This command is available on the Cisco 2500 series and Cisco AS5200 series only.
For additional information, refer to the RMON MIB described in RFC 1757.
Examples
The following is sample output from the
showrmonmatrixcommand:
Router# show rmon matrix
Matrix 1 is active, and owned by manager1
Monitors ifEntry.1.1
Table size is 451, last time an entry was deleted was at 00:00:00
The table below describes the significant fields shown in the display.
Table 9
show rmon matrix Field Descriptions
Field
Description
Matrix 1 is active, and owned by manager1
Unique index of the matrix entry, its current state, and the owner as defined in the matrixControlTable of RMON.
Monitors ifEntry.1.1
This object identifies the source of the data for this instance of the matrix function. Equivalent to matrixControlDataSource in RMON.
Table size is 451, last time an entry was deleted was at
Size of the matrix table and the time that the last entry was deleted.
Related Commands
Command
Description
rmon
Enables RMON on an Ethernet interface.
rmonalarm
Sets an alarm on any MIB object.
rmonevent
Adds or removes an event in the RMON event table that is associated with an RMON event number.
showrmon
Displays the current RMON agent status on the router.
show rmon statistics
To display the contents of the router's RMON statistics table, use the
showrmonstatisticscommand in EXEC mode.
showrmonstatistics
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Release
Modification
11.2
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Usage Guidelines
For additional information, refer to the RMON MIB described in RFC 1757.
You must have first enabled RMON on the interface, and configured RMON alarms and events to display alarm information with the
showrmonstatistics command.
This command is available on the Cisco 2500 series and Cisco AS5200 series only.
Examples
The following is sample output from the
showrmonstatisticscommand:
Router# show rmon statistics
Interface 1 is active, and owned by config
Monitors ifEntry.1.1 which has
Received 60739740 octets, 201157 packets,
1721 broadcast and 9185 multicast packets,
0 undersized and 0 oversized packets,
0 fragments and 0 jabbers,
0 CRC alignment errors and 32 collisions.
# of dropped packet events (due to lack of resources): 511
# of packets received of length (in octets):
64: 92955, 65-127: 14204, 128-255: 1116,
256-511: 4479, 512-1023: 85856, 1024-1518:2547
The table below describes the significant fields shown in the display.
Table 10
show rmon statistics Field Descriptions
Field
Description
Interface 1 is active, and owned by config
Unique index of the statistics entry, its current state, and the owner as defined in the etherStatsTable of RMON.
Monitors ifEntry.1.1
This object identifies the source of the data that this etherStats entry is configured to analyze. Equivalent to etherStatsDataSource in RMON.
Received 60739740 octets
Total number of octets of data (including those in bad packets) received on the network (excluding framing bits but including FCS octets). Equivalent to etherStatsOctets in RMON.
x packets
Number of packets (including bad packets) received. Equivalent to etherStatsPkts in RMON.
x broadcast
Number of good packets received that were directed to the broadcast address. Equivalent to etherStatsBroadcastPkts in RMON.
x multicast packets
Number of good packets received that were directed to a multicast address. Equivalent to etherStatsMulticastPkts in RMON.
x undersized
Number of packets received that were fewer than 64 octets long (excluding framing bits but including FCS octets) and were otherwise well formed. Equivalent to etherStatsUndersizedPkts in RMON.
x oversized packets
Number of packets received that were longer than 1518 octets (excluding framing bits but including FCS octets) but were otherwise well formed. Equivalent to etherStatsOversizePkts in RMON.
x fragments
Total number of packets received that were fewer than 64 octets in length (excluding framing bits but including FCS octets), and had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error) or a bad FCS with a nonintegral number of octets (Alignment Error). Equivalent to etherStatsFragments in RMON.
x jabbers
Number of packets received that were longer than 1518 octets (excluding framing bits but including FCS octets), and had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error) or a bad FCS with a nonintegral number of octets (Alignment Error). Note that this definition of jabber is different than the definition in IEEE-802.3 section 8.2.1.5 (10BASE5) and section 10.3.1.4 (10BASE2). Equivalent to etherStatsJabbers in RMON.
x CRC alignment errors
Number of packets received that had a length (excluding framing bits but including FCS octets) from 64 to 1518 octets, inclusive, but had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error) or a bad FCS with a nonintegral number of octets (Alignment Error). Equivalent to etherStatsCRCAlignErrors in RMON.
x collisions
Best estimate of the total number of collisions on this Ethernet segment. Equivalent to etherHistoryCollisions in RMON.
# of dropped packet events (due to lack of resources):
Total number of events in which packets were dropped by the operation because of a lack of resources. Note that this number is not necessarily the number of packets dropped, it is just the number of times this condition has been detected. Equivalent to etherStatsDropEvents in RMON.
# of packets received of length (in octets):
Separates the received packets (good and bad) by packet size in the given ranges (64, 65 to 127,128 to 255, 256 to 511, 512 to 1023, 1024 to 1516).
Related Commands
Command
Description
rmon
Enables RMON on an Ethernet interface.
rmonalarm
Sets an alarm on any MIB object.
rmonevent
Adds or removes an event in the RMON event table that is associated with an RMON event number.
showrmon
Displays the current RMON agent status on the router.
show rmon topn
To display the contents of the router's RMON Top-N host table, use the
showrmontopncommand in EXEC mode.
showrmontopn
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Release
Modification
11.2
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Usage Guidelines
For additional information, refer to the RMON MIB described in RFC 1757.
You must have first enabled RMON on the interface, and configured RMON events to display alarm information with the
showrmoneventscommand.
This command is available on the Cisco 2500 series and Cisco AS5200 series only.
Examples
The following is sample output from theshowrmontopncommand:
Router# show rmon topn
Host Entry 1 of report 1 is active, owned by manager1
The rate of change is based on hostTopNInPkts
This report was last started at 00:00:00
Time remaining in this report is 0 out of 0
Hosts physical address is 00ad.beef.002b
Requested # of hosts: 10, # of hosts granted: 10
Report # 1 of Top N hosts entry 1 is recording
Host 0000.0c02.5808 at a rate of 12
The table below describes the significant fields shown in the display.
Table 11
show rmon topn Field Descriptions
Field
Description
Host Entry 1 of report 1 is active, owned by manager1
Unique index of the hostTopN entry, its current state, and the owner as defined in the hostTopNControlTable of RMON.
The rate of change is based on hostTopNInPkts
Variable for each host that the hostTopNRate variable is based on.
This report was last started at
Time the report was started.
Time remaining in this report is
Number of seconds left in the report currently being collected. Equivalent to hostTopNTimeRemaining in RMON.
out of
Number of seconds that this report has collected during the last sampling interval, or if this report is currently being collected, the number of seconds that this report is being collected during this sampling interval. Equivalent to hostTopNDuration in RMON.
Hosts physical address is
Host address.
Requested # of hosts:
Maximum number of hosts requested for the Top-N table. Equivalent to hostTopNRequestedSize in RMON.
# of hosts granted:
Maximum number of hosts granted for the Top-N table.Eqivalent to hostTopNGrantedSiz in RMON.
Report # 1 of Top N hosts entry 1 is recording
Report number and entry.
Host 0000.0c02.5808 at a rate of
Physical address of the host, and the amount of change in the selected variable during this sampling interval. Equivalent to hostTopNAddress and hostTopNRate in RMON.
Related Commands
Command
Description
rmon
Enables RMON on an Ethernet interface.
rmonalarm
Sets an alarm on any MIB object.
rmonevent
Adds or removes an event in the RMON event table that is associated with an RMON event number.
showrmon
Displays the current RMON agent status on the router.