H3C Technologies H3C S12500 Series Switches User Manual

Page 145

Advertising
background image

129

4.

Verify the configuration:
The following operations are performed on Switch A. The operations on Switch B and Switch C
are similar, and thus are not shown.
# Display the BFD information on Switch A.

<SwitchA> 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 vlan10

# Display routes destined for 120.1.1.0/24 on Switch A.

<SwitchA> display ip routing-table 120.1.1.0 verbose

Routing Table : Public

Summary Count : 1

Destination: 120.1.1.0/24

Protocol: OSPF Process ID: 1

Preference: 0 Cost: 2

IpPrecedence: QosLcId:

NextHop: 192.168.0.100 Interface: Vlan-interface10

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

The output shows that Switch A communicates with Switch B through VLAN-interface 10. Then the
link over VLAN-interface 10 fails.
# Enable BFD debugging on Switch A.

<SwitchA> debugging bfd scm

<SwitchA> debugging bfd event

<SwitchA> debugging ospf event

<SwitchA> terminal debugging

%Nov 12 18:34:48:823 2005 SwitchA BFD/5/LOG: Sess[192.168.0.102/192.168.0.100,

vlan10], Sta : UP->DOWN, Diag: 1

%Nov 12 18:34:48:824 2005 SwitchA RM/4/RMLOG:OSPF-NBRCHANGE: Process 1, Neighbour

192.168.0.102 (vlan10) from Full to Down

*0.50673825 SwitchA BFD/8/SCM:Sess[192.168.0.102/192.168.0.100, vlan10],Oper: Reset

*0.50673825 SwitchA BFD/8/EVENT:Send sess-down Msg, [Src: 192.168.0.102, Dst:

192.168.0.100, vlan10] Protocol: OSPF

*0.50673826 SwitchA RM/7/RMDEBUG:OSPF-BFD: Message Type rcv BFD down, Connect Type

direct-connect, Src IP Address 192.168.0.102, Src IFIndex 5, Dst IP Address

192.168.0.100

*0.50673827 SwitchA RM/7/RMDEBUG:OSPF-BFD: Message Type delete session, Connect Type

direct-connect, Src IP Address 192.168.0.102, Src IFIndex 5, Dst IP Address

192.168.0.100

OSPF 1: Nbr 192.168.0.100 Rcv KillNbr State Full -> Down.

*0.50673829 SwitchA BFD/8/EVENT:Receive Delete-sess, [Src: 192.168.0.102, Dst:

192.168.0.100, vlan10], Direct, Proto:OSPF

*0.50673830 SwitchA BFD/8/SCM:Sess[192.168.0.102/192.168.0.100, vlan10], Oper: Del

application(OSPF)

Advertising