set rmon stats

Use this command to configure an RMON statistics entry.

Syntax

set rmon stats index port-string [owner] [direction {rx+tx | rx | tx}]

Parameters

index Specifies an index for this statistics entry.
port-string Specifies port to which this entry will be assigned.
owner (Optional) Assigns a management station owner for this entry.
direction (Optional) Specifies the configuration of statistics collection direction.
rx+tx Configures the direction of statistics collection for both receive and transmit.
rx Configures the direction of statistics collection for receive only.
tx Configures the direction of statistics collection for transmit only.

Defaults

If owner is not specified, monitor will be applied.

If direction is not specified, statistics collection is both receive and transmit.

Mode

All command modes.

Usage

The recording of current statistics measured by the RMON probe for each monitored interface on the device is a function of the RMON statistics group. The statistics group function monitors packet types: broadcast, multicast, dropped, collisions, CRC errored, over and undersized, fragments, and jabbers. RMON gathers the sum of received and transmitted counters by default.

RMON statistics can be configured to gather the sum of received and transmitted counter, received only, or transmitted only by setting the statistics direction.

On the 7100-Series, oversized packets are not counted on a port that is not enabled for jumbo frames. On a jumbo enabled port, any packet received that is greater than 1518 bytes will be counted as oversized packet in the RMON statistics display using show rmon stats. If this oversized packet has an invalid CRC, it will be considered a jabber packet rather than an oversized packet. Use set port jumbo to enable jumbo frame support on a port.

Example

This example shows how to configure RMON statistics entry 2 for tg.1.20:

System(rw)->set rmon stats 2 tg.1.20