R3166-R3206-HP High-End Firewalls VPN Command Reference-6PW101
72
Examples
# Accept the L2TP tunneling request initiated by the peer (LAC) of aaa and create a virtual access
interface according to virtual template 1.
<Sysname> system-view
[Sysname] l2tp-group 2
[Sysname-l2tp2] allow l2tp virtual-template 1 remote aaa
# Specify L2TP group 1 as the default L2TP group, accept the L2TP tunneling request initiated by any peer,
and create a virtual access interface based on virtual template 1.
<Sysname> system-view
[Sysname] l2tp-group 1
[Sysname-l2tp1] allow l2tp virtual-template 1
display l2tp session
Syntax
display l2tp session
View
Any view
Default level
1: Monitor level
Parameters
None
Description
Use the display l2tp session command to display information about L2TP sessions.
Related commands: display l2tp tunnel.
Examples
# Display information about L2TP sessions.
<Sysname> display l2tp session
Total session = 1
LocalSID RemoteSID LocalTID
17922 12990 1
Table 17 Output description
Field Descri
p
tion
Total session Number of active sessions
LocalSID Unique ID of the session at the local end
RemoteSID Unique ID of the session at the remote end
LocalTID Unique ID of the tunnel at the local end