Дебажу:
CentrOffice_cisco#sh deb
VPN:
L2X protocol events debugging is on
L2X data packets debugging is on
L2X control packets debugging is on
VPDN call event debugging is on
VPDN message debugging is on
VPDN events debugging is on
VPDN errors debugging is on
General-purpose tunnel:
Tunnel keepalive debugging is on*Oct 13 15:30:54.218: L2X: Attempted multiple encap passes, dropping
*Oct 13 15:31:01.078: L2X: Punting to L2TP control message queue
*Oct 13 15:31:01.078: Tnl 50035 L2TP: Parse AVP 0, len 8, flag 0x8000 (M)
*Oct 13 15:31:01.078: Tnl 50035 L2TP: Parse Hello
*Oct 13 15:31:01.078: Tnl 50035 L2TP: No missing AVPs in Hello
*Oct 13 15:31:01.078: Tnl 50035 L2TP: I Hello, flg TLS, ver 2, len 20, tnl 50035, ns 2, nr 4
contiguous pak, size 20
C8 02 00 14 C3 73 00 00 00 02 00 04 80 08 00 00
00 00 00 06
*Oct 13 15:31:01.078: Tnl 50035 L2TP: O ZLB ctrl ack, flg TLS, ver 2, len 12, tnl 38104, ns 4, nr 3
C8 02 00 0C 94 D8 00 00 00 04 00 03
*Oct 13 15:31:01.078: Tnl 50035 L2TP: I Hello from bras253 tnl 38104
*Oct 13 15:31:01.082: L2X: Attempted multiple encap passes, dropping
CentrOffice_cisco#
*Oct 13 15:31:04.234: L2X: Punting to L2TP control message queue
*Oct 13 15:31:04.238: uid:197 Tnl/Sn 50035/243 L2TP: Parse AVP 0, len 8, flag 0x8000 (M)
*Oct 13 15:31:04.238: uid:197 Tnl/Sn 50035/243 L2TP: Parse CDN
*Oct 13 15:31:04.238: uid:197 Tnl/Sn 50035/243 L2TP: Parse AVP 1, len 38, flag 0x8000 (M)
*Oct 13 15:31:04.238: uid:197 Tnl/Sn 50035/243 L2TP: Result code(2): 2: Call disconnected, refer to error msg
*Oct 13 15:31:04.238: Error code(6): Vendor specific
*Oct 13 15:31:04.238: Optional msg: Locally generated disconnect
*Oct 13 15:31:04.238: uid:197 Tnl/Sn 50035/243 L2TP: Parse AVP 14, len 8, flag 0x8000 (M)
*Oct 13 15:31:04.238: uid:197 Tnl/Sn 50035/243 L2TP: Assigned Call ID 31548
*Oct 13 15:31:04.238: uid:197 Tnl/Sn 50035/243 L2TP: Parse AVP 46, len 11, flag 0x0
*Oct 13 15:31:04.238: uid:197 Tnl/Sn 50035/243 L2TP: disconnected, code 8, direction peer for CP 0xC021
*Oct 13 15:31:04.238: uid:197 Tnl/Sn 50035/243 L2TP: Parse Cisco AVP 104, len 11, flag 0x0
*Oct 13 15:31:04.238: uid:197 Tnl/Sn 50035/243 L2TP: PPP Disconnect Cause Code (Cisco) Already rcvd IETF version, ignoring
*Oct 13 15:31:04.238: uid:197 Tnl/Sn 50035/243 L2TP: No missing AVPs in CDN
*Oct 13 15:31:04.238: uid:197 Tnl/Sn 50035/243 L2TP: I CDN, flg TLS, ver 2, len 88, tnl 50035, lsid 243, rsid 31548, ns 3, nr 4
contiguous pak, size 88
C8 02 00 58 C3 73 00 F3 00 03 00 04 80 08 00 00
00 00 00 0E 80 26 00 00 00 01 00 02 00 06 4C 6F
63 61 6C 6C 79 20 67 65 6E 65 72 61 74 65 64 20
64 69 73 63 6F 6E 6E 65 63 74 80 08 00 00 00 0E
7B 3C 00 0B 00 00 00 2E ...
*Oct 13 15:31:04.238: uid:197 Tnl/Sn 50035/243 L2TP: O ZLB ctrl ack, flg TLS, ver 2, len 12, tnl 38104, lsid 243, rsid 31548, ns 4, nr 4
C8 02 00 0C 94 D8 00 00 00 04 00 04
*Oct 13 15:31:04.242: uid:197 Tnl/Sn 50035/243 L2TP: I CDN from bras253 tnl 38104, cl 31548
*Oct 13 15:31:04.242: uid:197 Tnl/Sn 50035/243 L2TP: disconnect (L2X) IETF: 9/nas-error Ascend: 41/TCP Foreign Host Close
*Oct 13 15:31:04.242: uid:197 Tnl/Sn 50035/243 L2TP: Destroying session
*Oct 13 15:31:04.242: L2X: Sending L2TUN message <Disconnect>
*Oct 13 15:31:04.242: uid:197 Tnl/Sn 50035/243 L2TP: Session state change from established to idle
*Oct 13 15:31:04.242: Tnl 50035 L2TP: Tunnel state change from established to no-sessions-left
*Oct 13 15:31:04.242: Tnl 50035 L2TP: No more sessions in tunnel, shutdown (likely) in 15 seconds
*Oct 13 15:31:04.250: L2X: l2tun session [1168585924], event [server terminate], old state [open], new state [wait-free]
*Oct 13 15:31:04.250: L2X: l2tun session [1168585924], event [client free], old state [wait-free], new state [terminal]
CentrOffice_cisco#
*Oct 13 15:31:04.254: %LINK-3-UPDOWN: Interface Virtual-PPP1, changed state to down
*Oct 13 15:31:05.078: L2X: Punting to L2TP control message queue
CentrOffice_cisco#
CentrOffice_cisco#
CentrOffice_cisco#
*Oct 13 15:31:05.238: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to down
CentrOffice_cisco#
CentrOffice_cisco#
CentrOffice_cisco#
CentrOffice_cisco#
CentrOffice_cisco#
CentrOffice_cisco#
CentrOffice_cisco#
CentrOffice_cisco#
CentrOffice_cisco#
CentrOffice_cisco#
*Oct 13 15:31:13.078: L2X: Punting to L2TP control message queue
*Oct 13 15:31:13.078: L2X: Punting to L2TP control message queue
*Oct 13 15:31:13.078: Tnl 50035 L2TP: O ZLB ctrl ack, flg TLS, ver 2, len 12, tnl 38104, ns 4, nr 4
C8 02 00 0C 94 D8 00 00 00 04 00 04
*Oct 13 15:31:14.234: L2X: Punting to L2TP control message queue
*Oct 13 15:31:14.234: Tnl 50035 L2TP: Parse AVP 0, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.234: Tnl 50035 L2TP: Parse StopCCN
*Oct 13 15:31:14.234: Tnl 50035 L2TP: Parse AVP 1, len 10, flag 0x8000 (M)
*Oct 13 15:31:14.234: L2X: Result code(1): 1: Request to clear control connection
*Oct 13 15:31:14.234: Error code(0): No error
*Oct 13 15:31:14.234: Tnl 50035 L2TP: Parse AVP 9, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.234: Tnl 50035 L2TP: Assigned Tunnel ID 38104
*Oct 13 15:31:14.234: Tnl 50035 L2TP: No missing AVPs in StopCCN
*Oct 13 15:31:14.234: Tnl 50035 L2TP: I StopCCN, flg TLS, ver 2, len 38, tnl 50035, ns 4, nr 4
contiguous pak, size 38
C8 02 00 26 C3 73 00 00 00 04 00 04 80 08 00 00
00 00 00 04 80 0A 00 00 00 01 00 01 00 00 80 08
00 00 00 09 94 D8
*Oct 13 15:31:14.234: Tnl 50035 L2TP: O ZLB ctrl ack, flg TLS, ver 2, len 12, tnl 38104, ns 4, nr 5
C8 02 00 0C 94 D8 00 00 00 04 00 05
*Oct 13 15:31:14.234: Tnl 50035 L2TP: I StopCCN from bras253 tnl 38104
*Oct 13 15:31:14.234: Tnl 50035 L2TP: Tunnel state change from no-sessions-left to shutting-down
*Oct 13 15:31:14.234: Tnl 50035 L2TP: Shutdown tunnel
*Oct 13 15:31:14.234: Tnl 50035 L2TP: Tunnel state change from shutting-down to idle
*Oct 13 15:31:14.250: L2X: l2tun session [1168585924], event [client request], old state [open], new state [open]
*Oct 13 15:31:14.250: L2X: L2TP: Received L2TUN message <Connect>
*Oct 13 15:31:14.250: Tnl/Sn 21640/244 L2TP: Session state change from idle to wait-for-tunnel
*Oct 13 15:31:14.250: uid:197 Tnl/Sn 21640/244 L2TP: Create session
*Oct 13 15:31:14.250: Tnl 21640 L2TP: SM State idle
*Oct 13 15:31:14.250: Tnl 21640 L2TP: O SCCRQ
*Oct 13 15:31:14.250: Tnl 21640 L2TP: Parse AVP 0, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.250: Tnl 21640 L2TP: Parse SCCRQ
*Oct 13 15:31:14.250: Tnl 21640 L2TP: Parse AVP 2, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.250: Tnl 21640 L2TP: Protocol Version 1
*Oct 13 15:31:14.254: Tnl 21640 L2TP: Parse AVP 6, len 8, flag 0x0
*Oct 13 15:31:14.254: Tnl 21640 L2TP: Firmware Ver 0x1130
*Oct 13 15:31:14.254: Tnl 21640 L2TP: Parse AVP 7, len 23, flag 0x8000 (M)
*Oct 13 15:31:14.254: Tnl 21640 L2TP: Hostname CentrOffice_cisco
*Oct 13 15:31:14.254: Tnl 21640 L2TP: Parse AVP 8, len 25, flag 0x0
*Oct 13 15:31:14.254: Tnl 21640 L2TP: Vendor Name Cisco Systems, Inc.
*Oct 13 15:31:14.258: Tnl 21640 L2TP: Parse AVP 10, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.258: Tnl 21640 L2TP: Rx Window Size 1400
*Oct 13 15:31:14.258: Tnl 21640 L2TP: Parse AVP 9, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.258: Tnl 21640 L2TP: Assigned Tunnel ID 21640
*Oct 13 15:31:14.258: Tnl 21640 L2TP: Parse AVP 3, len 10, flag 0x8000 (M)
*Oct 13 15:31:14.258: Tnl 21640 L2TP: Framing Cap 0x3
*Oct 13 15:31:14.258: Tnl 21640 L2TP: Parse AVP 4, len 10, flag 0x8000 (M)
*Oct 13 15:31:14.258: Tnl 21640 L2TP: Bearer Cap 0x3
*Oct 13 15:31:14.258: Tnl 21640 L2TP: Parse Cisco AVP 110, len 6, flag 0x0
*Oct 13 15:31:14.258: Tnl 21640 L2TP: PPPoE Relay Forward Capable
*Oct 13 15:31:14.258: Tnl 21640 L2TP: O SCCRQ, flg TLS, ver 2, len 126, tnl 0, ns 0, nr 0
C8 02 00 7E 00 00 00 00 00 00 00 00 80 08 00 00
00 00 00 01 80 08 00 00 00 02 01 00 00 08 00 00
00 06 11 30 80 17 00 00 00 07 43 65 6E 74 72 4F
66 66 69 63 65 5F 63 69 73 63 6F 00 19 00 00 00
08 43 69 73 63 6F 20 ...
*Oct 13 15:31:14.258: Tnl 21640 L2TP: Control channel retransmit delay set to 1 seconds
*Oct 13 15:31:14.258: Tnl 21640 L2TP: Tunnel state change from idle to wait-ctl-reply
*Oct 13 15:31:14.258: Tnl 21640 L2TP: SM State wait-ctl-reply
*Oct 13 15:31:14.262: L2X: Punting to L2TP control message queue
*Oct 13 15:31:14.262: Tnl 21640 L2TP: Parse AVP 0, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.262: Tnl 21640 L2TP: Parse SCCRP
*Oct 13 15:31:14.262: Tnl 21640 L2TP: Parse AVP 2, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.262: Tnl 21640 L2TP: Protocol Version 1
*Oct 13 15:31:14.262: Tnl 21640 L2TP: Parse AVP 6, len 8, flag 0x0
*Oct 13 15:31:14.262: Tnl 21640 L2TP: Firmware Ver 0x1120
*Oct 13 15:31:14.262: Tnl 21640 L2TP: Parse AVP 7, len 13, flag 0x8000 (M)
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Hostname bras253
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Parse AVP 8, len 25, flag 0x0
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Vendor Name Cisco Systems, Inc.
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Parse AVP 10, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Rx Window Size 65530
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Parse AVP 9, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Assigned Tunnel ID 33718
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Parse AVP 3, len 10, flag 0x8000 (M)
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Framing Cap 0x0
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Parse AVP 4, len 10, flag 0x8000 (M)
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Bearer Cap 0x0
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Parse Cisco AVP 110, len 6, flag 0x0
*Oct 13 15:31:14.266: Tnl 21640 L2TP: PPPoE Relay Forward Capable
*Oct 13 15:31:14.266: Tnl 21640 L2TP: No missing AVPs in SCCRP
*Oct 13 15:31:14.266: Tnl 21640 L2TP: I SCCRP, flg TLS, ver 2, len 116, tnl 21640, ns 0, nr 1
contiguous pak, size 116
C8 02 00 74 54 88 00 00 00 00 00 01 80 08 00 00
00 00 00 02 80 08 00 00 00 02 01 00 00 08 00 00
00 06 11 20 80 0D 00 00 00 07 62 72 61 73 32 35
33 00 19 00 00 00 08 43 69 73 63 6F 20 53 79 73
74 65 6D 73 2C 20 49 6E ...
*Oct 13 15:31:14.266: Tnl 21640 L2TP: I SCCRP from bras253
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Tunnel state change from wait-ctl-reply to established
*Oct 13 15:31:14.266: Tnl 21640 L2TP: O SCCCN to bras253 tnlid 33718
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Parse AVP 0, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Parse SCCCN
*Oct 13 15:31:14.266: Tnl 21640 L2TP: O SCCCN, flg TLS, ver 2, len 20, tnl 33718, ns 1, nr 1
C8 02 00 14 83 B6 00 00 00 01 00 01 80 08 00 00
00 00 00 03
*Oct 13 15:31:14.266: Tnl 21640 L2TP: Control channel retransmit delay set to 1 seconds
*Oct 13 15:31:14.270: Tnl 21640 L2TP: SM State established
*Oct 13 15:31:14.270: uid:197 Tnl/Sn 21640/244 L2TP: O ICRQ to bras253 33718/0
*Oct 13 15:31:14.270: uid:197 Tnl/Sn 21640/244 L2TP: Parse AVP 0, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.270: uid:197 Tnl/Sn 21640/244 L2TP: Parse ICRQ
*Oct 13 15:31:14.270: uid:197 Tnl/Sn 21640/244 L2TP: Parse AVP 15, len 10, flag 0x8000 (M)
*Oct 13 15:31:14.270: uid:197 Tnl/Sn 21640/244 L2TP: Serial Number -1643067098
*Oct 13 15:31:14.270: uid:197 Tnl/Sn 21640/244 L2TP: Parse AVP 14, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.270: uid:197 Tnl/Sn 21640/244 L2TP: Assigned Call ID 244
*Oct 13 15:31:14.270: uid:197 Tnl/Sn 21640/244 L2TP: Parse AVP 18, len 10, flag 0x8000 (M)
*Oct 13 15:31:14.270: uid:197 Tnl/Sn 21640/244 L2TP: Bearer Type 0
*Oct 13 15:31:14.270: uid:197 Tnl/Sn 21640/244 L2TP: O ICRQ, flg TLS, ver 2, len 48, tnl 33718, lsid 244, rsid 0, ns 2, nr 1
C8 02 00 30 83 B6 00 00 00 02 00 01 80 08 00 00
00 00 00 0A 80 0A 00 00 00 0F 9E 10 C9 26 80 08
00 00 00 0E 00 F4 80 0A 00 00 00 12 00 00 00 00
*Oct 13 15:31:14.270: uid:197 Tnl/Sn 21640/244 L2TP: Session state change from wait-for-tunnel to wait-reply
*Oct 13 15:31:14.270: L2X: Punting to L2TP control message queue
*Oct 13 15:31:14.274: L2X: Punting to L2TP control message queue
*Oct 13 15:31:14.274: uid:197 Tnl/Sn 21640/244 L2TP: Parse AVP 0, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.274: uid:197 Tnl/Sn 21640/244 L2TP: Parse ICRP
*Oct 13 15:31:14.274: uid:197 Tnl/Sn 21640/244 L2TP: Parse AVP 14, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.274: uid:197 Tnl/Sn 21640/244 L2TP: Assigned Call ID 31773
*Oct 13 15:31:14.274: uid:197 Tnl/Sn 21640/244 L2TP: No missing AVPs in ICRP
*Oct 13 15:31:14.274: uid:197 Tnl/Sn 21640/244 L2TP: I ICRP, flg TLS, ver 2, len 28, tnl 21640, lsid 244, rsid 0, ns 1, nr 3
contiguous pak, size 28
C8 02 00 1C 54 88 00 F4 00 01 00 03 80 08 00 00
00 00 00 0B 80 08 00 00 00 0E 7C 1D
*Oct 13 15:31:14.278: uid:197 Tnl/Sn 21640/244 L2TP: Session state change from wait-reply to established
*Oct 13 15:31:14.278: L2X: Sending L2TUN message <Connect OK>
*Oct 13 15:31:14.278: uid:197 Tnl/Sn 21640/244 L2TP: O ICCN to bras253 33718/31773
*Oct 13 15:31:14.278: uid:197 Tnl/Sn 21640/244 L2TP: Parse AVP 0, len 8, flag 0x8000 (M)
*Oct 13 15:31:14.278: uid:197 Tnl/Sn 21640/244 L2TP: Parse ICCN
*Oct 13 15:31:14.278: uid:197 Tnl/Sn 21640/244 L2TP: Parse AVP 24, len 10, flag 0x8000 (M)
*Oct 13 15:31:14.278: uid:197 Tnl/Sn 21640/244 L2TP: Connect Speed 0
*Oct 13 15:31:14.278: uid:197 Tnl/Sn 21640/244 L2TP: Parse AVP 19, len 10, flag 0x8000 (M)
*Oct 13 15:31:14.278: uid:197 Tnl/Sn 21640/244 L2TP: Framing Type 1
*Oct 13 15:31:14.278: uid:197 Tnl/Sn 21640/244 L2TP: O ICCN, flg TLS, ver 2, len 40, tnl 33718, lsid 244, rsid 31773, ns 3, nr 2
C8 02 00 28 83 B6 7C 1D 00 03 00 02 80 08 00 00
00 00 00 0C 80 0A 00 00 00 18 00 00 00 00 80 0A
00 00 00 13 00 00 00 01
*Oct 13 15:31:14.278: Tnl 21640 L2TP: Control channel retransmit delay set to 1 seconds
*Oct 13 15:31:14.278: L2X: l2tun session [1168585924], event [server response], old state [open], new state [open]
*Oct 13 15:31:14.282: %LINK-3-UPDOWN: Interface Virtual-PPP1, changed state to up
CentrOffice_cisco#
*Oct 13 15:31:14.282: L2X: Punting to L2TP control message queue
*Oct 13 15:31:15.278: Tnl 21640 L2TP: Control channel retransmit delay set to 1 seconds
CentrOffice_cisco#
*Oct 13 15:31:15.366: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to up
CentrOffice_cisco#
CentrOffice_cisco#
CentrOffice_cisco#
CentrOffice_cisco#
CentrOffice_cisco#
*Oct 13 15:31:24.362: L2X: Attempted multiple encap passes, dropping
CentrOffice_cisco#
CentrOffice_cisco#
*Oct 13 15:31:34.378: L2X: Attempted multiple encap passes, dropping