R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)
293
<Sysname> system-view
[Sysname] interface virtual-template 1
[Sysname-Virtual-Template1] ppp user attach-format imsi-sn split #
ppp user replace
Use ppp user replace to replace the username with IMSI or SN information during negotiation.
Use undo ppp user replace imsi to remove the replacement.
Syntax
ppp user replace { imsi | sn }
undo ppp user replace imsi
Default
The username is used for authentication.
Views
VT interface view
Default command level
2: System level
Examples
# Replace the username with IMSI information during negotiation.
<Sysname> system-view
[Sysname] interface virtual-template 1
[Sysname-Virtual-Template1] ppp user replace imsi
ppp access-control enable
Use ppp access-control enable to enable the L2TP-based EAD function (or user-based packet filtering) on
a VT interface.
Use undo ppp access-control enable to disable the L2TP-based EAD function on a VT interface.
Syntax
ppp access-control enable
undo ppp access-control enable
Default
L2TP-based EAD is disabled.
Views
VT interface view
Default command level
2: System level
Usage guidelines
The L2TP-based EAD function does not take effect for existing VA interfaces on the VT interface.










