9
Step Command
Remarks
2.
Configure BFD
control mode for a
static route.
•
Approach 1:
ip route-static
dest-address
{
mask
|
mask-length
}
i
nterface-type
interface-number next-hop-address
bfd
control-packet
[
preference
preference-value
] [
tag
tag-value
] [
description
description-text
]
•
Approach 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
approach.
To configure BFD control mode for a static route (indirect next hop):
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure BFD
control mode for a
static route.
•
Approach 1:
ip
route-static
dest-address
{
mask
|
mask-length
}
{
next-hop-address
bfd
control-packet
bfd-source
ip-address
|
vpn-instance
d-vpn-instance-name
next-hop-address
bfd
control-packet
bfd-source
ip-address
} [
preference
preference-value
] [
tag
tag-value
] [
description
description-text
]
•
Approach 2:
ip route-static vpn-instance
s-vpn-instance-name
&<1-6>
dest-address
{
mask
|
mask-length
} {
next-hop-address
bfd
control-packet
bfd-source
ip-address
|
vpn-instance
d-vpn-instance-name
next-hop-address
bfd control-packet
bfd-source
ip-address
} [
preference
preference-value
] [
tag
tag-value
] [
description
description-text
]
Use either
command.
BFD echo mode
IMPORTANT:
•
Enabling BFD for a flapping route could worsen the situation. Therefore, use it with caution.
•
Do not use BFD for a static route with the output interface having the spoofing attribute.
With BFD echo mode enabled for a static route, the local device sends BFD echo packets to the peer,
which loops it back to test the link. For the echo mode, only one end needs to establish the BFD session,
and the source address of echo packets must be configured. To configure BFD echo mode for a static
route, you must specify both an output interface and a next hop for the static route.
To configure BFD echo mode for static routes:
Step Command
Remarks
1.
Enter system view.
system-view
N/A