Remote Monitoring Commands

Use these M4500 CLI commands to configure RMON alarms, events, and history collection, and display RMON statistics, logs, and alarms.

Remote Monitoring (RMON) is a method of collecting a variety of data about network traffic. RMON supports 64-bit counters (RFC 3273) and High Capacity Alarm Table (RFC 3434).

NOTE: There is no configuration command for ether stats and high capacity ether stats. The data source for ether stats and high capacity ether stats are configured during initialization.

show rmon alarms

This command displays the entries in the RMON alarm table.

Format show rmon {alarms | alarm <index>}
Mode Privileged EXEC

Display Message

Fields Definition
index An index that uniquely identifies an entry in the table. Each entry defines a diagnostic sample at a particular interval for an object on the device. The range is 1 to 65535.
OID The object identifier of the particular variable to be sampled. Only variables that resolve to an ASN.1 primitive type of integer.
interval The interval in seconds over which the data is sampled and compared with the rising and falling thresholds. The range is 1 to 2147483647. The default is 1.
Sample Type The value of the statistic during the last sampling period. This object is a read-only, 32-bit signed value.
rising threshold The rising threshold for the sample statistics. The range is 2147483648 to 2147483647. The default is 1.
rising event index The index of the eventEntry that is used when a rising threshold is crossed. The range is 1 to 65535. The default is 1.
falling threshold The falling threshold for the sample statistics. The range is 2147483648 to 2147483647. The default is 1.
falling event index The index of the eventEntry that is used when a falling threshold is crossed. The range is 1 to 65535. The default is 2.
startup alarm The alarm that may be sent. Possible values are rising, falling or both rising-falling. The default is rising- falling.
owner The owner string associated with the entry. The default is monitorAlarm.

Example:

CODE
(M4500-48XF8C) #show rmon alarms
Index  OID                        Owner
-----  -------------------------  ---------------------------------------------
1      alarmInterval.1            mibbrowser
(M4500-48XF8C) #show rmon alarm 1
Alarm 1
----------
OID: alarmInterval.1
Last Sample Value: 5
Interval: 5
Sample Type: absolute
Startup Alarm: rising-falling
Rising Threshold: 100
Falling Threshold: 10
Rising Event: 1
Falling Event: 2
Owner: mibbrowser

show rmon collection history

This command displays the entries in the RMON history control table.

Format show rmon collection history [interfaces <slot/port>]
Mode Privileged EXEC

Display Message

Fields Definition
index An index that uniquely identifies an entry in the historyControl table. Each such entry defines a set of samples at a particular interval for an interface on the device. The range is 1 to 65535.
interface The source interface for which historical data is collected.
interval The interval in seconds over which the data is sampled. The range is 1 to 3600. The default is 1800.
requested samples The requested number of discrete time intervals over which data is to be saved. The range is 1 to 65535. The default is 50.
granted samples The number of discrete sampling intervals over which data shall be saved. This object is read-only. The default is 10.
owner The owner string associated with the entry. The default is monitorHistoryControl.

Example:

CODE
(M4500-48XF8C) #show rmon collection history
Index   Interface    Interval   Requested   Granted     Owner
                                 Samples    Samples
-----   ---------    --------   ---------   -------     -----------------------
1       0/1          30         50          10          monitorHistoryControl
2       0/1          1800       50          10          monitorHistoryControl
3       0/2          30         50          10          monitorHistoryControl
4       0/2          1800       50          10          monitorHistoryControl
5       0/3          30         50          10          monitorHistoryControl
6       0/3          1800       50          10          monitorHistoryControl
--More-- or (q)uit

(M4500-48XF8C) #show rmon collection history interfaces 0/1
Index   Interface    Interval   Requested   Granted     Owner
                                 Samples    Samples
-----   ---------    --------   ---------   -------     -----------------------
1       0/1          30         50          10          monitorHistoryControl
        0/1          1800       50          10          monitorHistoryControl

show rmon events

This command displays the entries in the RMON event table.

Format show rmon events
Mode Privileged EXEC

Display Message

Fields Definition
index An index that uniquely identifies an entry in the event table. Each such entry defines one event that is to be generated when the appropriate conditions occur. The range is 1 to 65535.
description A comment describing the event entry. The default is alarmEvent.
type The type of notification that the probe makes about the event. Possible values are None, Log, SNMP Trap, Log and SNMP Trap. The default is None.
community The SNMP community specific by this octet string which is used to send an SNMP trap. The default is public.
owner The owner string associated with the entry.
last time sent The last time over which a log or a SNMP trap message is generated.

