Failover Configuration In BDCOM Switch Or OLT
Failover Configuration In BDCOM Switch Or OLT, This configuration sets up Active-Backup Link Protection on a BDCOM switch, ensuring automatic failover between two uplinks. Let me break it down for you:
1. Backup Link Group Configuration
- backup-link-group 1 → Defines a backup link group (ID: 1).
- preemption-mode forced → Forces the primary link to become active again when it is restored.
- delay 3 → Introduces a 3-second delay before switching back to the primary link.
2. Configure the Primary Uplink (Active)
- GigaEthernet0/3 → Acts as the primary uplink.
- switchport mode trunk → Enables VLAN traffic forwarding.
- backup-link-group 1 active → Assigns this interface as the active link in Backup Link Group 1.
3. Configure the Backup Uplink (Passive)
- GigaEthernet0/4 → Serves as the backup uplink.
- switchport mode trunk → Enables VLAN traffic forwarding.
- backup-link-group 1 backup → Assigns this interface as the backup link in Backup Link Group 1.
4. How This Works
- Under normal conditions, GigaEthernet0/3 is active.
- If GigaEthernet0/3 fails, GigaEthernet0/4 automatically takes over.
- When GigaEthernet0/3 recovers, it automatically becomes active again after a 3-second delay due to
preemption-mode forced delay 3
.
5. Verify the Configuration
Run these commands to check the status:
6. Save Configuration
Ensure the settings are saved permanently:
Interface configuration
backup-link-group 1 preemption-mode forced delay 3
interface GigaEthernet0/3
description UPLINK-PRI
switchport mode trunk
backup-link-group 1 active
!
interface GigaEthernet0/4
description BACKUP
switchport mode trunk
backup-link-group 1 backup