No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E V800R010C10SPC500 Configuration Guide - User Access 01

This is NE40E V800R010C10SPC500 Configuration Guide - User Access
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Verifying the LNS Configuration

Verifying the LNS Configuration

This section describes how to check the configurations of the L2TP group, session information, and the tunnel on the LNS after the LNS is configured and users go online.

Procedure

  • Run the display l2tp-group [ group-name ] command to view configurations of the L2TP group.
  • Run the display lns-group { all | name lns-name } command to view configurations of the LNS group.
  • Run the display l2tp session lns slot slot-id [ session-item session-id | source-ip source-ip-address | destination-ip destination-ip-address ] command to view information about the current LNS session.
  • Run the display l2tp tunnel-limit command to view the maximum number of L2TP tunnels.
  • Run the display l2tp blocked-slot command to view blocked tunnel boards.
  • Run the display l2tp tunnel [ lns slot slot-id ] [ tunnel-item tunnel-id | tunnel-name remote-name ] command to check information about the tunnel on the LNS.
  • Run the display l2tp pim-sm tunnel [ slot slot-id | tunnel-item tunnel-id ] command to check information about users for whom PIM-SM multicast is enabled based on a specified tunnel or tunnel board.

Example

After configurations are complete, run the display 12tp-group command. If the following is displayed, it indicates that configurations succeed.

  • In configurations of the L2TP group, GroupType is displayed as ACCEPT_DIALIN_L2TP.

  • If LCP re-negotiation is configured, LcpReg is 1 in configurations of the L2TP group.

  • If CHAP re-authentication is configured, FroceChap is 1 in configurations of the L2TP group.

<HUAWEI> display l2tp-group lns1
-----------------------------------------------      
 L2tp-index        : 7                               
 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 : R06                             
 Tunnel RecvWindow : 0                               
 Encrypt           : 0                               
 avp-hidden        : 0                               
 Algorithm         : Load-sharing                    
 Radius-auth       : 0                               
 Hello interval    : 60                              
 Retransmit        : 5                               
 Timeout           : 2                               
 Idle cut          : 60                              
 Session limit     : 65535                           
 Used              : 0                               
 IfIndex           : 0xffffffff                      
 Source Ip         : 255.255.255.255                 
 VTNum             : 15                              
 RemoteName        : dd1                             
 DefaultDomain     : dd1                             
 DomainType        : default                         
 TunnelAlarm       : on                              
 MTUFlag           : Enable                          
 MSSFlag           : Enable                          
 Tunnel per user   : 0                               
 Config Dscp       : 255                             
 ForceChap         : 0                               
 LcpReg            : 0                               
 LcpMisReg         : 0                               
 LnsNum            : 0                               
 LnsIPAddress      : 0                               
 LnsName           : 0                               
 LnsWeight         :                                 
                   1): 5                             
                   2): 5                             
                   3): 5                             
                   4): 5                             
                   5): 5                             
                   6): 5                             
                   7): 5                             
                   8): 5                             
 UsedLnsNum        : 0                               
 UnLnsNum          : 0                               
 QOS-mode          : tunnel                          
 QOS-Profile In    :                                 
 QOS-Profile Out   :                                 
 RemoteUsed        : 0                               
 -----------------------------------------------     
 

Run the display lns-group command and you can view loopback interfaces and tunnel boards to which the LNS group is bound.

<HUAWEI> display lns-group name lns1
 Description :
 Slot : 1
 Interface : LoopBack0

Run the display l2tp session command to view information about the current LNS session.

<HUAWEI> display l2tp session lns slot 1
LocalSID  RemoteSID  LocalTID   RemoteTID  UserID  UserName              
 ------------------------------------------------------------------------------
  278       24768      13921      7958       62172    user5@hz                 
  355       24769      4561       13818      62173    user9@hz  
Total 2, 2 printed from slot 1

Run the display l2tp blocked-slot command, and you can view the blocked tunnel boards where no new L2TP tunnel can be set up.

<HUAWEI> display l2tp blocked-slot
 slot 1 
 slot 2

Run the display l2tp tunnel-limit command to view the maximum number of L2TP tunnels.

<HUAWEI> display l2tp tunnel-limit
Info: This syntax is applicable only to LNS. 
tunnel-limit = 49152 
used-tunnel  = 6886 
Run the display l2tp tunnel [ lns slot slot-id ] [ tunnel-item tunnel-id | tunnel-name remote-name ] command. The command output shows LNS tunnel information.
<HUAWEI> display l2tp tunnel
  ---------------------------------------------------------                     
  -----------tunnel information in LAC----------------------                    
 Such tunnel name does not exist !                                              
                                                                                
  ---------------------------------------------------------                     
  -----------tunnel information in LNS----------------------                    
 The tunnel information of board 1                                              
 LocalTID RemoteTID RemoteAddress    Port   Sessions RemoteName                 
 L2TPTunnelStartTime                                                            
 ------------------------------------------------------------------------------ 
 3        2         40.40.40.1       1701   1        hhw                        
 2011-12-15 17:00:48(Continuance:0 days 00 hours 04 mins)                       
 ------------------------------------------------------------------------------ 
  Total 1, 1 printed from slot 1        
Run the display l2tp statistics lns command. The command output shows global statistics on the LNS.
<HUAWEI> display l2tp statistics lns
------------------LNS Statistics-----------------------                        
 LNSCurrentUpTunnelNum             :             10                              
 LNSCurrentUpSessionNum            :             10                              
 LNSTotalEstablishedTunnelNum(H,L) :             (1,100)                          
 LNSTotalEstablishedSessionNum(H,L):             (1,100)                          
 LNSTotalTearDownTunnelNum(H,L)    :             (1,90)                          
 LNSTotalTearDownSessionNum(H,L)   :             (1,90)
Run the display l2tp pim-sm tunnel command to check information about users for whom PIM-SM multicast is enabled based on a specified tunnel or tunnel board.
<HUAWEI> display l2tp pim-sm tunnel
 The slot 1:
-----------------------------------------------------------------------------
 LocalTID RemoteAddress  TotalSessions PimsmSessions RemoteName              
 ----------------------------------------------------------------------------
 50       10.1.1.1      3             3             lac@sqc                 
 74       20.1.1.1      10            10            lac@sqc1                
 ----------------------------------------------------------------------------
  Total 2, 2 printed from slot 1                                             
                                                                             
 The slot 2:                                                                    
 ----------------------------------------------------------------------------
 LocalTID RemoteAddress  TotalSessions PimsmSessions RemoteName              
 ----------------------------------------------------------------------------
 65       30.1.1.1      3             3             lac@sqc2                
 ----------------------------------------------------------------------------
  Total 1, 1 printed from slot 2  
Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055031

Views: 17122

Downloads: 69

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next