Cisco MDS 9000 Series Configuration Manual page 53

Nx-os interfaces multilayer switches
Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

Chapter 2
Configuring Interfaces
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
Bit-errors
Signal loss
Sync loss
Link reset
Credit loss
Additional causes might be the following:
To enable or disable the port guard for a port, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# interface fc1/1
Step 3
switch(config)# errdisable detect cause
link-down
switch(config)# errdisable detect cause
link-down [num-times number duration
seconds]
switch(config)# no errdisable detect cause
link-down
Step 4
switch(config)# errdisable detect cause
{trustsec-violation | bit-errors |
credit-loss | link-reset | signal-loss |
sync-loss}
switch(config)# errdisable detect cause
{trustsec-violation | bit-errors |
credit-loss | link-reset | signal-loss |
sync-loss} [num-times number duration
seconds]
switch(config)# no errdisable detect cause
{trustsec-violation | bit-errors |
credit-loss | link-reset | signal-loss |
sync-loss}
Link down is the superset of all other causes. A port is brought to down state if the total number of other
causes equals to the number of allowed link-down failures.
This example shows how to configure port guard to bring a port to down state if the link flaps 5 times
within 120 seconds based on multiple causes:
Switch# config t
Switch (config)# interface fc1/1
Switch (config-if)# errdisable detect cause link-down num-times 5 duration 120
Switch (config-if)# errdisable detect cause bit-errors num-times 5 duration 120
OL-19445-02, Cisco MDS NX-OS Release 4.2(x)
Not operational (NOS).
Too many interrupts.
Cable is disconnected.
Hardware recoverable errors.
The connected device rebooted (F ports only).
The connected linecard rebooted (ISL only).
Purpose
Enters configuration mode.
Selects the port interface.
Brings the port to down state if the link flaps
once.
Brings the port to down state if the link flaps for
the number of instances within the specified
seconds.
Removes (default) the port guard configuration
for the interface. The link resumes flapping and
sending error reports normally.
Brings the port to down state if the specified
error occurs even once.
Brings the port to down state if the specified
error occurs for the number of instances within
the specified seconds.
Removes (default) the port guard configuration
for the interface. The link resumes flapping and
sending error reports normally.
Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide
Configuring Port Guard
2-33

Advertisement

Table of Contents
loading

Table of Contents