(Optional) Configuring Dynamic BFD for IPv4 Static Routes
Pre-configuration Tasks
Before configuring dynamic BFD for IPv4 static routes, complete the following task:
-
Configure link layer parameters and IP addresses for interfaces to ensure that the link layer protocol on the interfaces is Up.
Procedure
- Run system-view
The system view is displayed.
- Run bfd
BFD is enabled globally.
- Run quit
Return to the system view.
- (Optional) Run ip route-static default-bfd [ min-rx-interval min-rx-interval ] [ min-tx-interval min-tx-interval ] [ detect-multiplier multiplier ]
Global BFD parameters are configured for static routes.
By default, the values of min-rx-interval, min-tx-interval, and detect-multiplier are 1000 ms, 1000 ms, and 3 respectively.
- Run ip route-static bfd [ interface-type interface-number ] nexthop-address [ local-address address ] [ min-rx-interval min-rx-interval | min-tx-interval min-tx-interval | detect-multiplier multiplier ] *
BFD parameters are configured for an IPv4 static route.
If interface-type interface-number is not specified, local-address address must be specified.
If none of min-rx-interval, min-tx-interval, and detect-multiplier is specified, the global default values of BFD parameters are used.
- Run ip route-static ip-address { mask | mask-length } { nexthop-address | interface-type interface-number [ nexthop-address ] } [ preference preference | tag tag ] * bfd enable [ description text ]
A public network static IPv4 route is bound to a BFD session.
When the type and number of the outbound interface of a static route are specified, and the VPN instance name is specified, a static route searches the routing table of the VPN instance for an outbound interface according to nexthop-address. Run the ip route-static vpn-instance vpn-source-name destination-address { mask | mask-length } interface-type interface-number [ nexthop-address ] [ preference preference | tag tag ] * bfd enable [ description text ] command to bind a dynamic BFD session to static routes.
- Run commit
The configuration is committed.