267
To configure IMSI/SN binding authentication on the LNS:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Create a VT interface and
enter its view
interface virtual-template
interface-number
N/A
3.
Enable the LNS to initiate
IMSI/SN binding
authentication requests.
•
Enable the LNS to initiate
IMSI/SN binding authentication
requests:
ppp lcp imsi request
ppp lcp sn request
•
Configure the separator for the
received authentication
information:
ppp user accept-format
imsi-sn split
splitchart
By default, the LNS does not
initiate IMSI/SN binding
authentication requests, and no
separator is configured for the
received authentication
information.
4.
(Optional.) Replace the
client username with the
IMSI or SN information for
authentication.
ppp user replace { imsi | sn }
By default, the client username
is used for authentication.
Display and maintenance commands for L2TP
Execute
display
commands in any view and
reset
commands in user view.
Task Command
Display L2TP tunnel information.
display l2tp tunnel
[
statistics
]
Display L2TP session information.
display l2tp session
[
statistics
]
Display access control information for PPP
sessions on a VT interface.
display ppp access-control interface
virtual-template
interface-number
Display information about temporary L2TP
sessions.
display l2tp session
temporary
Display information about virtual PPP interfaces.
display interface
[
virtual-ppp
[
interface-number
] ]
[
brief
[
description
|
down
] ]
Disconnect an L2TP tunnel.
reset l2tp tunnel
{
id
tunnel-id
|
name
remote-name
}
Clear the statistics for virtual PPP interfaces.
reset counters interface
[
virtual-ppp
[
interface-number
] ]
L2TP configuration examples
Example: Configuring a NAS-initiated L2TP tunnel
Network configuration
As shown in
, a PPP user is connected to an LNS through an LAC.
Set up an L2TP tunnel between the LAC and LNS to allow the PPP user to access the corporate
network.