Example:

CODE
(M4500-48XF8C) #show rmon events
Index  Description       Type      Community   Owner         Last time sent
-----  ----------------  --------  ----------  ---------     --------------------
1      test              log       public      monitorEvent  May 04 2020 01:04:35

show rmon history

This command displays the specified entry in the RMON history table.

Format show rmon history <index> {errors | other | throughput} [period <seconds>]
Mode Privileged EXEC

Display Message

Fields Definition
Common Fields
Sample set The index (identifier) for the RMON history entry within the RMON history group. Each such entry defines a set of samples at a particular interval for an interface on the device.
Owner The owner string associated with the history control entry. The default is monitorHistoryControl.
Interface The interface that was sampled.
Interval The time between samples, in seconds.
Requested samples The number of samples (interval) requested for the RMON history entry.
Granted samples The number of samples granted for the RMON history entry.
Maximum table size Maximum number of entries that the history table can hold.
Output for Errors Parameter
Time Time at which the sample is collected, displayed as period seconds.
CRC Align Number of CRC align errors.
Undersize Total number of undersize packets. Packets are less than 64 octets long (excluding framing bits, including FCS octets).
Oversize Total number of oversize packets. Packets are longer than 1518 octets (excluding framing bits, including FCS octets).
Fragments Total number of fragment packets. Packets are not an integral number of octets in length or had a bad Frame Check Sequence (FCS), and are less than 64 octets in length (excluding framing bits, including FCS octets).
Jabbers Total number of jabber packets. Packets are longer than 1518 octets (excluding framing bits, including FCS octets), and are not an integral number of octets in length or had a bad Frame Check Sequence (FCS).
Output for Other Parameter
Time Time at which the sample is collected, displayed as period seconds.
Dropped Collisions Total number of dropped collisions.
Output for Throughput Parameter
Time Time at which the sample is collected, displayed as period seconds.
Octets Total number of octets received on the interface.
Packets Total number of packets received (including error packets) on the interface.
Broadcast Total number of good broadcast packets received on the interface.
Multicast Total number of good multicast packets received on the interface.
Util Port utilization of the interface associated with the history index specified.

Example:

CODE
(M4500-48XF8C) #show rmon history 1 errors
Sample set: 1   Owner: monitorHistoryControl
Interface: 0/1   Interval: 30
Requested Samples: 50   Granted Samples: 10
Maximum table size: 630
Time                  CRC Align  Undersize Oversize  Fragments  Jabbers
--------------------  ---------  --------- --------  ---------  -------
May 06 2020 07:03:43  0          0         0         0          0
May 06 2020 07:04:13  0          0         0         0          0
May 06 2020 07:04:44  0          0         0         0          0
May 06 2020 07:05:14  0          0         0         0          0
May 06 2020 07:05:44  0          0         0         0          0
May 06 2020 07:06:14  0          0         0         0          0
May 06 2020 07:06:44  0          0         0         0          0
May 06 2020 07:07:14  0          0         0         0          0
May 06 2020 07:07:44  0          0         0         0          0
May 06 2020 07:08:15  0          0         0         0          0

(M4500-48XF8C) #show rmon history 1 other
Sample set: 1   Owner: monitorHistoryControl
Interface: 0/1   Interval: 30
Requested Samples: 50   Granted Samples: 10
Maximum table size: 630
Time                 Dropped Collisions
-------------------- ------- ----------
May 06 2020 07:04:13 0       0
May 06 2020 07:04:44 0       0
May 06 2020 07:05:14 0       0
May 06 2020 07:05:44 0       0
May 06 2020 07:06:14 0       0
May 06 2020 07:06:44 0       0
May 06 2020 07:07:14 0       0
May 06 2020 07:07:44 0       0
May 06 2020 07:08:15 0       0
May 06 2020 07:08:45 0       0

