The debugging l2tp command enables the debugging function on the LAC module and LNS module at both ends of an L2TP tunnel or enables the debugging function upon online failures.
The undo debugging l2tp command disables the debugging function on the LAC module and LNS module at both ends of an L2TP tunnel or enables the debugging function upon online failures.
By default, the debugging function is disabled.
This command is supported only on the NetEngine 8000 F1A.
debugging l2tp lac [ cfgcmd | [ control | payload | event | error | dump | syn | message | all | rui | packet | protocol [ tunnel-item tunnel-id ] ] [ interface { interface-type interface-num | interface-name } [ pevlan pevlanid [ cevlan cevlanid ] ] | l2tp-group group-name | peer peer-ip | mac-address mac-address ] ]
debugging l2tp lns [ cfgcmd | [ control | payload | event | error | dump | syn | message | all | packet | protocol ] [ l2tp-group group-name | peer peer-ip | tunnel-item tunnel-id [ session-item session-id ] ] ] slot slot-id
debugging l2tp online-fail
undo debugging l2tp lac [ cfgcmd | [ control | payload | event | error | dump | syn | message | all | rui | packet | protocol [ tunnel-item tunnel-id ] ] [ interface { interface-type interface-num | interface-name } [ pevlan pevlanid [ cevlan cevlanid ] ] | l2tp-group group-name | peer peer-ip | mac-address mac-address ] ]
undo debugging l2tp lns [ cfgcmd | [ control | payload | event | error | dump | syn | message | all | packet | protocol ] [ l2tp-group group-name | peer peer-ip | tunnel-item tunnel-id [ session-item session-id ] ] ] slot slot-id
undo debugging l2tp online-fail
Parameter | Description | Value |
---|---|---|
cfgcmd |
Debugging of the entry delivery function. |
- |
control |
Debugging of a control packet. |
- |
payload |
Debugging of an L2TP data packet. |
- |
event |
Debugging of an event. |
- |
error |
Debugging of error processing. |
- |
dump |
Debugging of a PPP packet. |
- |
syn |
Debugging of a synchronization timer. |
- |
message |
L2TP message switch. |
- |
all |
All debugging functions. |
- |
rui |
L2TP RUI switch. |
- |
packet |
L2TP packet switch. |
- |
protocol |
Debugging l2tp protocol packet switch. |
- |
tunnel-item tunnel-id |
Tunnel index. |
The value is an integer in the range 0 to 65535. |
interface interface-type interface-num |
Interface type and number. |
The interface types supported on the LAC side include Ethernet, GE, Eth-Trunk and VE. If the configured interface is an Ethernet, GE, Eth-Trunk or VE sub-interface, pevlan <pevlan-id> can be configured. |
interface-name |
Interface name. |
- |
pevlan pevlanid |
Outer VLAN ID. |
The value is an integer in the range 1 to 4094. |
cevlan cevlanid |
Inner VLAN ID. |
The value is an integer in the range 1 to 4094. |
l2tp-group group-name |
Name of an L2TP group. |
The value is a string of 1 to 32 characters. |
peer peer-ip |
IP address of a peer. |
This value is in dotted decimal notation. |
mac-address mac-address |
MAC address. |
The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0. The MAC address cannot be set to FFFF-FFFF-FFFF. |
lns |
LNS module. |
- |
session-item session-id |
Session index. |
The value is an integer in the range 0 to 65535. |
slot slot-id |
Slot ID of a board. |
The value is a string of 1 to 15 case-sensitive characters, spaces not supported. |
online-fail |
Online failure. |
- |
lac |
LAC module. |
- |
Usage Scenario
When a tunnel or session of LAC or LNS fails to be set up or becomes disconnected, this command can be used to enable the debugging of corresponding options to replicate the failure of the tunnel or session setup. You can analyze the debugging information to locate problems.
Precautions
In VS mode, this command is supported only by the admin VS.