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.
Note: Stp-Bpdu-Guard is enabled by default on the global level configuration.
Use no form of this command to not shut down a port when certain errors happen.
Command Syntax
errdisable cause {stp-bpdu-guard|lag-mismatch|link-flap|mac-move-limit}
no errdisable cause {stp-bpdu-guard|lag-mismatch|link-flap|mac-move-limit}
Parameters
stp-bpdu-guard
ErrDisable on stp-bpdu-guard
lag-mismatch
ErrDisable on lag-mismatch
link-flap
ErrDisable on link-flap
mac-move-limit
Enable or Disable Mac-Move-Limit
Default
No default value is specified
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/06/2023