(M4500-48XF8C) #show rmon history 1 throughput
Sample set: 1   Owner: monitorHistoryControl
Interface: 0/1   Interval: 30
Requested Samples: 50   Granted Samples: 10
Maximum table size: 630
Time                 Octets     Packets   Broadcast Multicast  Util
-------------------- ------     -------   --------- ---------  ----
May 06 2020 07:04:13 0          0         0         0          0
May 06 2020 07:04:44 0          0         0         0          0
May 06 2020 07:05:14 0          0         0         0          0
May 06 2020 07:05:44 0          0         0         0          0
May 06 2020 07:06:14 0          0         0         0          0
May 06 2020 07:06:44 0          0         0         0          0
May 06 2020 07:07:14 0          0         0         0          0
May 06 2020 07:07:44 0          0         0         0          0
May 06 2020 07:08:15 0          0         0         0          0
May 06 2020 07:08:45 0          0         0         0          0

show rmon log

This command displays the entries in the RMON log table.

Format show rmon log [<event-index>]
Mode Privileged EXEC

Display Message

Fields Definition
Maximum table size Maximum number of entries that the log table can hold.
Event Event index for which the log is generated.
Description A comment describing the event entry for which the log is generated.
Time Time at which the event is generated.

Example:

CODE
(M4500-48XF8C) #show rmon log
Event   Description                   Time
-----   ---------------------------   --------------------

(M4500-48XF8C) #show rmon log 1
Maximum table size: 10
Event   Description                   Time
-----   ---------------------------   --------------------

show rmon statistics interfaces

This command displays the RMON statistics for the given interfaces.

Format show rmon statistics interfaces <slot/port>
Mode Privileged EXEC

Display Message

Fields Definition
Port slot/port
Dropped Total number of dropped events on the interface.
Octets Total number of octets received on the interface.
Packets Total number of packets received (including error packets) on the interface.
Broadcast Total number of good broadcast packets received on the interface.
Multicast Total number of good multicast packets received on the interface.
CRC Align Errors Total number of packets received have a length (excluding framing bits, including FCS octets) of between 64 and 1518 octets inclusive.
Collisions Total number of collisions on the interface.
Undersize Pkts Total number of undersize packets. Packets are less than 64 octets long (excluding framing bits, including FCS octets).
Oversize Pkts Total number of oversize packets. Packets are longer than 1518 octets (excluding framing bits, including FCS octets).
Fragments Total number of fragment packets. Packets are not an integral number of octets in length or had a bad Frame Check Sequence (FCS), and are less than 64 octets in length (excluding framing bits, including FCS octets).
Jabbers Total number of jabber packets. Packets are longer than 1518 octets (excluding framing bits, including FCS octets), and are not an integral number of octets in length or had a bad Frame Check Sequence (FCS).

Example:

CODE
(M4500-48XF8C) #show rmon statistics interfaces 0/1
Port: 0/1
Dropped: 0
Octets: 772245  Packets: 6477
Broadcast: 0  Multicast: 6477
CRC Align Errors: 0  Collisions: 0
Undersize Pkts: 0  Oversize Pkts: 0
Fragments: 0  Jabbers: 0
64 Octets: 414  65 - 127 Octets: 6063
128 - 255 Octets: 0  256 - 511 Octets: 0
512 - 1023 Octets: 0  1024 - 1518 Octets: 0
HC Overflow Pkts: 0  HC Pkts: 6477
HC Overflow Octets: 0  HC Octets: 772245
HC Overflow Pkts 64 Octets: 0  HC Pkts 64 Octets: 414
HC Overflow Pkts 65 - 127 Octets: 0  HC Pkts 65 - 127 Octets: 6063
HC Overflow Pkts 128 - 255 Octets: 0  HC Pkts 128 - 255 Octets: 0
HC Overflow Pkts 256 - 511 Octets: 0  HC Pkts 256 - 511 Octets: 0
HC Overflow Pkts 512 - 1023 Octets: 0  HC Pkts 512 - 1023 Octets: 0
HC Overflow Pkts 1024 - 1518 Octets: 0  HC Pkts 1024 - 1518 Octets: 0

show rmon hcalarms

This command displays the entries in the RMON high-capacity alarm table.

Format show rmon { hcalarms | hcalarm <index>}
Mode Privileged EXEC

Display Message

