beautypg.com

Enable l2tp debug – Allied Telesis RAPIER I User Manual

Page 85

background image

Software Version 2.8.1

85

Software Version 2.8.1
C613-10477-00 REV B

enable l2tp debug

Syntax

ENAble L2TP DEBug={ALL|DECode|PKT|STAte}

[CALL[=1..65535]|TUNnel[=1..65535]] [TIMEOut=1..300]

Figure 23: Example output from the enable l2tp debug=decode command

Parameter

Description

DEBug

The debugging options to enable on the specified call or tunnel, or on
all currently active calls and tunnels.

Default: no default

DECode

Decode debugging is enabled (

Figure 23 on

page 85

,

Table 21 on page 86

). This decodes control

and payload messages into a human-readable
format. For control packets, all of the message is
decoded. For payload packets, only the header is
decoded. The first 64 bytes of the encapsulated
frame is also displayed, but remains in hexadecimal
format.

TIMEOut

The length of time, in seconds, for which debug information is
produced. After this time, all debugging modes are automatically
disabled.

Default: no time limit set (debugging continues until turned off using
the disable l2tp debug command)

18:07:20 L2TP DECODE: Rx [TID:0 CID:0 from 192.168.1.1:1701]
Header:
Version: 2 Type: Control Flags: T,L,S Length: 107
Tunnel ID: 0 Session ID: 0
Sequence Numbers: Ns 0 Nr 0
Attribute Value Pairs (AVPs):
Message Type (0)
Flags: M Len: 8 Value: SCCRQ
Protocol Version (2)
Flags: M Len: 8 Value: 1.0
Host Name (7)
Flags: M Len: 12 Value: L2TP A
Framing Capabilities (3)
Flags: M Len: 10 Value: Async Sync
Assigned Tunnel ID (9)
Flags: M Len: 8 Value: 36082
Bearer Capabilities (4)
Flags: M Len: 10 Value: Analog Digital
Tie Breaker (5)
Flags: - Len: 14
Value: 761cbc695895ce13
Firmware Revision (6)
Flags: - Len: 8 Value: 0207
Vendor Name (8)
Flags: - Len: 9 Value: ATI
Receive Window Size (10)
Flags: M Len: 8 Value: 4

18:07:20 L2TP DECODE: Tx [TID:1618 CID:3612 to 192.168.1.1:1701]
Header:
Version: 2 Type: Payload Flags: L,P Length: 34
Tunnel ID: 36082 Session ID: 21368
Payload:
ff03c021 01040016 01040678 0408c025 00001770 05061537 023c

This manual is related to the following products: