R3721-F3210-F3171-HP High-End Firewalls VPN Command Reference-6PW101
110
Related commands: l2tp-group.
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 [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display l2tp session 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