R2511-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V5)

7
Ste
p
Command
Remarks
4. Delete all static
routes, including
the default route.
delete [ vpn-instance vpn-instance-name ] static-routes all
Optional.
To delete one static
route, use the undo ip
route-static
command.
Configuring BFD for static routes
Bidirectional forwarding detection (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
Multiprotocol Label Switching (MPLS). For more information about BFD, see High Availability
Configuration Guide.
BFD control packet mode
To use BFD control packets for bidirectional detection between two devices, enable BFD control packet
mode on each device for the static route destined to the peer.
To configure a static route and enable BFD control packet mode for it, specify an outgoing interface and
a direct next hop, or specify an indirect next hop and a specific BFD packet source address for the static
route.
To configure a static route with BFD control packet mode enabled (direct next hop):
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure a static
route and enable
BFD control packet
mode for it.
Method 1:
ip route-static dest-address { mask | mask-length }
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&<1-6>
dest-address { mask | mask-length } interface-type
interface-number next-hop-address bfd control-packet
[ preference preference-value ] [ tag tag-value ] [ description
description-text ]
Use either
method.
Support for the
keyword
vpn-instance
depends on the
device model.
To configure a static route with BFD control packet mode enabled (indirect next hop):
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A