errdisable packet-inerror-detect

Enables the device to monitor configured ports for inError packets and defines the sampling time interval in which the number of inError packets is counted.
Syntax
errdisable packet-inerror-detect sampling-interval
no errdisable packet-inerror-detect sampling-interval
Command Default

There is no monitoring for inError packets on any port of the device.

Parameters
sampling-interval
Specifies the sampling interval in seconds. It can take a value in the inclusive range of 2 through 60 seconds.
Modes

Global configuration mode

Usage Guidelines

If the number of inError packets exceeds the configured threshold for two consecutive sampling windows, then the configured port is error-disabled. The no form of this command disables this monitoring.

Examples

The following example sets the sampling interval in which the number of inError packets is counted to three seconds.

device(config)# errdisable packet-inerror-detect 3
History
Release version Command history
07.3.00g This command was introduced.