131
user
Use
user
to configure the condition for the LAC to initiate tunneling requests.
Use
undo user
to restore the default.
Syntax
user
{
domain
domain-name
|
fullusername
user-name
}
undo user
Default
No condition is configured for the LAC to initiate tunneling requests.
Views
L2TP group view
Predefined user roles
network-admin
Parameters
domain
domain-name
: Configures the LAC to initiate tunneling requests to the LNS when the
domain name of a u ser matches a configured domain name. The
domain-name
argument
represents the domain name of the user and is an case-sensitive string of 1 to 255 characters.
fullusername
user-name
: Configures the LAC to initiate tunneling requests to the LNS when the
username of a user matches a configured full username. The
domain-name
argument represents
the username of the user and is a case-sensitive string of 1 to 255 characters.
Usage guidelines
This command is available only on L2TP groups in LAC mode.
If you execute this command multiple times for an L2TP group, the most recent configuration takes
effect.
Examples
# Configure the LAC to initiate tunneling requests to the LNS when the username of the user
is
.
<Sysname> system-view
[Sysname] l2tp-group 1 mode lac
[Sysname-l2tp1] user fullusername [email protected]
vpn-instance
Use
vpn-instance
to assign a tunnel peer to a VPN.
Use
undo vpn-instance
to restore the default.
Syntax
vpn-instance
vpn-instance-name
undo vpn-instance
Default
A tunnel peer belongs to the public network.
Views
L2TP group view
Summary of Contents for MSR810
Page 148: ...136 Related commands timer hold...
Page 331: ...319 Related commands timer hold...