Fields Definition
Index An arbitrary integer index value used to uniquely identify the high capacity alarm entry. The range is 1 to 65535.
OID The object identifier of the particular variable to be sampled. Only variables that resolve to an ASN.1 primitive type of integer.
Interval The interval in seconds over which the data is sampled and compared with the rising and falling thresholds. The range is 1 to 2147483647. The default is 1.
Sample Type The method of sampling the selected variable and calculating the value to be compared against the thresholds. Possible types are Absolute Value or Delta Value. The default is Absolute Value.
Startup Alarm
Rising Threshold High The upper 32 bits of the absolute value for threshold for the sampled statistic. The range is 0 to 4294967295. The default is 0.
Rising Threshold Low The lower 32 bits of the absolute value for threshold for the sampled statistic. The range is 0 to 4294967295. The default is 1.
Rising Threshold Status This object indicates the sign of the data for the rising threshold, as defined by the objects hcAlarmRisingThresAbsValueLow and hcAlarmRisingThresAbsValueHigh. Possible values are valueNotAvailable, valuePositive, or valueNegative. The default is valuePositive.
Falling Threshold High The upper 32 bits of the absolute value for threshold for the sampled statistic. The range is 0 to 4294967295. The default is 0.
Falling Threshold Low The lower 32 bits of the absolute value for threshold for the sampled statistic. The range is 0 to 4294967295. The default is 1.
Falling Threshold Status This object indicates the sign of the data for the falling threshold, as defined by the objects hcAlarmFallingThresAbsValueLow and hcAlarmFallingThresAbsValueHigh. Possible values are valueNotAvailable, valuePositive, or valueNegative. The default is valuePositive.
Rising Event The index of the eventEntry that is used when a rising threshold is crossed. The range is 1 to 65535. The default is 1.
Falling Event The index of the eventEntry that is used when a falling threshold is crossed. The range is 1 to 65535. The default is 2.
Startup Alarm Alarm that sent when the entry is enabled. The default is rising-falling.
Owner The owner string associated with the alarm entry. The default is monitorHCAlarm.

Example:

CODE
(M4500-48XF8C) #show rmon hcalarms
Index  OID                        Owner
-----  -------------------------  ---------------------------------------------
1      alarmInterval.1            monitorHCAlarm

(M4500-48XF8C) #show rmon hcalarm 1
Alarm 1
----------
OID: alarmInterval.1
Last Sample Value: 5
Interval: 1
Sample Type: absolute
Startup Alarm: rising-falling
Rising Threshold High: 0
Rising Threshold Low: 1
Rising Threshold Status: Positive
Falling Threshold High: 0
Falling Threshold Low: 1
Falling Threshold Status: Positive
Rising Event: 1
Falling Event: 2
Startup Alarm: Rising-Falling
Owner: monitorHCAlarm

rmon alarm

This command sets the RMON alarm entry in the RMON alarm MIB group.

Format rmon alarm <index> <variable> <interval> {absolute | delta} rising-threshold <rising threshold>

[<rising event index>] falling-threshold <falling threshold> [<falling event index>] [startup {rising | falling | rising-falling}] [owner <owner string>]

Default None
Mode Global Config
Parameter Description
index An index that uniquely identifies an entry in the table. Each entry defines a diagnostic sample at a particular interval for an object on the device. The rage is 1 to 65535.
variable The object identifier of the particular variable to be sampled. Only variables that resolve to an ASN.1 primitive type of integer.
interval The interval in seconds over which the data is sampled and compared with the rising and falling thresholds. The range is 1 to 2147483647. The default is 1.
absolute The value of the statistic during the last sampling period. This object is a read-only, 32-bit signed value.
rising threshold The rising threshold for the sample statistics. The range is -2147483648 to 2147483647. The default is 1.
rising event index The index of the eventEntry that is used when a rising threshold is crossed. The range is 1 to 65535. The default is 1.
falling threshold The falling threshold for the sample statistics. The range is -2147483648 to 2147483647. The default is 1.
falling event index The index of the eventEntry that is used when a falling threshold is crossed. The range is 1 to 65535. The default is 2.
{rising | falling | rising-falling} The alarm that may be sent. Possible values are rising, falling or both rising-falling. The default is rising-falling.
owner string The owner string associated with the entry. The default is monitorAlarm.

Example:

CODE
(M4500-48XF8C) (Config)#rmon alarm 1 ifInErrors.2 30 absolute rising-threshold 100
1 falling-threshold 10 2 startup rising owner myOwner

no rmon alarm

This command deletes the RMON alarm entry

Format

Mode Global Config

rmon hcalarm

