Cisco Cisco Packet Data Interworking Function (PDIF)
APN Configuration Mode Commands
tunnel l2tp ▀
Command Line Interface Reference, StarOS Release 16 ▄
1439
tunnel l2tp
Configures Layer 2 Tunnelling Protocol (L2TP) parameters between the GGSN and an external gateway for the APN.
Product
GGSN
P-GW
SAEGW
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > APN Configuration
configure > context context_name > apn apn_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-apn)#
Syntax
tunnel l2tp [ peer-address lns-address [ [ encrypted ] secret l2tp_secret ] [ preference
num ] [ tunnel-context name ] [ local-address ip-address ] [ crypto-map map_name { [
encrypted ] isakmp-secret crypto_secret } ] [ local-hostname hostname ]
num ] [ tunnel-context name ] [ local-address ip-address ] [ crypto-map map_name { [
encrypted ] isakmp-secret crypto_secret } ] [ local-hostname hostname ]
no tunnel [ peer-address lns-address]
no
Disables L2TP, or secure L2TP tunneling for the APN if a specific peer-address is not specified, or, if a peer-
address is specified, this keyword removes the peer-address configuration from the APN.
address is specified, this keyword removes the peer-address configuration from the APN.
peer-address
lns-address
Specifies the IP address of the LNS node that the LAC service connects to.
lns-address must be expressed
in IPv4 dotted-decimal notation.
Important:
A maximum of four LNS peers can be configured per APN.
encrypted
This 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 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.
secret
l2tp_secret
Specifies the shared secret (password) between the L2TP Access Concentrator (LAC) service (configured on
the system) and the LNS node.
the system) and the LNS node.
l2tp_secret
must be an alphanumeric string of 1 through 127 characters and is case sensitive.