Network requirements, Configuration procedure – H3C Technologies H3C MSR 50 User Manual
Page 55
47
Static routing-Track-BFD collaboration configuration example
Network requirements
As shown in
, Router A, Router B, and Router C are connected to two segments 20.1.1.0/24 and
30.1.1.0/24. Configure static routes on these routers so that the two segments can communicate with
each other. Configure route backup to improve network reliability.
Router A is the default gateway of the hosts in segment 20.1.1.0/24. Two static routes to 30.1.1.0/24 exist
on Router A, with the next hop being Router B and Router C, respectively. These two static routes back up
each other, where:
•
The static route with Router B as the next hop has a higher priority, and is the master route. If this
route is available, Router A forwards packets to 30.1.1.0/24 through Router B.
•
The static route with Router C as the next hop acts as the backup route.
•
Configure static routing-Track-BFD collaboration to determine whether the master route is available
in real time. If the master route is unavailable, BFD can quickly detect the route failure to make the
backup route take effect. Router A forwards packets to 30.1.1.0/24 through Router C and Router B.
Similarly, Router B is the default gateway of the hosts in segment 30.1.1.0/24. Two static routes to
20.1.1.0/24 exist on Router B, with the next hop being Router A and Router C, respectively. These two
static routes back up each other, where:
•
The static route with Router A as the next hop has a higher priority, and is the master route. If this
route is available, Router B forwards packets to 20.1.1.0/24 through Router A.
•
The static route with Router C as the next hop acts as the backup route.
•
Configure static routing-Track-BFD collaboration to determine whether the master route is available
in real time. If the master route is unavailable, BFD can quickly detect the route failure to make the
backup route take effect. Router B forwards packets to 20.1.1.0/24 through Router C and Router A.
Figure 15 Network diagram
Configuration procedure
1.
Configure the IP address of each interface as shown in
. (Details not shown.)
2.
Configure Router A:
# Configure a static route to 30.1.1.0/24, with the address of the next hop as 10.2.1.2 and the
default priority 60. This static route is associated with track entry 1.
[RouterA] ip route-static 30.1.1.0 24 10.2.1.2 track 1
# Configure a static route to 30.1.1.0/24, with the address of the next hop as 10.3.1.3 and the
priority 80.