beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 273

background image

6-70

# Display route 1.1.1.0/24 on Switch C, and you can see that Switch A and Switch C communicate

through Switch 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: Vlan-interface101

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: Vlan-interface201

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 Switch C has two routes to reach network 1.1.1.0/24: Switch

C<—>Switch B<—>Switch A, which is the currently active route; Switch C<—>Switch D<—>Switch A,

which is the backup route.

# Enable BFD debugging on Switch C.

debugging bfd scm

debugging bfd event

debugging bgp bfd

terminal monitor

terminal debugging

# The following debugging information shows that: when the link between Switch A and Switch B fails,

Switch C can quickly detect the link failure.

%Nov 5 11:42:24:172 2009 SwitchC BFD/5/BFD_CHANGE_FSM: Sess[3.0.2.2/3.0.1.1,

13/17,VLAN101,Ctrl], Sta: UP->DOWN, Diag: 1

%Nov 5 11:42:24:172 2009 SwitchC BGP/5/BGP_STATE_CHANGED: 3.0.1.1 state is changed from

ESTABLISHED to IDLE.

*Nov 5 11:42:24:187 2009 SwitchC RM/6/RMDEBUG: BGP_BFD: Recv BFD DOWN msg, Src IP 3.0.2.2,

Dst IP 3.0.1.1, Instance ID 0.

*Nov 5 11:42:24:187 2009 SwitchC RM/6/RMDEBUG: BGP_BFD: Reset BGP session 3.0.1.1 for BFD

session down.

*Nov 5 11:42:24:187 2009 SwitchC RM/6/RMDEBUG: BGP_BFD: Send DELETE msg to BFD, Connection

type DIRECT, Src IP 3.0.2.2, Dst IP 3.0.1.1, Instance ID 0.

# Display route 1.1.1.0/24 on Switch C, and you can see that Switch A and Switch C communicate

through Switch D.

display ip routing-table 1.1.1.0 24 verbose

Routing Table : Public