beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 522

background image

497

{

Configure the minimum interval for transmitting BFD control packets as 500 milliseconds.

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

{

Configure the minimum interval for receiving BFD control packets as 500 milliseconds.

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

{

Configure the detect multiplier as 7.

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

{

Configure the BFD authentication mode as plain-text authentication, and set the authentication

key to ibgpbfd.

[SecPathA-GigabitEthernet0/2] bfd authentication-mode simple 1 ibgpbfd

[SecPathA-GigabitEthernet0/2] quit

# Configure Router C.

[RouterC] bfd session init-mode active

[RouterC] interface GigabitEthernet0/1

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

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

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

[RouterC-GigabitEthernet0/1] bfd authentication-mode simple 1 ibgpbfd

[RouterC-GigabitEthernet0/1] return

6.

Verify the configuration:
The following operations are made on Router C. Operations on SecPath A are similar. (Details not
shown.)
# Display detailed BFD session information.

display bfd session verbose

Total Session Num: 1 Init Mode: Active

IP Session Working Under Ctrl Mode:

Local Discr: 17 Remote Discr: 13

Source IP: 3.0.2.2 Destination IP: 3.0.1.1

Session State: Up Interface: GigabitEthernet0/1

Min Trans Inter: 500ms Act Trans Inter: 500ms

Min Recv Inter: 500ms Act Detect Inter: 3500ms

Recv Pkt Num: 57 Send Pkt Num: 53

Hold Time: 2200ms Connect Type: Indirect

Running Up for: 00:00:06 Auth mode: Simple

Protocol: BGP

Diag Info: No Diagnostic

The output shows that a BFD session is established between SecPath A's GigabitEthernet 0/2 and

Router C's GigabitEthernet 0/1 and that BFD runs properly.
# Display BGP peer information on Router C, and you can see that Router C has established two
BGP neighborships with SecPath A.

display bgp peer

BGP local router ID : 1.1.1.1

Local AS number : 200