2-317
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set errordetection
The rapid boot feature is available on the following modules:
WS-X6248-RJ45
WS-X6248-TELCO
WS-X6348-RJ45
WS-X6348-RJ21
WS-X6148-RJ45
WS-X6148-RJ21
The set errordetection link-errors global commands allow you to configure link error handling. When
entering the set errordetection link-errors commands, follow these guidelines:
set errordetection link-errors action {errordisable | port-failover}
If the error count for a port reaches the high value for the configurable threshold (within the
sampling count period specified), the action is either errordisable or port-failover. If you select
errordisable, the port goes into the errdisable state when the high threshold is reached. If you select
port-failover, the channel status of the port is considered. The port goes into the errdisable state if
the port is in a channel and is not the last operational port in the channel. The port also goes into
errdisable state if it is a single port.
set errordetection link-errors interval value
The interval value that you specify determines how often the error counter for a port is read.
set errordetection link-errors threshold {inerrors | rxcrc | txcrc} [high value] [low value]
The threshold values that you specify determine how many link errors are allowed during the
interval that you specify by entering the set errordetection interval value command. If the low
threshold is reached (within the sampling count period specified), a syslog message is displayed. If
the high threshold is reached (within the sampling count period specified), in addition to displaying
a syslog message, the port is either errdisabled or the port failover mechanism takes effect.
When you enter the inerrors keyword, the ifInErrors counter is checked. For packet-oriented
interfaces, the ifInErrors counter includes the number of inbo und pac kets tha t c on taine d error s
preventing them from being deliverable to a higher-layer protocol. For character-oriented or
fixed-length interfaces, the ifInErrors counter includes the number of inbou nd tra nsm ission u ni ts
that contained errors that prevented them from being delivered to a higher-layer prot ocol .
After the inerrors keyword, rx-threshold keyword, or the tx-threshold keyword, enter one of the
following options:
The low keyword and a value
The high keyword and a value
Both keywords and a value for each
set errordetection link-errors sampling value
To minimize the possibility of accidentally putting a port into the errdisable state because of a
one-time event that is not a true system error condition, you can specify a sampling value. This value
determines the number of times a port must reach the high or low threshold value before the port is
placed in the errdisable state. For example, if the high threshold value for a port is 1000 and the
sampling count is 3, the port is errdisabled only after it has reached the 1000 thre shold 3 consecutive
times.