(Optional) Configuring Static BFD for IPv4 Static Routes
Pre-configuration Tasks
Before configuring static BFD for IPv4 static routes, complete the following tasks:
Configure link layer parameters and IP addresses for interfaces to ensure network-layer communication between neighbor nodes.
Configure BFD sessions.
For details, see "BFD Configuration" in the CloudEngine 12800 and 12800E Series Switches- Configuration Guide - Reliability.
Procedure
- Run system-view
The system view is displayed.
- Run either of the following commands as required:
Run ip route-static ip-address { mask | mask-length } { nexthop-address | interface-type interface-number [ nexthop-address ] | vpn-instance vpn-instance-name nexthop-address } track bfd-session cfg-name [ description text ]
A BFD session is bound to an IPv4 static route on the public network.
Run ip route-static vpn-instance vpn-source-name destination-address { mask | mask-length } { nexthop-address | interface-type interface-number [ nexthop-address ] | vpn-instance vpn-instance-name nexthop-address } track bfd-session cfg-name [ description text ]
A BFD session is bound to an IPv4 static route on the VPN network.
Before binding a static route to a BFD session, ensure that the BFD session and the static route reside on the same link.
- Run commit
The configuration is committed.