82
L2TP Enhancements
Release Note
Software Version 2.8.1
C613-10477-00 REV B
L2TP Enhancements
This Software Version includes the following enhancements to Layer 2
Tunnelling Protocol:
■
Decoding Debug Output and Setting a Time Limit for Debugging
■
Resetting General L2TP Counters
■
Handling PPP Link Negotiation Failures
This section describes the enhancements. The new and modified commands to
implement them are described in
Command Reference Updates
.
Decoding Debug Output and Setting a Time Limit for
Debugging
This Software Version has improved the display options for the
enable l2tp
debug
command with the addition of the
decode
and
timeout
parameters.
Decoding Output
The new
decode
option allows you to display packet data in a human-readable
format. This is an alternative to the undecoded hexadecimal format displayed
when you specify
pkt
. Use the command:
enable l2tp debug=decode [call[=1..65535]|tunnel[=1..65535]]
[timeout=1..300]
The new
decode
option 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. For
an example of decoded control and payload packets, see the
enable l2tp debug
command in the
Command Reference Updates
section.
To disable decoded debugging for L2TP, use the command:
disable l2tp debug=decode [call[=1..65535]|tunnel[=1..65535]]
Setting a Time Limit
The new
timeout
parameter in the
enable l2tp debug
command allows you to
set a time limit for how long L2TP debugging is enabled. This can be set to
between 1 to 300 seconds. Once the limit is reached, all debugging modes for
all calls and tunnels are automatically disabled. If this parameter is not set,
then any debugging options that you enable produce debugging information
until you explicitly turn them off by using the
disable l2tp debug
command.
To specify a time limit for how long debug information is produced, use the
timeout
parameter in the command:
enable l2tp debug={all|decode|pkt|state}
[call[=1..65535]|tunnel[=1..65535]] [timeout=1..300]