H3C Technologies H3C S12500 Series Switches User Manual

Page 283

Advertising
background image

267

{

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

[SwitchA-Vlan-interface100] bfd min-transmit-interval 500

{

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

[SwitchA-Vlan-interface100] bfd min-receive-interval 500

{

Configure the detect multiplier as 7.

[SwitchA-Vlan-interface100] bfd detect-multiplier 7

[SwitchA-Vlan-interface100] quit

# Configure Switch C.

[SwitchC] bfd session init-mode active

[SwitchC] interface vlan-interface 101

[SwitchC-Vlan-interface101] bfd min-transmit-interval 500

[SwitchC-Vlan-interface101] bfd min-receive-interval 500

[SwitchC-Vlan-interface101] bfd detect-multiplier 7

[SwitchC-Vlan-interface101] return

6.

Verify the configuration:
The following operations are made on Switch C. Operations on Switch A are similar and are not
shown.
# Display detailed BFD session information.

<SwitchC> 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: Vlan-interface101

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

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

Recv Pkt Num: 57 Send Pkt Num: 53

Hold Time: 2200ms Connect Type: Indirect

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

Protocol: BGP6

Diag Info: No Diagnostic

The output shows that a BFD session is established between Switch A's VLAN-interface 100 and
Switch C's VLAN-interface 101 and that BFD runs correctly.
# Display BGP peer information on Switch C.

<SwitchC> display bgp peer

BGP local router ID : 1.1.1.1

Local AS number : 200

Total number of peers : 2 Peers in established state : 2

Peer AS MsgRcvd MsgSent OutQ PrefRcv Up/Down State

2.0.1.1 200 7 10 0 0 00:01:05 Established

3.0.1.1 200 7 10 0 0 00:01:34 Established

Advertising