S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
7-7
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 7 E Commands
errdisable detect cause link-down
errdisable detect cause link-down
To error disable and bring down a port on a link failure, use the
errdisable
detect cause link-down
command. To disable this feature, use the
no
form of the command.
errdisable detect cause link-down num-times
{
flaps numbe
r}
duration
{
sec
}
no errdisable detect cause link-down num-times
{
flaps numbe
r}
duration
{
sec
}
Syntax Description
Defaults
None.
Command Modes
Interface Configuration mode.
Command History
Usage Guidelines
None.
Examples
The following example shows how to configure the port as down when the link flaps once:
Switch#
configure terminal
Switch (config)#
interface fc1/1
Switch (config-if)#
errdisable detect cause link-down
The following example shows how to configure the port as down when the link flaps 5 times in 30
seconds:
Switch#
configure terminal
Switch (config)#
interface fc1/1
Switch (config-if)#
errdisable detect cause link-down num-times 5 duration 30
The following example shows how to remove the port guard feature on the interface:
Switch#
config t
Switch (config)#
interface fc1/1
Switch (config-if)#
no errdisable detect cause link-down
switch(config)#
num-times
flaps number
Specifies the number of flaps. The range is from 2 to 1023.
duration
sec
Specifies the duration in seconds. The range is from 1 to 2000000.
Release
Modification
NX-OS 4.1(3)
This command was introduced.