beautypg.com

H3C Technologies H3C SR8800 User Manual

Page 278

background image

262

Hold Time: 2200ms Connect Type: Indirect

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

Protocol: BGP

Diag Info: No Diagnostic

The above output shows that a BFD session is established between Router A’s GigabitEthernet

3/1/2 and Router C’s GigabitEthernet 3/1/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 Router A.

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

# Display route 1.1.1.0/24 on Router C, and you can see that Router A and Router C
communicate through Router B.

display ip routing-table 1.1.1.0 24 verbose

Routing Table : Public

Summary Count : 2

Destination: 1.1.1.0/24

Protocol: BGP Process ID: 0

Preference: 0 Cost: 50

NextHop: 3.0.1.1 Interface: GigabitEthernet3/1/1

BkNextHop: 0.0.0.0 BkInterface:

RelyNextHop: 3.0.2.1 Neighbor : 3.0.1.1

Tunnel ID: 0x0 Label: NULL

State: Active Adv Age: 00h08m54s

Tag: 0

Destination: 1.1.1.0/24

Protocol: BGP Process ID: 0

Preference: 0 Cost: 100

NextHop: 2.0.1.1 Interface: GigabitEthernet3/1/2

BkNextHop: 0.0.0.0 BkInterface:

RelyNextHop: 2.0.2.1 Neighbor : 2.0.1.1

Tunnel ID: 0x0 Label: NULL

State: Invalid Adv Age: 00h08m54s

Tag: 0

The above output shows that Router C has two routes to reach network 1.1.1.0/24: Router
C<—>Router B<—>Router A, which is the currently active route; Router C<—>Router

D<—>Router A, which is the backup route.
# Enable BFD debugging on Router C.

debugging bfd scm