< Home

display l2tp session

Function

The display l2tp session command displays L2TP sessions.

Format

display l2tp session [ slot slot-id cpu cpu-id ]

Parameters

Parameter Description Value

slot slot-id

Specifies the slot ID of the Service Processing Unit (SPU). Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter.

-

cpu cpu-id

Specifies the CPU ID. Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display l2tp session command to view:

Number of L2TP sessions set up on the current device

IDs of local sessions

IDs of remote sessions and their local tunnel IDs

After an L2TP tunnel is configured, you can run the display l2tp session command to view how many sessions belong to the L2TP tunnel.

Example

# Display L2TP sessions.

<sysname> display l2tp session
L2TP::Total Session: 1

  LocalSID  RemoteSID  LocalTID   RemoteTID  UserID  UserName    VpnInstance
 ------------------------------------------------------------------------------
  1         2688       1          11800      30629   vpdnuser                  
 ------------------------------------------------------------------------------
  Total 1, 1 printed
Table 1 Description of the display l2tp session command output

Item

Description

LocalSID

Local session ID

RemoteSID

Remote session ID

LocalTID

Local tunnel ID

RemoteTID

Remote tunnel ID

UserID

User ID

UserName

User Name

VpnInstance

Vpn instance

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