When a CE is dual-homed to PEs, you can associate DF with BFD. If an access link fails, this configuration accelerates the primary/backup DF switchover.
In a CE dual-homing scenario, to speed up primary/backup DF switching if an access link fails, you can create a BFD session between the two PEs, specify an access-side Eth-Trunk or PW-VE interface as the interface to be monitored by the BFD session, and then associate the interface with the BFD session. After the configuration is complete, if the access link connected to the PE on which the master DF resides goes faulty, BFD can rapidly detect the fault and transmit the fault to the other PE through the BFD session. This allows the backup DF to quickly become the primary DF.
The system view is displayed.
BFD is enabled globally, and the global BFD view is displayed.
Return to the system view.
The binding between a BFD session and a peer IP address is created, and the BFD session view is displayed. pe-ip-address indicates the IP address of the remote PE, and interface-type interface-number indicates the type and number of the Eth-Trunk or PW-VE interface on the access side.
To set the local discriminator, run the discriminator local discr-value command.
To set the remote discriminator, run the discriminator remote discr-value command.
The local discriminator at one end must be the remote discriminator at the other end.
Return to the system view.
The Eth-Trunk interface view or PW-VE interface view is displayed.
The interface is associated with the BFD session.
The configuration is committed.