Configuring the BFD for OSPF Feature
Procedure
- Run system-view
The system view is displayed.
- Run ospf [ process-id ]
The OSPF view is displayed.
- Run bfd all-interfaces enable
BFD for OSPF is enabled to establish BFD sessions.
If all the interfaces in a certain process are configured with BFD and their neighbor relationships are in Exstart state, OSPF establishes BFD sessions on all the interfaces in the process.
To set parameters for BFD sessions, run the bfd all-interfaces { min-rx-interval receive-interval | min-tx-interval transmit-interval | detect-multiplier multiplier-value | frr-binding } * command.- The parameter min-rx-interval receive-interval specifies the expected minimum interval for receiving BFD packets from a neighbor.
- The parameter min-tx-interval transmit-interval specifies the minimum interval for sending BFD packets to a neighbor.
- The parameter detect-multiplier multiplier-value specifies the local detection multiplier.
- The parameter frr-binding indicates that the status of the BFD session is bound to OSPF IP FRR.
If only the bfd all-interfaces { min-rx-interval receive-interval | min-tx-interval transmit-interval | detect-multiplier multiplier-value | frr-binding } * command is run to set BFD parameters but the bfd all-interfaces enable command is not run, BFD is not enabled.
- Run commit
The configuration is committed.