beautypg.com

Configuring an lns – H3C Technologies H3C SecPath F5020 User Manual

Page 42

background image

34

To configure an LAC to automatically establish an L2TP tunnel:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a virtual PPP interface

and enter its view.

interface virtual-ppp
interface-number

By default, no virtual PPP interface
exists.

3.

Configure the IP address of the
virtual PPP interface.

Assign an IP address to the

virtual PPP interface.
ip address address mask

Enable IP address negotiation

on the virtual PPP interface.
ip address ppp-negotiate

By default, no IP address is
assigned.

4.

Configure the peer to be

authenticated.

See "

Configuring PPP

and MP."

N/A

5.

Configure the LAC to
automatically establish an L2TP

tunnel with the LNS.

l2tp-auto-client l2tp-group
group-number

By default, an LAC does not
establish an L2TP tunnel.
An L2TP tunnel automatically

established in LAC-auto-initiated
mode exists until you remove the

tunnel by using the undo

l2tp-auto-client or undo
l2tp-group group-number

command.

6.

(Optional.) Configure the

description for the interface.

description text

By default, the description of an
interface is in the format of

interface-name Interface, for
example, Virtual-PPP254

Interface.

7.

Set the MTU size of the
interface.

mtu size

The default setting is 1500 bytes.

8.

(Optional.) Set the keepalive

interval.

timer-hold seconds

The default setting is 10 seconds.

9.

(Optional.) Set the keepalive
retry limit.

timer-hold retry retry

The default setting is 5.

10.

(Optional.) Configure the
expected bandwidth of the

interface.

bandwidth bandwidth-value

By default, the expected
bandwidth (in kbps) is interface

baudrate divided by 1000.

11.

(Optional.) Restore the default
settings for the interface.

default

N/A

12.

(Optional.) Bring up the

interface.

undo shutdown

By default, an interface is up.

Configuring an LNS

An LNS responds to the tunneling requests from an LAC, authenticates users, and assigns IP addresses to

users.

This manual is related to the following products: