beautypg.com

Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 34

background image

18

Figure 4 Network diagram

Device

Interface

IP address

Device

Interface

IP address

Router A

GE3/1/1

12.1.1.1/24

Router B

GE3/1/1 12.1.1.2/24

GE3/1/2

10.1.1.102/24

GE3/1/2 13.1.1.1/24

Router

C

GE3/1/1

10.1.1.100/24

GE3/1/2

13.1.1.2/24

Configuration procedure

1.

Configure IP addresses for the interfaces. (Details not shown)

2.

Configure BFD:
# Configure static routes on Router A and enable BFD control packet mode for the static route
through the Layer 2 switch.

system-view

[RouterA] interface GigabitEthernet 3/1/1

[RouterA-GigabitEthernet3/1/1] bfd min-transmit-interval 500

[RouterA-GigabitEthernet3/1/1] bfd min-receive-interval 500

[RouterA-GigabitEthernet3/1/1] bfd detect-multiplier 9

[RouterA-GigabitEthernet3/1/1] quit

[RouterA] ip route-static 120.1.1.0 24 GigabitEthernet 3/1/1 12.1.1.2 bfd

control-packet

[RouterA] ip route-static 120.1.1.0 24 GigabitEthernet 3/1/2 10.1.1.100 preference

65

[RouterA] quit

# Configure static routes on Router B and enable BFD control packet mode for the static route

through the Layer 2 switch.

system-view

[RouterB] interface GigabitEthernet 3/1/1

[RouterB-GigabitEthernet3/1/1] bfd min-transmit-interval 500

[RouterB-GigabitEthernet3/1/1] bfd min-receive-interval 500

[RouterB-GigabitEthernet3/1/1] bfd detect-multiplier 9

[RouterB-GigabitEthernet3/1/1] quit

[RouterB] ip route-static 121.1.1.0 24 GigabitEthernet 3/1/1 12.1.1.1 bfd

control-packet

[RouterB] ip route-static 121.1.1.0 24 GigabitEthernet 3/1/2 13.1.1.2 preference 65

[RouterB] quit

3.

Verify the configuration:
The following operations are performed on Router A. The operations on Router B are similar.

display bfd session

Router A

Router B

GE3/1/1

Router C

BFD

L 2 Switch

121.1.1.0/ 24

120.1.1.0/24

GE3/1/1

GE3/1/2

GE3/1/2

GE3/1/1

GE3/1/2