R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)

11
Ste
p
Command
Remarks
3. (Optional.) Configure
the default preference
for static routes.
ip route-static default-preference
default-preference-value
The default setting is 60.
4. (Optional.) Delete all
static routes, including
the default route.
delete [ topology topo-name | vpn-instance
vpn-instance-name ] static-routes all
To delete one static route,
use the undo ip route-static
command.
Configuring BFD for static routes
IMPORTANT:
Enabling BFD for a flapping route could worsen the situation.
BFD provides a general-purpose, standard, medium-, and protocol-independent fast failure detection
mechanism. It can uniformly and quickly detect the failures of the bidirectional forwarding paths between
two routers for protocols, such as routing protocols and MPLS.
For more information about BFD, see High Availability Configuration Guide.
Bidirectional control mode
To use BFD bidirectional control detection between two devices, enable BFD control mode for each
device's static route destined to the peer.
To configure a static route and enable BFD control mode, use one of the following methods:
Specify an output interface and a direct next hop.
Specify an indirect next hop and a specific BFD packet source address for the static route.
To configure BFD control mode for a static route (direct next hop):
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure BFD
control mode for a
static route.
Method 1:
ip route-static dest-address { mask-length | mask }
interface-type interface-number next-hop-address
bfd control-packet [ preference preference-value ]
[ tag tag-value ] [ description description-text ]
Method 2:
ip route-static vpn-instance s-vpn-instance-name
dest-address { mask-length | mask } interface-type
interface-number next-hop-address bfd
control-packet [ preference preference-value ] [ tag
tag-value ] [ description description-text ]
Use either method.
By default, BFD control
mode for a static route is
not configured.
To configure BFD control mode for a static route (indirect next hop):
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A