This command sets the RMON hcalarm entry in the High Capacity RMON alarm MIB group.

Format rmon hcalarm <index> <variable> <interval> {absolute | delta} rising-threshold high <value> low

<value> status {positive | negative} [rising-event-index] falling-threshold high <value> low <value> status {positive | negative} [falling-event-index] [startup {rising | falling | rising-falling}] [owner <owner string>]

Default None
Mode Global Config
Parameter Description
index An arbitrary integer index value used to uniquely identify the high capacity alarm entry. The range is 1 to 65535.
variable The object identifier of the particular variable to be sampled. Only variables that resolve to an ASN.1 primitive type of integer.
interval The interval in seconds over which the data is sampled and compared with the rising and falling thresholds. The range is 1 to 2147483647. The default is 1.
sample type The method of sampling the selected variable and calculating the value to be compared against the thresholds. Possible types are Absolute Value or Delta Value. The default is Absolute Value.
rising-threshold value high The lower 32 bits of the absolute value for threshold for the sampled statistic. The range is 0 to 4294967295. The default is 1.
rising-threshold value low The upper 32 bits of the absolute value for threshold for the sampled statistic. The range is 0 to 4294967295. The default is 0.
value status This object indicates the sign of the data for the rising threshold, as defined by the objects hcAlarmRisingThresAbsValueLow and hcAlarmRisingThresAbsValueHigh. Possible values are valueNotAvailable, valuePositive, or valueNegative. The default is valuePositive.
falling-threshold value high The lower 32 bits of the absolute value for threshold for the sampled statistic. The range is 0 to 4294967295. The default is 1.
rising-threshold value low The upper 32 bits of the absolute value for threshold for the sampled statistic. The range is 0 to 4294967295. The default is 0.
rising event index The index of the eventEntry that is used when a rising threshold is crossed. The range is 1 to 65535. The default is 1.
rising event index The index of the eventEntry that is used when a falling threshold is crossed. The range is 1 to 65535. The default is 2.
owner string The owner string associated with the alarm entry. The default is monitorHCAlarm.

Example:

CODE
(M4500-48XF8C) (Config)# rmon hcalarm 1 ifInOctets.1 30 absolute rising-threshold
high 1 low 100 status positive 1 falling-threshold high 1 low 10 status positive
startup rising owner myOwner

no rmon hcalarm

This command deletes the RMON hcalarm entry

Format no rmon hcalarm <index>
Mode Global Config

rmon event

This command sets the RMON event entry in the RMON event MIB group.

Default None
Format rmon event <event number> [description <string> | log | owner <owner string> | trap <community>]
Mode Global Config
Parameter Description
event number An number that uniquely identifies an entry in the event table. Each such entry defines one event that is to be generated when the appropriate conditions occur. The range is 1 to 65535.
string A comment describing the event entry. The default is alarmEvent.
type The type of notification that the probe makes about the event. Possible values are None, and Log, SNMP Trap, Log and SNMP Trap. The default is None.
owner string Owner string associate with the entry. The default is monitorEvent.
community The SNMP community specific by this octet string which is used to send an SNMP trap. The default is public.

Example:

CODE
(M4500-48XF8C) (Config)# rmon event 1 log description test

no rmon event

This command deletes the rmon event entry.

Format no rmon event <event number>
Mode Global Config

rmon collection history

This command sets the history control parameters of the RMON historyControl MIB group.

NOTE: This command is not supported on interface range. Each RMON history control collection entry can be configured on only one interface. If you try to configure on multiple interfaces, DUT displays an error.

Default None
Format rmon collection history <index> [buckets <number> | interval <interval> | owner <owner string>]
Mode Interface Config
Parameter Description
index An index that uniquely identifies an entry in the historyControl table. Each such entry defines a set of samples at a particular interval for an interface on the device. The range is 1 the 65535.
number The requested number of discrete time intervals over which data is to be saved The range is 1 to 65535. The default is 50.
interval The interval in seconds over which the data is sampled. The range is 1 to 3600. The default is 1800.
owner string The owner string associated with the entry. The default is monitorHistoryControl.

Example:

CODE
(M4500-48XF8C) (Interface 0/1)#rmon collection history 1 buckets 10 interval 30
owner myOwner

no rmon collection history

This command will delete the history control group entry with the specified index number.

Format no rmon collection history <index>
Mode Interface Config