beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 463

background image

438

[RouterC-ospf-1] area 0

[RouterC-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255

[RouterC-ospf-1-area-0.0.0.0] network 13.1.1.0 0.0.0.255

[RouterC-ospf-1-area-0.0.0.0] quit

[RouterC-ospf-1] quit

3.

Configure BFD.
# Enable BFD on SecPath A and configure BFD parameters.

[SecPathA] bfd session init-mode active

[SecPathA] interface GigabitEthernet0/1

[SecPathA-GigabitEthernet0/1] ospf bfd enable

[SecPathA-GigabitEthernet0/1] bfd min-transmit-interval 500

[SecPathA-GigabitEthernet0/1] bfd min-receive-interval 500

[SecPathA-GigabitEthernet0/1] bfd detect-multiplier 7

[SecPathA-GigabitEthernet0/1] return

# Enable BFD on Router B and configure BFD parameters.

[RouterB] bfd session init-mode active

[RouterB] interface GigabitEthernet0/1

[RouterB-GigabitEthernet0/1] ospf bfd enable

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

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

[RouterB-GigabitEthernet0/1] bfd detect-multiplier 6

4.

Verify the configuration.
The following operations are performed on SecPath A. The operations on Router B are similar.
# Display the BFD information of SecPath A.

display bfd session

Total Session Num: 1 Init Mode: Active

Session Working Under Ctrl Mode:

LD/RD SourceAddr DestAddr State Holdtime Interface

3/1 192.168.0.102 192.168.0.100 Up 1700ms GigabitEthernet0/1

# Display routes to 120.1.1.0/24 on SecPath A, and you can see that SecPath A communicates
with Router B through the Layer 2 switch.

display ip routing-table 120.1.1.0 verbose

Routing Table : Public

Summary Count : 2

Destination: 120.1.1.0/24

Protocol: OSPF Process ID: 0

Preference: 0 Cost: 2

IpPrecedence: QosLcId:

NextHop: 192.168.0.100 Interface: GigabitEthernet0/1

BkNextHop: 0.0.0.0 BkInterface:

RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0

Tunnel ID: 0x0 Label: NULL

BKTunnel ID: 0x0 BKLabel: NULL

State: Active Adv Age: 00h58m10s

Tag: 0

Destination: 120.1.1.0/24

Protocol: OSPF Process ID: 1