178
Figure 47 Network diagram
Configuration procedure
1. Configure IP addresses and subnet masks for interfaces on the switches. (Details not shown.)
2. Configure IS-IS on the switches to make sure Switch A, Switch D, and Switch S can communicate
with each other at Layer 3. (Details not shown.)
3. Configure IS-IS FRR:
Enable IS-IS FRR to automatically calculate a backup next hop, or designate a backup next hop by
using a referenced routing policy.
{ (Method 1.) Enable IS-IS FRR to automatically calculate a backup next hop:
# Configure Switch S.
<SwitchS> system-view
[SwitchS] bfd echo-source-ip 1.1.1.1
[SwitchS] isis 1
[SwitchS-isis-1] fast-reroute auto
[SwitchS-isis-1] quit
# Configure Switch D.
<SwitchD> system-view
[SwitchD] bfd echo-source-ip 4.4.4.4
[SwitchD] isis 1
[SwitchD-isis-1] fast-reroute auto
[SwitchD-isis-1] quit
{ (Method 2.) Enable IS-IS FRR to designate a backup next hop by using a referenced routing
policy:
# Configure Switch S.
<SwitchS> system-view
[SwitchS] bfd echo-source-ip 1.1.1.1
[SwitchS] ip prefix-list abc index 10 permit 4.4.4.4 32
[SwitchS] route-policy frr permit node 10
[SwitchS-route-policy-frr-10] if-match ip address prefix-list abc
[SwitchS-route-policy-frr-10] apply fast-reroute backup-interface vlan-interface
100 backup-nexthop 12.12.12.2
[SwitchS-route-policy-frr-10] quit
[SwitchS] isis 1
[SwitchS-isis-1] fast-reroute route-policy frr
[SwitchS-isis-1] quit
# Configure Switch D.
<SwitchD> system-view
Switch S Switch D
Switch A
Loop 0
1.1.1.1/32
V
l
a
n
-i
n
t
1
0
0
1
2
.
1
2
.
1
2
.
1
/
2
4
Vlan-int200
13.13.13.1/24
Vlan-int200
13.13.13.2/24
V
l
a
n
-
i
n
t
1
0
0
1
2
.
1
2
.
1
2
.
2
/
2
4
V
l
a
n
-
i
n
t
1
0
1
2
4
.
2
4
.
2
4
.
2
/
2
4
V
l
a
n
-
i
n
t
1
0
1
2
4
.
2
4
.
2
4
.
4
/
2
4
Loop 0
4.4.4.4/32
Link A
Link B