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.
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. |
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.
The actual command output varies according to the device. The command output here is only an example.
<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
<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
Item | Description |
---|---|
Source IP address | Source IPv4 address. |
Vpn-instance | VPN instance. |
Session number | Number of L2TP sessions. |