display l2tp tunnel

Function

The display l2tp tunnel command displays information about L2TP tunnels that have been established.

The display l2tp tunnel-limit command displays the maximum number of L2TP tunnels that can be established and the number of already used L2TP tunnels on the device that functions as the LNS.

This command is supported only on the NetEngine 8000 F1A.

Format

display l2tp tunnel [ lac | lns slot slot-id ] [ tunnel-item tunnel-id | tunnel-name remote-name ]

display l2tp tunnel-limit

display l2tp tunnel lac [ remote-address ip-address [ l2tp-group group-name ] | block ]

Parameters

Parameter Description Value
lac

Displays the L2TP session information of the LAC.

-

lns

Displays the L2TP session information of the LNS.

-

slot slot-id

Displays L2TP tunnel information on a tunnel board in a specified slot.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

tunnel-item tunnel-id

Displays information about the L2TP tunnel with a specified tunnel ID.

The value is an integer ranging from 1 to 65535.

tunnel-name remote-name

Displays information about the L2TP tunnel with a specified remote name.

The value is a string of 1 to 253 characters.

remote-address ip-address

Specifies a remote IP address based on which the L2TP tunnel information is to be displayed.

The value is in dotted decimal format.

l2tp-group group-name

Specifies an L2TP group based on which the L2TP tunnel information is to be displayed.

The value is a string of 1 to 32 characters.

block

Displays information about a locked L2TP tunnel.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2tp read

Usage Guidelines

Usage Scenario

To check the number of L2TP tunnels that have been established and information about the tunnels, such as the remote IP address, tunnel name, and UDP port number and the number of sessions established over the tunnels, run the display l2tp tunnel command.

The display l2tp tunnel-limit command displays the maximum number of L2TP tunnels that can be established and the number of already used L2TP tunnels.

Precautions

In VS mode, this command is supported only by the admin VS.In the lns-group view, the bind slot command allocates 24 tunnels for a board. If the l2tp tunnel-limit command is run to reclaim resources of pre-allocated tunnels, the display l2tp tunnel limit command does not display the statistics of pre-allocated tunnels. After the undo l2tp tunnel-limit command is run, tunnels will be pre-allocated again.

Example

The actual command output varies according to the device. The command output here is only an example.

# Displays L2TP tunnel information.
<HUAWEI> system-view
[~HUAWEI] display l2tp tunnel
-------------------------------------------------------------
 -----------tunnel information in LAC-----------------------
 LocalTID RemoteTID RemoteAddress    Port   Sessions RemoteName
 ------------------------------------------------------------------------------
 3        2         10.3.3.1          1701   1        lac1
 ------------------------------------------------------------------------------
  Total 0,printed 0
  ----------------------------------------------------------
  -----------tunnel information in LNS----------------------
 The tunnel information of k board 1
 LocalTID RemoteTID RemoteAddress    Port   Sessions RemoteName
  Total 0, 0 printed from slot 1
# Display information about all locked L2TP tunnels.
<HUAWEI> system-view
[~HUAWEI] display l2tp tunnel lac block
-----------------------------------------------------------------------------
LocalTID RemoteTID RemoteAddress    Port   Sessions       RemoteName
L2TPTunnelStartTime                                       group-name
------------------------------------------------------------------------------
3           2       10.40.40.1      1701     1            test
2011-12-15?17:00:48(Continuance:0 days 00 hours 04 mins)  huawei
------------------------------------------------------------------------------
Total 0, printed 0
# Display the maximum number of L2TP tunnels that can be established and the number of L2TP tunnels that have been used.
<HUAWEI> system-view
[~HUAWEI] display l2tp tunnel-limit
Info: This syntax is applicable only to LNS.
tunnel-limit = 49152
used-tunnel  = 6886
# Display information about the L2TP tunnel with the tunnel ID of 2 on the LAC.
<HUAWEI> system-view
[~HUAWEI] display l2tp tunnel tunnel-item 2
  ----------------------------------------------------------                     
  -----------tunnel information in LAC----------------------                    
  ----------------------------------------------------------                     
    Tunnel id           :2                                                      
    Remote Tunnel id    :3                                                      
    Tunnel State        :Up                                                     
    Remote tunnel name  :hhw1                                                   
    Remote Address      :10.50.50.1   port : 1701                               
    ReCall Address      :0.0.0.0                                                
    Local tunnel name   :hhw                                                    
    Local Address       :10.40.40.1   port : 1701                               
    active sessions     :1                                                      
    tunnel per user     :0                                                      
    Session Limit       :65535                                                  
    Radius Session Limit:4294967295                                             
    Control Ns          :6                                                      
    Control Nr          :4                                                      
    VRFfromRDS          :0                                                      
    VRF                 :0                                                      
    Retransmission      :5                                                      
    Timeout             :2                                                      
    Hello Interval      :60                                                     
    Local RWS           :4                                                      
    Remote RWS          :1024                                                   
    OuterDscp           :0xff  
    TunnelAssignmentID  :4                                                      
    L2TPTunnelStartTime :2011-12-15 19:59:59(Continuance:0 days 00 hours 02 mins)                                                              
  ----------------------------------------------------------                     
                                                                                
  ----------------------------------------------------------                     
  -----------tunnel information in LNS----------------------                    
 The tunnel information of board 2                                              
 tunnel 2 does not exist
