You must configure or delete BFD for PWs on the two PEs of a PW simultaneously; otherwise, the PW status on the two PEs may be different. Perform the following operations on the two PEs of the PW to be detected.
The system view is displayed.
BFD for PWs is configured.
The outbound interface interface interface-type interface-number bound to a BFD session is the AC interface where a PW resides.
To detect a secondary PW, specify secondary.
Run discriminator local discr-value
The local discriminator is set.
Run discriminator remote discr-value
The remote discriminator is set.
The local discriminator at the local end must be the same as the remote discriminator at the peer end, and the remote discriminator at the local end must be the same as the local discriminator at the peer end.
The configuration is committed.
When the PW status is Down, a BFD session can be set up but cannot go Up.