errdisable cause
Use this command to globally shut down a port when certain errors happen:
• BPDU guard puts an interface configured for Spanning Tree Protocol (STP) Port Fast into the ErrDisable state upon receipt of a STP BPDU to avoid a potential bridging loop.
• If one side of a link-access group (LAG) is configured as a static LAG and the other side as a dynamic LAG, the ports on the side receiving LACP BPDUs go into the ErrDisable state
Note: When link-flap ErrDisable is enabled globally, then all interfaces are enabled. Link-flap ErrDisable can be enabled globally, but disabled for a specific interface with the no link-flap errdisable command.
Use no form of this command to not shut down a port when certain errors happen.
Command Syntax
errdisable cause stp-bpdu-guard
no errdisable cause stp-bpdu-guard
errdisable cause {lag-mismatch|link-flap}
no errdisable cause {lag-mismatch|link-flap}
Parameters
stp-bpdu-guard
ErrDisable on stp-bpdu-guard
lag-mismatch
ErrDisable on lag-mismatch
link-flap
ErrDisable on link-flap
Default
STP-BPDU-Guard is enabled by default on the global level configuration.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#errdisable cause lag-mismatch
Last modified date: 07/13/2023