Table 1 Description of the display l2tp tunnel command output
Item Description
tunnel per user

Whether per tunnel per user is used.

LocalTID

Local tunnel ID.

RemoteTID

Remote tunnel ID.

Port

Remote port number.

Sessions

Number of sessions.

RemoteName

Remote tunnel name.

L2TPTunnelStartTime

Start time when the L2TP tunnel is established.

group-name

Name of an L2TP group.

tunnel-limit

Maximum number of L2TP tunnels that can be established.

used-tunnel

Number of L2TP tunnels that have been established.

Tunnel id

Local tunnel ID.

Tunnel State

Tunnel status.

Remote Tunnel id

Remote tunnel ID.

Remote tunnel name

Remote tunnel name.

Remote Address

Peer IP address.

This IP address is the LNS IP address configured using the start l2tp command in the L2TP group view or delivered by the RADIUS server.

Remote RWS

Size of the remote receive buffer.

State

Tunnel status.

ReCall Address

Socket IP address.

Local tunnel name

Local tunnel name.

Local Address

Local IP address.

Local RWS

Size of the local receive buffer.

active sessions

Number of sessions established over the tunnel.

Session Limit

Maximum number of sessions that can be established over the tunnel.

Radius Session Limit

Maximum number of sessions that can be delivered by the RADIUS server.

Control Ns

Sequence number of packets sent over a control connection.

Control Nr

Sequence number of packets received over a control connection.

VRFfromRDS

Number of VRFs delivered by the RADIUS server.

VRF

Number of VRFs locally configured.

Retransmission

Number of times that L2TP packets are retransmitted due to timeout.

Timeout

Interval at which L2TP packets are retransmitted due to timeout, in seconds.

Hello Interval

Interval at which Hello packets are sent, in seconds.

OuterDscp

DSCP value in the outer VLAN tag of L2TP control packets.

The value is specified using the set-dscp-outer command. If this value is not specified, the default value 0xFF is displayed.

TunnelAssignmentID

Assigned tunnel ID.

Info

Information.

PeerIP

Peer·IP·address.

SourceIP

Local·IP·address.

DelayAckTimer

Delay·acknowledgment·timer·for·the·tunnel.

IdleCutTimer

Idle-cut·timer·for·the·tunnel.

HelloTimer

Hello·timer·for·the·tunnel.

CtlAckTimeouts

Number·of·acknowledgment·timeouts.

CtlOutOfSeq

Number·of·packets·discarded·because·Ns·is·greater·than·Nr.

CtlOutOfWnd

Number·of·packets·discarded·because·Ns·is·less·than·Nr.

RecvPackets

Number·of·packets·received.

RecvZLB

Number·of·ZLB·packets·received.

SendFail

Number·of·packets·that·fail·to·be·sent.

SendPackets

Number·of·packets·sent.

SendZLB

Number·of·ZLB·packets·sent.

RecvHello

Number·of·Hello·packets·received.

SendHello

Number·of·Hello·packets·sent.

RemoteProtoVer

Remote·protocol·version.

Authentication

Whether·CHAP·is·used·at·the·remote·end.

RemoteVendorName

Remote·tunnel·vendor·name.

SendWinLowerward

Lower·limit·of·the·send·window.

RecvWinLowerward

Lower·limit·of·the·receive·window.

RecvWinSize

Size·of·the·receive·window.

PeerFramingCap

Synchronous/asynchronous·frame·processing·capability.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >