display l2tp session-number

Function

The display l2tp session-number command displays the number of L2TP sessions established based on a specified source IPv4 address.

This command is supported only on the NetEngine 8000 F1A.

Format

display l2tp session-number { lac | lns } [ source-ip source-ip-address [ vpn-instance vpn-instance-name ] ]

Parameters

Parameter Description Value
lac

Displays the L2TP session information of the LAC.

-

lns

Displays the L2TP session information of the LNS.

-

source-ip source-ip-address

Displays the number of L2TP sessions established based on a specified source IPv4 address.

The value is in dotted decimal notation.

vpn-instance vpn-instance-name

Displays the number of L2TP tunnel sessions in a specified VPN instance.

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

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2tp read

Usage Guidelines

To check the number of L2TP sessions established based on a specified source IPv4 address, run the display l2tp session-number command. If source-ip-address is specified, the number of L2TP sessions established based on the specified source IPv4 address is displayed. If source-ip-address is not specified, the number of L2TP sessions established based on all source IPv4 addresses is displayed.

Example

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

# Display the number of LAC-side L2TP sessions established based on all source IPv4 addresses.
<HUAWEI> display l2tp session-number lac
  -------------------------------------------------------------
  Source IP address Vpn-instance Session number
  -------------------------------------------------------------
  1.1.1.1            11          100
  1.1.1.2            -           200    
  1.1.1.3            33          150
# Display the number of LAC-side L2TP sessions established based on the source IP address 1.1.1.1 and VPN instance 11.
<HUAWEI> display l2tp session-number lac source-ip 1.1.1.1 vpn-instance 11
  -------------------------------------------------------------
  Source IP address Vpn-instance Session number
  -------------------------------------------------------------
  1.1.1.1            11          100
Table 1 Description of the display l2tp session-number command output
Item Description
Source IP address

Source IPv4 address.

Vpn-instance

VPN instance.

Session number

Number of L2TP sessions.

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