HP Comware 5 Debug Manual Vol 1

// BFD notified the driver on interface card No. 5 to add a BFD session with the following session
information: source address 100.1.2.2, destination address 100.1.2.1, VLAN-interface 2, control packet
mode, and local discriminator 103.
*Mar 22 18:38:20:305 2007 Sysname BFD/7/DRV: Chassis=1-Slot=3;Notify driver to add bfd
session [100.1.2.2/100.1.2.1,Vlan2,Ctrl], Discr: 103
// BFD notified the driver on interface card No. 3 to add a BFD session with the following session
information: source address 100.1.2.2, destination address 100.1.2.1, VLAN-interface 2, control packet
mode, and local discriminator 103.
*Mar 22 18:38:20:465 2007 Sysname BFD/7/DRV: Chassis=1-Slot=3;Received BFD session
first-detect-start message from driver, sess[100.1.2.2/100.1.2.1,Vlan2,Ctrl]
// BFD received a notification from the driver: Detection of session's first packet starts, using session
source address 100.1.2.2, destination address 100.1.2.1, VLAN-interface 2, and control packet mode.
*Mar 22 18:38:20:645 2007 Sysname BFD/7/DRV: Chassis=1-Slot=3;Notify driver session
[100.1.2.2/100.1.2.1,Vlan2,Ctrl] start, Discr: 103
// BFD notified the driver of the session detection start, using session source address 100.1.2.2,
destination address 100.1.2.1, VLAN-interface 2, and control packet mode.
On a multi-core device:
# Enable BFD driver debugging on a BFD-capable device. The output in this example was created when
the following conditions exist:
The IP address of GigabitEthernet 1/2 is 12.1.1.61.
The IP address of the peer interface connected to GigabitEthernet 1/2 is 12.1.1. 8 8 .
The device has established OSPF neighboring relationship with the peer device.
The peer device has BFD enabled on its OSPF interface.
<Sysname> debugging bfd drv
<Sysname> system-view
[Sysname] interface gigabitethernet 1/2
[Sysname-GigabitEthernet1/2] ospf bfd enable
[Sysname-GigabitEthernet1/2]
%Apr 28 06:34:08:938 2008 Sysname BFD/4/LOG:Sess[12.1.1.61/12.1.1.88,GE1/2,Ctrl], Sta:
DOWN->UP, Diag: 0
*Apr 28 06:34:08:939 2008 Sysname DPBFD/7/debug:Send Msg to BFD VCPU,msgtype
0xcf20005,sess 120
// Sending a message to the BFD VCPU. The message type is 0xcf20005 (indicating to create a BFD
session), and the session index is 120.
*Apr 28 06:34:08:940 2008 Sysname DPBFD/7/debug:Receive Msg on BFD VCPU,msgtype
0xcf20005,para1 0x14ea9ab0
// BFD received the message on the BFD VCPU. The message type is 0xcf20005 (indicating to create
a BFD session).
*Apr 28 06:34:08:940 2008 Sysname DPBFD/7/debug:Sessindex 120 send pkt(ret:0) when create
session on BFD VCPU.
// The first packet was sent after a session with index 120 was created on the BFD VCPU. The return
value is 0, indicating that the packet was sent.
*Apr 28 06:34:08:940 2008 Sysname DPBFD/7/debug:Receive Msg on Ctrl VCPU,msgtype
0xcf20003,para1 0x79
// The control VCPU received a message. The message type is 0xcf20003 (indicating that the first
packet was received).
164