Cisco Cisco Packet Data Gateway (PDG)

Página de 8994
  Subscriber Configuration Mode Commands 
l3-to-l2-tunnel address-policy  ▀   
 
Command Line Interface Reference, StarOS Release 17  ▄  
 
   
8773 
l3-to-l2-tunnel address-policy 
Configure the subscriber address allocation/validation policy, when subscriber Layer 3 (IPv4) sessions are tunneled 
using Layer 2 tunneling protocol (L2TP). 
Product
 
HA 
GGSN 
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
 
l3-to-l2-tunnel address-policy { alloc-only | alloc-validate | no-alloc-validate } 
default l3-to-l2-tunnel address-policy 
default
 
Restores the default value for Layer 3-to-Layer 2 tunnel addressing: 
no-alloc-validate
l3-to-l2-tunnel address-policy
 
Sets the policy for Layer 3-to-Layer 2 sessions to one of the following options. 
alloc-only
 
Only allocates an address in the case of dynamic address assignment. Does not validate static addresses. 
alloc-validate
 
Locally allocates and validates the subscriber addresses. 
no-alloc-validate
 
Does not allocate or validate subscriber addresses locally for current subscribers sessions. Passes the address 
between the remote tunnel terminator and the Mobile Node. This is the default behavior. 
Usage 
Use this command to configure the L3 to L2 tunnel address policy for MIP HA sessions tunneled from the 
system using L2TP tunnels or for GGSN IP Context sessions tunneled using L2TP to a remote LNS. Also 
refer to the 
resource
 keyword of the Context Configuration mode 
ip pool
 command. 
Example
 
the following command sets the L3-to-L2 tunnel address policy so that the current subscriber must have IP 
addresses allocated and validated locally on the system: