HP Comware 5 Debug Manual Vol 2
Examples
# Enable debugging for L2TP control packets. Output similar to the following example is generated when
the following conditions exist:
•
Two devices act as LAC and LNS.
•
L2TP is enabled on the two devices.
•
Tunnel authentication is configured on the two devices.
<Sysname> debugging l2tp control
*0.1798797 lac L2TP/7/L2TDBG: L2TP::Put AVP Message Type:
START_CONTROL_CONNECTION_REQUEST
// The connection request type of the control packet is START_CONTROL_CONNECTION_REQUEST.
*0.1798797 lac L2TP/7/L2TDBG: L2TP::Put AVP Protocol version: 100
*0.1798797 lac L2TP/7/L2TDBG: L2TP::Put AVP Host name: LAC
*0.1798797 lac L2TP/7/L2TDBG: L2TP::Put AVP Vendor name: aaa
*0.1798797 lac L2TP/7/L2TDBG: L2TP::Put AVP Framing capability :3
*0.1798797 lac L2TP/7/L2TDBG: L2TP::Put AVP Assigned Tunnel ID: 1
*0.1798797 lac L2TP/7/L2TDBG: L2TP::Put AVP Receive window size: 128
*0.1798797 lac L2TP/7/L2TDBG: L2TP::Put AVP Challenge :73 1D 0 0 E9 6 0 0 73 79 0
0 85 B 0 0
// L2TP configured the AVP identifications.
*0.1798797 lac L2TP/7/L2TDBG: L2TP::Tunnel 1 Create 60 seconds Hello timer
// Tunnel 1 created a 60-second Hello timer.
*0.1798797 lac L2TP/7/L2TDBG: L2TP:: O Tunnel 1 Send SCCRQ
// Tunnel 1 sent SSCRQ.
*0.1798813 lac L2TP/7/L2TDBG: L2TP::Tunnel 1 recv ctrl message Resume Hello timer
// Tunnel 1 resumed the hello timer when it received the control message.
*0.1798813 lac L2TP/7/L2TDBG: L2TP::Proc Peer control type=2, len = 117
// L2TP processed the control packet from the peer.
*0.1798813 lac L2TP/7/L2TDBG: L2TP:: I Tunnel 1 rcv SCCRP in state 2
// Tunnel 1 received SCCRP in state 2.
*0.1798813 lac L2TP/7/L2TDBG: L2TP::Tunnel 1 Resume 60 second Hello timer
// Tunnel 1 resumed the 60-second Hello timer.
*0.1798813 lac L2TP/7/L2TDBG: L2TP::Check SCCRP MSG Type 2
// L2TP checked SCCRP message of type 2.
*0.1798813 lac L2TP/7/L2TDBG: L2TP::Parse AVP Protocol version, value: 1
*0.1798813 lac L2TP/7/L2TDBG: L2TP::Parse AVP Framing capability, value: 3
*0.1798813 lac L2TP/7/L2TDBG: L2TP::Parse AVP Host name, value: lns
*0.1798813 lac L2TP/7/L2TDBG: L2TP::Parse AVP Remote tunnel ID: 1
*0.1798813 lac L2TP/7/L2TDBG: L2TP::Parse AVP Bearer capability, value: 3
*0.1798813 lac L2TP/7/L2TDBG: L2TP::Parse AVP Receive window size: 128
*0.1798829 lac L2TP/7/L2TDBG: L2TP::Parse AVP Challenge, Value: 27 1E 0 0 F6 52 0 0
85 9 0 0 97 22 0 0
// L2TP parsed the AVP identifications.
300