Cisco Cisco Packet Data Interworking Function (PDIF) Prospecto
Subscriber Configuration Mode Commands
tunnel l2tp ▀
Cisco ASR 5x00 Command Line Interface Reference ▄
8371
tunnel l2tp
Configures L2TP tunnel parameters for the subscriber.
Product
All products supporting L2TP
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > Subscriber Configuration
configure > context context_name > subscriber { default | name subscriber_name }
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-subscriber)#
Syntax
tunnel l2tp [ peer-address ip address [ [ encrypted ] [secret secret] ] [ preference
number] [ tunnel-context context ] [ local-address ip_address ] [ crypto-map map_name { [
encrypted ] isakmp-secret secret } ] ]
number] [ tunnel-context context ] [ local-address ip_address ] [ crypto-map map_name { [
encrypted ] isakmp-secret secret } ] ]
no tunnel l2tp [ peer-address ip_address ]
peer-address
ip_address
A peer L2TP Network Server (LNS) associated with this LAC (L2TP Access Concentrator).
ip_address
must be an IP address entered using IPv4 dotted-decimal or IPv6 colon-separated-hexadecimal format.
[ encrypted ] secret
secret
Specifies the shared key (secret) between the L2TP Network Server (LNS) associated with this LAC (L2TP
Access Concentrator).
Access Concentrator).
secret
must be an alphanumeric string of 1 through 63 characters that is case
sensitive.
encrypted
: Specifies the encrypted shared key between the L2TP Network Server (LNS) associated with
this LAC (L2TP Access Concentrator).
secret
must be an alphanumeric string of 1 through 128 characters
that is case sensitive.
The encrypted keyword is intended only for use by the system while saving configuration scripts. The
system displays the encrypted keyword in the configuration file as a flag that the variable following the
secret keyword is the encrypted version of the plain text secret. Only the encrypted secret is saved as part of
the configuration file.
The encrypted keyword is intended only for use by the system while saving configuration scripts. The
system displays the encrypted keyword in the configuration file as a flag that the variable following the
secret keyword is the encrypted version of the plain text secret. Only the encrypted secret is saved as part of
the configuration file.
preference
number
Default: 1
Specifies the order in which a group of tunnels configured for this subscriber will be tried.
Specifies the order in which a group of tunnels configured for this subscriber will be tried.
number
must be
an integer from 1 through 65535.
tunnel-context
context
Specifies the name of the context containing ports through which this subscriber’s data traffic is to be
communicated between this LAC and the LNS.
communicated between this LAC and the LNS.
context
must be an alphanumeric string of 1 through 79
characters.