display l2tp-group

Function

The display l2tp-group command displays the configuration of an L2TP group.

This command is supported only on the NetEngine 8000 F1A.

Format

display l2tp-group [ group ]

Parameters

Parameter Description Value
group

Displays the configuration information of the specified L2TP group.

It is a string of 1 to 32 characters.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2tp read

Usage Guidelines

After the display l2tp-group command is run, you can view information about the source IP address of the L2TP tunnel, IP address and weight of the LNS, tunnel authentication mode, user authentication mode, and tunnel connection parameters.

Example

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

# Display the configuration information of L2TP group lac.
<HUAWEI> display l2tp-group lac
-----------------------------------------------                                                                                    
 L2tp-index        : 5                                                                                                              
 Group-Name        : lac   
 Description       :                                                                                                        
 GroupType         : REQUEST_DIALIN_L2TP                                                                                            
 TunnelAuth        : Not tunnel authentication                                                                                      
 Tunnel aaa Auth   : Not tunnel aaa-authentication                                                                                  
 Tunnel Avp46      : Not tunnel Avp46                                                                                               
 Local tunnel name : lac 
Tunnel RecvWindow : 0 
 TunnelPassword    : ******                                                                                                           
 Encrypt           : 0                                                                                                              
 avp-hidden        : 0                                                                                                              
 Algorithm         : Master-backup
 Radius-auth       : 0                                                                                                              
 Hello interval    : 60                                                                                                             
 Retransmit        : 5                                                                                                              
 Timeout           : 2                                                                                                              
 Idle cut          : 60                                                                                                             
 Session limit     : 65535                                                                                                          
 Used              : 1                                                                                                              
 IfIndex           : 0xffffffff                                                                                                     
 Source Ip         : 255.255.255.255                                                                                                
 VTNum             : 65535                                                                                                          
 RemoteName        :                                                                                                                
 LAC Source Ip     : 255.255.255.255
 DefaultDomain     :                                                                                                                
 DomainType        : default
 Roam-domain     : domain1                                                                                     
 TunnelAlarm       : on                                                                                                             
 MTUFlag           : Enable                                                                                                         
 MSSFlag           : Enable                                                                                                         
 Tunnel per user   : 0                                                                                                              
 Config Dscp       : 255  
 Config Lns Dscp  : 33 
 ForceChap         : 0                                                                                                              
 LcpReg            : 0                                                                                                              
 LcpMisReg         : 0                                                                                                              
 LnsNum            : 1                                                                                                              
 LnsIPAddress      : 1                                                                                                              
                   1): 10.1.1.2                                                                                                    
 LnsName           : 1
                   1): lns1             
 QOS-mode          : tunnel                                                                                                         
 QOS-Profile In    :                                                                                                                
 QOS-Profile Out   :                                                                                                                
 Description       :                                                                                                                
 RemoteUsed        : 0  
 CallingNORemoteIdEnable: Disable
 LacNasPortEnable  : 0
 CallingNOAvpFormat: radius-force                                                                                                           
 -----------------------------------------------
# Display the configuration information of L2TP group lns1.
<HUAWEI> display l2tp-group lns1
-----------------------------------------------                                                 
 L2tp-index        : 11                                                                 
 Group-Name        : lns1                                   
 Description       :     
 GroupType         : ACCEPT_DIALIN_L2TP                     
 TunnelAuth        : Not tunnel authentication              
 Tunnel aaa Auth   : Not tunnel aaa-authentication          
 Tunnel Avp46      : Not tunnel Avp46                       
 Local tunnel name : lns
 Tunnel RecvWindow : 0 
 TunnelPassword    : ******                                 
 Encrypt           : 0                                      
 avp-hidden        : 0    
 Algorithm         : Master-backup
 Radius-auth       : 0                                      
 Hello interval    : 0                                      
 Retransmit        : 5                                      
 Timeout           : 2                                      
 Idle cut          : 60                                     
 Session limit     : 65535                                  
 Used              : 2                                      
 IfIndex           : 0xffffffff                             
 Source Ip         : 255.255.255.255                        
 VTNum             : 0                                      
 LAC Source Ip     : 192.168.255.255
 DefaultDomain     :                                        
 DomainType        : default 
 Roam-domain       : domain1
 TunnelAlarm       : on                                     
 MTUFlag           : Enable                                 
 MSSFlag           : Enable                                 
 Tunnel per user   : 0                                      
 Config Dscp       : 255 
 ForceChap         : 1                                      
 LcpReg            : 1                                      
 LcpMisReg         : 0                                      
 LnsNum            : 0                                      
 LnsIPAddress      : 0                                      
 LnsName           : 0 
 QOS-mode          : tunnel                                 
 QOS-Profile In    :                                        
 QOS-Profile Out   :                                        
 Description       :                                        
 RemoteUsed        : 0                                      
 CallingNORemoteIdEnable: Enable
 Calling-number interface-format: exclude sub-slot
 LnsIPAddressStat  : 3
                    1.1.1.1:block
                    2.2.2.2:in use 
                    3.3.3.3:idle     
 TunnelNameforLnsIP  : 3
                    1.1.1.1:huawei
                    2.2.2.2:test
                    3.3.3.3:test1    
 PasswordforLnsIP  : 3
                    1.1.1.1(simlpe):******
                    2.2.2.2(cipher):******
                    3.3.3.3(simlpe):******
 BlockLnsIPList : 2
                    1):1.1.1.1
                    2):2.2.2.2 
LnsScheduleAfterCar  : Enable
CallingNOAvpFormat   : radius-force
-
 -----------------------------------------------
Table 1 Description of the display l2tp-group command output
Item Description
L2tp-index

Index of the L2TP group.

Group-Name

Name of the L2TP group.

Description

Description of the L2TP group.

GroupType

The device functions as the LAC or LNS.

  • REQUEST_DIALIN_L2TP: indicates that the device functions as the LAC.
  • ACCEPT_DIALIN_L2TP: indicates that the device functions as the LNS.
TunnelAuth

Whether the tunnel authentication is enabled.

Tunnel aaa Auth

Whether the AAA tunnel authentication is enabled.

Tunnel Avp46

Whether the AVP46 message containing the error cause is generated when the L2TP session is Down:

  • Not tunnel Avp46: indicates that no AVP46 message is generated.
  • Use tunnel Avp46: indicates that the AVP46 message is generated.
Tunnel RecvWindow

Receive window size for the tunnel.

Tunnel per user

Whether an L2TP user exclusively occupies an L2TP tunnel:

  • 0: no.
  • 1: yes.
Local tunnel name

Name of the device.

TunnelPassword

Password for tunnel authentication.

"******" is displayed if the password is in simple text. A ciphertext is displayed if the password is in ciphertext.

Encrypt

Whether passwords are encrypted:

  • 0: no.
  • 1: yes.
avp-hidden

Whether the AVP message is transmitted in hidden mode:

  • 0: indicates that the AVP message is transmitted in plain text mode.
  • 1: indicates that the AVP message is transmitted in hidden mode.
Algorithm

LNS load balancing algorithm:

  • Master-backup: load balancing based on the master/backup status.
  • Load-sharing: load balancing based on weights.
  • Priority: load balancing based on priorities.
Radius-auth

Whether the forcible RADIUS tunnel authentication is enabled:

  • 0: indicates that the forcible RADIUS tunnel authentication is disabled.
  • 1: indicates that the forcible RADIUS tunnel authentication is enabled.
Hello interval

Interval for sending Hello messages (the default interval is 60 seconds).

Retransmit

Interval for retransmitting control packets (the default interval is 2 seconds, and the default retransmission times is 5).

Timeout

Timeout period for L2TP packets.

Idle cut

Idle interval after which the tunnel is cut down (the default interval is 60 seconds; if the interval is 0 seconds, it indicates the tunnel is not initially cut down).

Session limit

Maximum number of sessions that can be set up.

Used

Number of used sessions.

IfIndex

Interface index bound to the tunnel.

Source Ip

IP address of the tunnel source interface.

VTNum

Number of the VT interface(the default number is 65535).

RemoteName

Peer tunnel name.

LAC Source Ip

Configure the command with the optional parameter ip address x.x.x.x.

DefaultDomain

Default domain.

DomainType

Domain type.

Roam-domain

Roaming domain name on an LNS.

If this parameter is not configured using the roam-domain command, this field is not displayed.

TunnelAlarm

Whether the tunnel alarm function is enabled.

MTUFlag

Whether the MTU of the VT interface is enabled:

  • Enable.
  • Disable.
MSSFlag

Whether the MSS of the VT interface is enabled:

  • Enable.
  • Disable.
Config Dscp

DSCP value of the tunnel control packet.

Config Lns Dscp

L2TP packet priority.

ForceChap

Whether the forcible CHAP authentication is enabled:

  • 0: no.
  • 1: yes.
LcpReg

Whether the forcible LCP re-negotiation is enabled:

  • 0: no.
  • 1: yes.
LcpMisReg

Whether the forcible LCP re-negotiation is performed when the mismatch occurs:

  • 0: no.
  • 1: yes.
LnsNum

LNS number.

LnsIPAddress

IP address of the LNS.

  • If master/backup load balancing is used, only the LNS IP address is displayed.
  • If weight-based load balancing has been configured, the LNS IP address and weight are displayed.
  • If priority-based load balancing has been configured, the LNS IP address and priority are displayed.
LnsName

Name of the LNS.

QOS-mode

QoS mode(The default QoS mode is tunnel.).

QOS-Profile In

User group queue for the inbound direction.

QOS-Profile Out

User group queue for the outbound direction.

RemoteUsed

Number of times that the specified L2TP group is used when the NetEngine 8000 F serves as a backup device.

LacNasPortEnable

Check whether the ICRQ packet sent to the LNS carries AVP 100 when a user goes online from the LAC. 1: carried; 0: Not carry.

LnsScheduleAfterCar

Whether SQ rate limit is performed after CAR is performed for incoming traffic of LNS users:

  • Enable: SQ rate limit is performed after CAR is performed.
  • Disable: SQ rate limit is not performed after CAR is performed.
Calling-number interface-format

Calling-number attribute's interface format that does not contain subslot information.

This field is displayed when the avp calling-number interface-format exclude sub-slot command is run in the L2TP group view.

LnsIPAddressStat

Status of an IP address in the LNS IP address list configured using the start l2tp ip command:

  • block: The IP address is blocked.
  • in use: The IP address is being used.
  • idle: The IP address is not used.
TunnelNameforLnsIP

Number of tunnels configured based on the LNS IP.

PasswordforLnsIP

Tunnel password configured based on an LNS IP address:

  • simple: simple password.
  • cipher: cipher password.
BlockLnsIPList

List of locked remote IP addresses.

CallingNOAvpFormat

Format for encapsulating the calling number information.

This field is displayed as radius-force when the calling-number-avp format radius-force command is run.

This field is not displayed if the preceding command is not run.

CallingNORemoteIdEnable

Whether the LNS is configured to encapsulate the Agent-Remote-Id attribute into the Calling-Station-Id attribute to be sent to the RADIUS server. If this function is not enabled using the lns calling-station-id format agent-remote-id command, this field is not displayed.

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