About the Matrix DFE 'clear rmon stats' Command

  • 0
  • 1
  • Article
  • Updated 4 years ago
  • (Edited)
Article ID: 5434 

Products
DFE

Protocols/Features
RMON

Commands
'clear rmon stats'

Symptoms
Cannot clear rmon statistics

Cause
The operation of the 'rmon stats' commands can be confusing, and is not clearly documented in the Configuration Guides.

From a user perspective, clearing an RMON stats entry causes it to disappear from any future RMON queries, and restoring to defaults causes it to reappear - with all of the accumulated statistics it originally had, plus any additional activity since then.

An example of such a management session follows:
 Matrix N3 Platinum(su)->show version

Copyright (c) 2004 by Enterasys Networks, Inc.

Slot Model Serial # Versions
------ ---------------- -------------------- -------------
1 7H4382-49 031800153248 Hw: 4
Bp: 01.00.05
Fw: 04.11.16
2 7G4270-12 03130018320A Hw: 2
Bp: 01.00.05
Fw: 04.11.16

Matrix N3 Platinum(su)->show rmon stats fe.1.11

Port: fe.1.11
--------------------
Index = 1011
Owner = monitor
Data Source = 1.3.6.1.2.1.2.2.1.1.11011

Drop Events = 0 Packets = 269690
Collisions = 0 Octets = 24486240
Jabbers = 0 0 - 64 Octets = 182817
Broadcast Pkts = 42729 65 - 127 Octets = 72164
Multicast Pkts = 197603 128 - 255 Octets = 8206
CRC Errors = 0 256 - 511 Octets = 694
Undersize Pkts = 0 512 - 1023 Octets = 4360
Oversize Pkts = 3 1024 - 1518 Octets = 23
Fragments = 0

Matrix N3 Platinum(su)->clear rmon stats 1011
Matrix N3 Platinum(su)->show rmon stats fe.1.11

Matrix N3 Platinum(su)->clear rmon stats to-defaults
Matrix N3 Platinum(su)->show rmon stats fe.1.11

Port: fe.1.11
--------------------
Index = 1011
Owner = monitor
Data Source = 1.3.6.1.2.1.2.2.1.1.11011

Drop Events = 0 Packets = 269780
Collisions = 0 Octets = 24492806
Jabbers = 0 0 - 64 Octets = 182876
Broadcast Pkts = 42734 65 - 127 Octets = 72193
Multicast Pkts = 197678 128 - 255 Octets = 8208
CRC Errors = 0 256 - 511 Octets = 694
Undersize Pkts = 0 512 - 1023 Octets = 4360
Oversize Pkts = 3 1024 - 1518 Octets = 23
Fragments = 0

Matrix N3 Platinum(su)->

The structure of the RMON tables consists of the underlying data maintained by the hardware; and the overlying table structures maintained by the firmware, which may be used to access the underlying data.

The 'rmon stats' commands manipulate the table structure, while having no effect upon the underlying data:
  • The 'show rmon stats  <port>' command displays the hardware-accumulated RMON data for the referenced physical port (or otherwise for all ports).
  • The 'clear rmon stats  <index>' command deletes the table entry for the referenced port index.
  • The 'clear rmon stats to-defaults' command deletes, then recreates, all RMON statistics entries for all ports - again making the underlying RMON data visible.

With earlier firmware, it is not possible to clear the underlying RMON data, short of rebooting the DFE System (5233 does not apply).

Solution
To clear RMON statistics for a port; upgrade to firmware 5.31.17 or higher, and use the 'clear rmon stats counters  <port>' command.
 Matrix N3 Platinum(su)->clear rmon stats counters fe.1.11

Matrix N3 Platinum(su)->

Firmware 5.31.17 release notes state, in the 'Changes made in 5.31.17' section:
This version allows for the zeroing of the stats counters when using RMON. A CLI command 'clear rmon stats counters' has been created to allow counters to be cleared. This feature has been introduced to aid debugging.

Pre-upgrade workarounds:
  • Use an external management tool, such as NetSight Atlas' Device Manager. After right-clicking a port, you can go into RMON Ethernet Statistics, and view them with either a "Poll", "Delta", or "Accumulate" option. The latter two options display from an assumed zero count.
  • If seeking a recent history of traffic, the 'show rmon history' command should be helpful.
Photo of FAQ User

FAQ User, Official Rep

  • 13,610 Points 10k badge 2x thumb

Posted 4 years ago

  • 0
  • 1

There are no replies.

This conversation is no longer open for comments or replies.