Network requirements – H3C Technologies H3C SR8800 User Manual
Page 33
17
[RouterD] bfd echo-source-ip 4.4.4.4
[RouterD] ip ip-prefix abc index 10 permit 1.1.1.1 32
[RouterD] route-policy frr permit node 10
[RouterD-route-policy] if-match ip-prefix abc
[RouterD-route-policy] apply fast-reroute backup-interface GigabitEthernet 3/1/1
backup-nexthop 24.24.24.2
[RouterD-route-policy] quit
[RouterD] ip route-static fast-reroute route-policy frr
3.
Verify the configuration:
# Display route 4.4.4.4/32 on Router S to view the backup next hop information.
[RouterS] display ip routing-table 4.4.4.4 verbose
Routing Table : Public
Summary Count : 1
Destination: 4.4.4.4/32
Protocol: Static Process ID: 0
Preference: 60 Cost: 0
IpPrecedence: QosLcID:
NextHop: 13.13.13.2 Interface: GigabitEthernet3/1/2
BkNextHop: 12.12.12.2 BkInterface: GigabitEthernet3/1/1
RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0
Tunnel ID: 0x0 Label: NULL
State: Active Adv Age: 00h01m27s
Tag: 0
# Display route 1.1.1.1/32 on Router D to view the backup next hop information.
[RouterS] display ip routing-table 1.1.1.1 verbose
Routing Table : Public
Summary Count : 1
Destination: 1.1.1.1/32
Protocol: Static Process ID: 0
Preference: 60 Cost: 0
IpPrecedence: QosLcID:
NextHop: 13.13.13.1 Interface: GigabitEthernet3/1/2
BkNextHop: 24.24.24.2 BkInterface: GigabitEthernet3/1/1
RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0
Tunnel ID: 0x0 Label: NULL
State: Active Adv Age: 00h01m27s
Tag: 0
BFD for static routes configuration example (direct session)
Network requirements
As shown in
, configure a static route to subnet 120.1.1.0/24 on Router A and configure a static
route to subnet 121.1.1.0/24 on Router B. Enable BFD for both routes so that when the link between Router
A and Router B through the Layer 2 switch fails, BFD can detect the failure immediately and Router A and
Router B can communicate through Router C.