Static route frr configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual
Page 33

17
Summary Count : 2
Static Routing table Status :
Summary Count : 1
Destination/Mask Proto Pre Cost NextHop Interface
120.1.1.0/24 Static 65 0 10.1.1.100 Vlan11
Static Routing table Status :
Summary Count : 1
Destination/Mask Proto Pre Cost NextHop Interface
120.1.1.0/24 Static 60 0 2.2.2.9
The output shows that Switch A communicates with Switch B through VLAN-interface 11.
Static route FRR configuration example
Network requirements
shows that Switch S, Switch A, and Switch D are interconnected through static routes. Configure
static route FRR so that when Link A between Switch S and Switch D fails, traffic can be switched to Link
B immediately.
Figure 5 Network diagram
Configuration procedure
1.
Configure IP addresses for the interfaces. (Details not shown.)
2.
Configure static routes:
Configure static routes on Switch S, Switch A, and Switch D so that Switch S can reach Loopback
0 on Switch D and Switch D can reach Loopback 0 on Switch S.
# Configure a static route on Switch S.
[SwitchS] ip route-static 4.4.4.4 32 vlan-interface 200 13.13.13.2
# Configure a static route on Switch D.
[SwitchD] ip route-static 1.1.1.1 32 vlan-interface 200 13.13.13.1
# Configure a static route on Switch A.
[SwitchA] ip route-static 4.4.4.4 32 vlan-interface 101 24.24.24.4
[SwitchA] ip route-static 1.1.1.1 32 vlan-interface 100 12.12.12.1
3.
Configure static route FRR:
# Configure Switch S.
[SwitchS] bfd echo-source-ip 1.1.1.1
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