The ip route-static bfd command sets the BFD parameters for a static route.
The undo ip route-static bfd command cancels BFD parameters of a static route.
By default, BFD parameters of a static route are not set.
ip route-static bfd { interface-name | interface-type interface-number } { nexthop-address | dhcp } [ local-address address ] [ min-rx-interval min-rx-interval | min-tx-interval min-tx-interval | detect-multiplier multiplier ] *
ip route-static bfd [ vpn-instance vpn-instance-name ] nexthop-address local-address address [ min-rx-interval min-rx-interval | min-tx-interval min-tx-interval | detect-multiplier multiplier ] *
undo ip route-static bfd { interface-name | interface-type interface-number } { nexthop-address | dhcp }
undo ip route-static bfd [ vpn-instance vpn-instance-name ] nexthop-address
Parameter | Description | Value |
---|---|---|
interface-type |
Specifies the interface type. |
- |
interface-number |
Specifies the interface number. |
- |
nexthop-address |
Specifies the next hop address. |
The value is in dotted decimal notation. |
dhcp |
Associates the static route with DHCP. |
- |
local-address address |
Specifies the local address. |
The value is in dotted decimal notation. |
min-rx-interval min-rx-interval |
Specifies the minimum interval at which BFD packets are received. |
The value is an integer ranging from 3 to 20000, in milliseconds. The default value is 10. |
min-tx-interval min-tx-interval |
Specifies the minimum interval at which BFD packets are sent. |
The value is an integer ranging from 3 to 20000, in milliseconds. The default value is 10. |
detect-multiplier multiplier |
Specifies the detection time multiplier. |
The value is an integer ranging from 3 to 50. The default value is 3. |
vpn-instance vpn-instance-name |
Specifies the name of the VPN instance that the next hop belongs to. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
To configure BFD parameters for a static route, run the ip route-static bfd command.
Implementation Procedure
When setting BFD parameters for a static route, you need to specify the outbound interface or next hop.
Configuration Impact
To modify BFD parameters, you need to update BFD parameters of all the corresponding static routes.
If BFD parameters are configured, but the local-address ip-address parameter is not, BFD sessions may fail to be negotiated. If the undo ipv6 route-static bfd command is run, the static route is unbound from all BFD sessions. Therefore, exercise caution when running the command.Precautions