Cisco Cisco Packet Data Gateway (PDG)

Pagina di 179
  Service Configurations 
APN Template Configuration to Support L2TP  ▀   
 
IPSec Reference, StarOS Release 17  ▄  
 
   
95 
APN Template Configuration to Support L2TP 
This section provides instructions for adding L2TP support for APN templates configured on the system. 
These instructions assume that the APN template was previously configured on this system. 
Important:
  This section provides the minimum instruction set for configuring an APN template to support L2TP 
for APN. For more information on commands that configure additional parameters and options, refer to the Command 
Line Interface Reference
To configure the APN to support L2TP: 
Step 1 
Modify preconfigured APN template by following the steps in 
  
Step 2 
Verify your APN configuration by following the steps in 
  
Step 3 
Save your configuration to flash memory, an external memory device, and/or a network location using the Exec mode 
command save configuration. For additional information on how to verify and save configuration files, refer to the 
System Administration Guide and the Command Line Interface Reference
Modifying an APN Template to Support L2TP 
Use the following example to modify APN template to support L2TP: 
configure 
   context ctxt_name 
      apn apn_name 
         tunnel l2tp [ peer-address lns_address [ [ encrypted ] secret 
l2tp_secret ] [ preference num ] [ tunnel-context tunnel_ctxt_name ] [ local-
address
 agw_ip_address ] [ crypto-map map_name { [ encrypted ] isakmp-secret 
crypto_secret } ] 
         end 
Notes: 
 
ctxt_name is the system context in which the APN template is configured. 
 
apn_name is name of the preconfigured APN template in which you want to configure L2TP support. 
 
lns_address is the IP address of the LNS node with which this APN will communicate. 
 
tunnel_ctxt_name is the L2TP context in which the L2TP tunnel is configured. 
 
agw_ip_address is the local IP address of the GGSN in which this APN template is configured. 
 
map_name is the preconfigured crypto map (ISAKMP or manual) which is to use for L2TP.