set txqmonitor threshold

Use this command to set the action thresholds in number of consecutive errored sample intervals before a transmit queue monitoring action is triggered.

Syntax

set txqmonitor threshold {disableport | ignorepause | logging} sample-intervals

Parameters

disableport Specifies the threshold for disabling the port action.
ignorepause Specifies the threshold for the ignore pause frame action.
logging Specifies the threshold for the logging action.
sample-intervals Specifies the number of consecutive errored sample intervals required to trigger the specified action. Valid values are 1 - 4294967295 packets. The default values are:
  • disableport – 10 consecutive errored sample intervals
  • ignorepause – 5 consecutive errored sample intervals
  • logging – 2 consecutive errored sample intervals

Defaults

  • disableport – 10 consecutive errored sample intervals
  • ignorepause – 5 consecutive errored sample intervals
  • logging – 2 consecutive errored sample intervals

Mode

All command modes.

Usage

When transmit queue monitoring detects a stalled buffer, a set of three independently configured actions will occur if a configured threshold of consecutive errored sample intervals for each action is met:

  • The logging threshold generates a Syslog message notification that the stalled buffer condition exists
  • The ignore pause threshold disables processing of received pause packets on the port
  • The shutdown port threshold disables the port

Each action is independent.

Note

Note

Setting the disable port threshold to trigger before the ignore pause frames or logging thresholds causes these action thresholds to never be met and the action will not occur.

Examples

This example shows how to set the ignore pause frames action threshold to 4 sample intervals:

System(rw)->set txqmonitor threshold ignorepause 4
System(rw)->