Error-disable recovery is a feature that automatically re-enables interfaces or ports that have been shut down due to error conditions such as link OAM failures, UDLD violations, STP BPDU guard events, or L2VPN MAC move detections. When an error-disable condition is detected, IOS-XR places the affected interface in an error-disabled state to prevent further issues.
Key Components:
Recovery Cause Settings (recovery_cause): Configures recovery intervals for various error-disable conditions.
Key Parameters Briefly Explained:
recovery_cause: Recovery interval settings for link OAM, UDLD, STP, L2VPN, and other error conditions.
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value error_disable Class error_disable No
Name Type Constraint Mandatory Default Value recovery_cause Class recovery_cause No
Name Type Constraint Mandatory Default Value link_ oam_ session_ down_ interval Integer min: 30, max: 1000000 No link_ oam_ discovery_ timeout_ interval Integer min: 30, max: 1000000 No link_ oam_ capabilities_ conflict_ interval Integer min: 30, max: 1000000 No link_ oam_ miswired_ interval Integer min: 30, max: 1000000 No link_ oam_ link_ fault_ interval Integer min: 30, max: 1000000 No link_ oam_ dying_ gasp_ interval Integer min: 30, max: 1000000 No link_ oam_ critical_ event_ interval Integer min: 30, max: 1000000 No link_ oam_ threshold_ breached_ interval Integer min: 30, max: 1000000 No stp_ bpdu_ guard_ interval Integer min: 30, max: 1000000 No stp_ legacy_ bpdu_ interval Integer min: 30, max: 1000000 No cluster_ udld_ interval Integer min: 30, max: 1000000 No cluster_ minlinks_ interval Integer min: 30, max: 1000000 No udld_ unidirectional_ interval Integer min: 30, max: 1000000 No udld_ neighbor_ mismatch_ interval Integer min: 30, max: 1000000 No udld_ timeout_ interval Integer min: 30, max: 1000000 No udld_ loopback_ interval Integer min: 30, max: 1000000 No pvrst_ pvid_ mismatch_ interval Integer min: 30, max: 1000000 No l2vpn_ bport_ mac_ move_ interval Integer min: 30, max: 1000000 No ot_ track_ state_ change_ interval Integer min: 30, max: 1000000 No link_ oam_ dampening_ interval Integer min: 30, max: 1000000 No
Example-1: Configure error disable recovery for Link OAM related error conditions.
link_oam_session_down_interval : 420
link_oam_link_fault_interval : 424
link_oam_dying_gasp_interval : 425
Example-2: Configure error disable recovery for UDLD (UniDirectional Link Detection) violations.
udld_unidirectional_interval : 432
udld_neighbor_mismatch_interval : 433
udld_timeout_interval : 434
Example-3: Configure error disable recovery for STP and L2VPN error conditions to automatically re-enable affected ports.
stp_bpdu_guard_interval : 428
pvrst_pvid_mismatch_interval : 436
l2vpn_bport_mac_move_interval : 437