Static route frr configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual
Page 32
16
Static route FRR configuration example
Network requirements
Router S, Router A, and Router D are interconnected through static routes, as illustrated in
Configure static route FRR so that when the link between Router S and Router D fails, traffic can be
switched to Link B immediately.
Figure 3 Network diagram
Configuration procedure
1.
Configure IP addresses for the interfaces on each router and configure static routes:
Follow
to configure the IP address and subnet mask of each interface on the routers.
(Details not shown)
Configure static routes on Router S, Router A, and Router D so that Router S can reach Loopback
0 on Router D and Router D can reach Loopback 0 on Router S.
# Configure a static route on Router S.
[RouterS] ip route-static 4.4.4.4 32 GigabitEthernet 3/1/2 13.13.13.2
[RouterS] ip route-static 4.4.4.4 32 GigabitEthernet 3/1/2 12.12.12.2 preference 65
# Configure a static route on Router D.
[RouterD] ip route-static 1.1.1.1 32 GigabitEthernet 3/1/2 13.13.13.1
[RouterD] ip route-static 1.1.1.1 32 GigabitEthernet 3/1/2 24.24.24.2 preference 65
# Configure a static route on Router A.
[RouterA] ip route-static 4.4.4.4 32 GigabitEthernet 3/1/2 24.24.24.4
[RouterA] ip route-static 1.1.1.1 32 GigabitEthernet 3/1/1 12.12.12.1
2.
Configure static route FRR:
# Configure Router S.
[RouterS] bfd echo-source-ip 1.1.1.1
[RouterS] ip ip-prefix abc index 10 permit 4.4.4.4 32
[RouterS] route-policy frr permit node 10
[RouterS-route-policy] if-match ip-prefix abc
[RouterS-route-policy] apply fast-reroute backup-interface GigabitEthernet 3/1/1
backup-nexthop 12.12.12.2
[RouterS-route-policy] quit
[RouterS] ip route-static fast-reroute route-policy frr
# Configure Router D.
- H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module