Cisco Cisco Packet Data Interworking Function (PDIF)
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
APN Configuration Mode Commands
l3-to-l2-tunnel address-policy ▀
Command Line Interface Reference, StarOS Release 16 ▄
1357
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.
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.
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
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
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.
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