Cisco MDS 9000 Series Configuration Manual page 69

Interface
Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

Configuring Interfaces
This example shows how to configure portguard to set an interface to Error Disabled state if the link flaps five times
within 120 seconds due to multiple causes. The portguard controls the interface in the following manner:
• The interface will be error disabled due to link down if there are link failures due to bit errors 2 times and link failures
due to credit loss 3 times in 120 seconds.
• The interface will be error disabled due to bit errors if there are link failures due to bit errors 5 times in 120 seconds.
• The interface will be error disabled due to credit loss if there are link failures due to credit loss 5 times in 120 seconds.
Example
This example shows how to configure portguard to bring a port to down state if the link flaps 5 times
within 120 seconds based on multiple causes:
switch# configure terminal
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
switch (config-if)# errdisable detect cause credit-loss num-times 5 duration 120
The above example sets the configuration to the following status:
• The port will be error disabled due to bit errors if the port suffers link failure due to bit errors
5 times in 120 seconds.
• The port will be error-disabled due to credit loss if the port suffers link failure due to credit loss
5 times in 120 seconds.
• The port will be error-disabled due to link down if the port suffers link failure due to bit errors
2 times and link-failure due to credit loss 3 times in 120 seconds.
This example shows the internal information about a port in down state because of TrustSec violation:
switch# show interface fc1/9
fc1/9 is trunking
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:09:54:7f:ee:eb:dc:00
Peer port WWN is 20:49:8c:60:4f:53:bb:80
Admin port mode is auto, trunk mode is on
snmp link state traps are enabled
Port mode is TE
Port vsan is 1
Admin Speed is auto max 16 Gbps
Operating Speed is 4 Gbps
Rate mode is dedicated
Port flow-control is R_RDY
Transmit B2B Credit is 500
Receive B2B Credit is 500
B2B State Change Number is 14
Cisco MDS 9000 Series Interfaces Configuration Guide, Release 8.x
Configuring the Port-Level Portguard
51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents