![H3C S5500-EI series Configuration Manual Download Page 140](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960140.webp)
123
3.1.1.0/24 O_ASE 150 1 10.2.1.2 Vlan200
3.1.2.0/24 O_ASE 150 1 10.2.1.2 Vlan200
10.1.1.0/24 Direct 0 0 10.1.1.1 Vlan100
10.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
10.2.1.0/24 Direct 0 0 10.2.1.1 Vlan200
10.2.1.1/32 Direct 0 0 127.0.0.1 InLoop0
10.3.1.0/24 OSPF 10 4 10.1.1.2 Vlan100
10.4.1.0/24 OSPF 10 13 10.2.1.2 Vlan200
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
The route destined for 10.5.1.1/24 is filtered out.
Configuring OSPF FRR
Network requirements
Switch S, Switch A, and Switch D belong to the same OSPF domain as illustrated in
. Configure
OSPF FRR so that when the link between Switch S and Switch D fails, traffic can be switched to Link B
immediately.
Figure 47
Network diagram
Switch S
Switch D
Switch A
Loop 0
1.1.1.1/32
Vla
n-i
nt1
00
12
.12
.12
.1/
24
Vlan-int200
13.13.13.1/24
Vlan-int200
13.13.13.2/24
Vla
n-i
nt1
00
12
.12
.12
.2/
24
Vla
n-in
t10
1
24.2
4.2
4.2
/24
Vla
n-in
t10
1
24.2
4.2
4.4
/24
Loop 0
4.4.4.4/32
Link A
Link B
Configuration procedure
1.
Configure IP addresses for the interfaces on each switch and configure OSPF.
Follow
to configure the IP address and subnet mask of each interface on the switches. (Details
not shown)
Configure OSPF on the switches, ensuring that Switch S, Switch A, and Switch D can communicate with
each other at Layer 3. (Details not shown)
2.
Configure OSPF FRR.
You can enable OSPF FRR to either automatically calculate a backup next hop, or to designate a backup
next hop by using a routing policy.
Method I: Enable OSPF FRR to automatically calculate the backup next hop.
# Configure Switch S.
<SwitchS> system-view
[SwitchS] bfd echo-source-ip 1.1.1.1
[SwitchS] ospf 1
[SwitchS-ospf-1] fast-reroute auto
[SwitchS-ospf-1] quit