Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual

Page 144

Advertising
background image

128

Figure 32 Network diagram

Table 10 Interface and IP address assignment

Device Interface

IP address

Switch A

Vlan-int100

12.12.12.1/24

Switch A

Vlan-int200

13.13.13.1/24

Switch A

Loop0

1.1.1.1/32

Switch B

Vlan-int101

24.24.24.4/24

Switch B

Vlan-int200

13.13.13.2/24

Switch B

Loop0

4.4.4.4/32

Switch C

Vlan-int100

12.12.12.2/24

Switch C

Vlan-int101

24.24.24.2/24

Configuration procedure

1.

Configure IP addresses and subnet masks for interfaces on the switches. (Details not shown.)

2.

Configure OSPF on the switches to ensure that Switch A, Switch B, and Switch C can communicate
with each other at the network layer. (Details not shown.)

3.

Configure OSPF FRR to automatically calculate the backup next hop:
You can enable OSPF FRR to either calculate a backup next hop by using the LFA algorithm, or
specify a backup next hop by using a routing policy.

{

(Method 1.) Enable OSPF FRR to calculate the backup next hop by using the LFA algorithm:
# Configure Switch A.

<SwitchA> system-view

[SwitchA] bfd echo-source-ip 2.2.2.2

[SwitchA] ospf 1

[SwitchA-ospf-1] fast-reroute lfa

[SwitchA-ospf-1] quit

# Configure Switch B.

<SwitchB> system-view

[SwitchB] bfd echo-source-ip 3.3.3.3

[SwitchB] ospf 1

[SwitchB-ospf-1] fast-reroute lfa

[SwitchB-ospf-1] quit

{

(Method 2.) Enable OSPF FRR to designate a backup next hop by using a routing policy.
# Configure Switch A.

Switch A

Switch B

Switch C

Loop0

Vla

n-i

nt1

00

Vlan-int200

Vlan-int200

Vla

n-i

nt1

00

Vla

n-in

t10

1

Vla

n-in

t10

1

Loop0

Link A

Link B

Advertising
This manual is related to the following products: