Before a dynamic BGP BFD session is established, the capability to dynamically establish BGP BFD sessions must be enabled on each MPLS device.
Procedure
- Perform the following steps on the ingress of an E2E BGP tunnel:
- Run system-view
The system view is displayed.
- Run bfd
BFD is enabled globally.
- Run quit
Return to the system view.
- Run mpls
The MPLS view is displayed.
- Run mpls bgp bfd enable
The ability to dynamically establish BGP BFD sessions is enabled on the ingress.
The mpls bgp bfd enable command does not create a BFD session. A BGP BFD session can only be dynamically established only after a policy for dynamically establish BGP BFD session is configured.
- Run commit
The configuration is committed.
- Perform the following steps on the egress of an E2E BGP tunnel:
- Run system-view
The system view is displayed.
- Run bfd
BFD is enabled globally, and the BFD view is displayed.
- Run mpls-passive
The capability of passively creating a BFD session is configured on the egress.
The mpls-passive command does not create a BFD session. The egress has to receive an LSP ping request carrying a BFD TLV before creating a BFD session with the ingress.
- Run commit
The configuration is committed.