< Home

call-lns local-user

Function

The call-lns local-user command implements L2TP dial-up to the LNS from the LAC for establishing an L2TP tunnel.

The undo call-lns command disables the function of L2TP dial-up to the LNS.

Format

call-lns local-user username [ binding l2tp-group group-name ]

undo call-lns [ binding l2tp-group group-name ]

Parameters

Parameter Description Value

call-lns

Indicates the proactive dial-up of the LAC to initiate an L2TP connection to the LNS.

-

local-user username

Specifies the local user name, which must be the same as that used for PPP authentication.

The value is a case-sensitive string of 1 to 64 characters.

l2tp-group group-name

Specifies the name of an L2TP group bound to the user.

The value must be the name of an existing L2TP group.

Views

Virtual-Template interface view

Default Level

1: Monitoring level

Usage Guidelines

By default, proactive dial-up of the LAC is disabled.

You can run the call-lns local-user username command on the LAC.

The user name and password in the call-lns local-user username command must be the same as those used for PPP CHAP or PAP authentication.

If multiple L2TP groups are configured on the LAC (in the scenario where tunnels are established between a LAC and multiple LNSs), configure binding l2tp-group to bind the specified L2TP group.

All models except USG6635E/6655E, USG6680E and USG6712E/6716E support this command.

Example

# Set the user name for L2TP dial-up on the LAC.

<sysname> system-view
[sysname] interface virtual-template 1
[sysname-Virtual-Template1] call-lns local-user user
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >