Figure 1 Network diagram
Requirements analysis
To make sure Switch S can switch traffic to Link B when Link A fails, configure a static route with next
hop Switch B as a backup. Configure a lower priority for this static route than the priority for the static
route with next hop Switch A so that Link A is preferred.
To make sure Switch S can immediately detect failures on the link between Switch S and Switch A,
enable BFD on Switch S.
To make sure Link B takes effect immediately when Link A fails, enable FRR on Switch S by using a
routing policy:
To allow only matching packets to be switched to the backup link, specify an IP prefix list.
•
To configure the backup static route for link switchover, specify both the output interface and next
•
hop of the static route in the routing policy.
Configuration restrictions and guidelines
When you configure static route FRR, follow these restrictions and guidelines:
FRR takes effect only for static routes with both the output interface and next hop specified.
•
When you configure static routes, you must specify both the output interface and next hop for the
static routes.
•
Do not use static route FRR and static route BFD at the same time.
Software version used
This configuration example was created and verified on S12500-CMW520-R1825P01.
Configuration procedures
1.
Configure IP addresses and subnet masks for interfaces on the switches, as shown in
(Details not shown.)
2
Figure
1.