11
Step Command
Remarks
2.
Configure static route
FRR.
•
Method 1:
ip route-static
dest-address
{
mask-length
|
mask
}
interface-type
interface-number
[
next-hop-address
[
backup-interface
interface-type
interface-number
[
backup-nexthop
backup-nexthop-address
] ] ] [
permanent
]
[
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
[
backup-interface
interface-type
interface-number
[
backup-nexthop
backup-nexthop-address
] ] ] [
permanent
]
[
preference
preference-value
] [
tag
tag-value
] [
description
description-text
]
Use either method.
By default, static route FRR is
not configured.
Configuring static route FRR to automatically select a backup next hop
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure static route FRR to
automatically select a backup next
hop.
ip route-static fast-reroute auto
By default, static route FRR is
disabled.
Enabling BFD echo packet mode for static route FRR
By default, static route FRR does not use BFD to select primary link failures. Perform this task to enable
static route FRR to use BFD echo packet mode for fast failure detection on the primary link.
To enable BFD echo packet mode for static route FRR:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the source IP
address of BFD echo packets.
bfd echo-source-ip
ip-address
By default, the source IP address of
BFD echo packets is not
configured.
3.
Enable BFD echo packet
mode for static route FRR.
ip route-static primary-path-detect
bfd echo
By default, BFD echo packet mode
for static route FRR is disabled.
Displaying and maintaining static routes
Execute
display
commands in any view.