User Manual - Configuration Guide (Volume 3)

Chapter 2

Versatile Routing Platform

Configuration of L2TP

II. Create VPDN group

LAC and LNS can establish L2TP tunnel only on specific VPDN group.

Perform the following task in global configuration mode.

Table VPN-2-7Create VPDN group

Operation

Command

 

 

Create VPDN group.

vpdn group group-number

Delete VPDN group.

no vpdn group group-number

No VPDN group is created by default. The value of “group-number”may be an integer between 1 and 3000.

III. Create/delete virtual interface template

Virtual template is mainly used to configure operational parameters of dynamically creating virtual interface in router operation.

Perform the following task in global configuration mode.

Table VPN2-8Create/delete virtual interface template

Operation

Command

 

 

Create virtual interface template.

interface virtual-template virtual-template-number

Delete virtual interface template.

no interface virtual-template virtual-template-number

By default, the value of virtual-template-number”is 1, which may be an integer between 1 and 25.

After creating virtual template, designate IP address of virtual template and encapsulate PPP protocol, then the virtual template can work. The users can select to configure authentication on virtual template interface as required.

IV. Set receiving the connection request to originate L2TP channel

After receiving the channel establishment request originated at LAC side, channel establishment depends on LAC name.

Perform the following task in the configuration mode of VPDN group.

Table VPN-2-9Set to receive the connection request to originate L2TP channel

Operation

Command

 

 

Set to receive the connection request to originate L2TP

accept dialin l2tp virtual-template virtual-

channel.

template-number [remote remote-name ]

Delete the connection request to originate L2TP channel.

no accept dialin

When VPDN group 1 is used, it is not necessary to specify channel opposite end name remote-name”. If the opposite end name is designated in the configuration mode of VPDN group 1, VPDN 1 will not be the default VPDN group.

2-9

Page 29
Image 29
Huawei v200r001 user manual III. Create/delete virtual interface template, No vpdn group group-number, No accept dialin