Cisco Cisco ASR 5000

Page of 9109
APN Configuration Mode Commands   
▀  l3-to-l2-tunnel address-policy 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
1396 
   
l3-to-l2-tunnel address-policy 
Configures the address allocation/validation policy, when subscriber L3 (IPv4/IPv6) sessions are tunneled using an L2 
tunneling protocol, such as L2TP. 
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
 
l3-to-l2-tunnel address-policy { alloc-only | alloc-validate | no-alloc-validate } 
default l3-to-l2-tunnel address-policy 
default
 
Restores the layer 3-to-layer 2 tunnel address policy parameter to the default setting of validation with no 
allocation. 
alloc-only
 
Specifies that the system locally allocates and validates subscriber addresses. Default: Disabled 
alloc-validate
 
Specifies that the system allocates addresses when IP addresses are dynamically assigned. The system does 
not validate the address specified by the subscriber. Default: Disabled 
no-alloc-validate
 
Specifies that the system does not allocate or validate subscriber addresses locally for such sessions; it passes 
the address between remote tunnel terminator to the mobile node. Default: Enabled 
Usage 
This command can be useful for MIP HA sessions tunneled from the system using L2TP tunnels, or GGSN 
PDP contexts of type IP tunneled using L2TP to a remote LNS. 
Example
 
The following command configures the system to locally allocate and validate subscriber addresses: 
l3-to-l2-tunnel address-policy alloc-only