Command Reference Guide

4allow l2tp 3Com Router 5000 Family and Router 6000 Family
Command Reference
allow l2tp
Purpose Use the allow l2tp command to specify the name of the peer end of the tunnel
on receiving call and the Virtual-Template it uses.
Use the undo allow command to remove the name of the peer end of the tunnel
and the adopted virtual template.
Syntax allow l2tp virtual-template virtual-template-number remote remote-name
[ domain domain-name ]
undo allow
Parameters virtual-template-number
Specifies the virtual-template used when creating new
virtual access interface. Valid values are any integer
from 0 to 1023.
remote-name
Specifies the name of the peer end of the tunnel that
initiates the connection request, consisting of a
case-sensitive character string from 1 to 30 characters
long.
domain-name
Specifies the name of enterprise , consisting of a
case-sensitive character string from 1 to 30 characters
long.
Default By default, call receiving is disabled.
Example Receive L2TP tunnel connection requests sent by the peer end AS8010 (LAC side),
and creates a virtual-access interface on virtual-template 1.
[3Com-l2tp2] allow l2tp virtual-template 1 remote AS8010
Use L2TP group 1 as the default L2TP group, receiving L2TP tunnel connection
requests sent by any peer end, and creates a virtual-access interface according to
virtual-template 1.
[3Com] l2tp-group 1
[3Com-l2tp1] allow l2tp virtual-template 1
View This command can be used in the following views:
L2TP Group view
Description This command is used on LNS side.
For multi-instance applications of L2TP, the domain-name parameter must be
configured.