Cisco Cisco ASR 5000

Page of 9109
APN Configuration Mode Commands   
▀  virtual-apn preference 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
1486 
   
The functionality provided by this command can also be used to restrict access to particular APNs. To restrict 
access based on a particular criteria (domain name, mcc/mnc, etc.), the “virtual” APN reference should refer 
to an APN that is not configured on the system and contains the desired rule. All calls matching the 
configured rule would then be denied with a reason code of 219 (DBH), Missing or Unknown APN. 
eWAG 
For eWAG, in this release only the 
access-gw-address
 Virtual APN configuration option is supported. 
For information on how virtual APN configuration can be used in eWAG deployments, refer to the Enhanced 
Wireless Access Gateway Administration Guide

IPSG 
For IPSG, in this release only the following Virtual APN configuration options are supported: 
 
access-gw-address
 (RADIUS client in the case of IPSG) 
 
msisdn-range from msisdn_start_range to msisdn_to_range
 
 
rat-type
 
All these attributes are sent in access-request in Auth-Proxy mode or Acct-Start in other modes to trigger 
Virtual APN selection. 
The functionality provided by this command can also be used to restrict access to particular APNs. To restrict 
access based on a particular criteria (domain name, mcc/mnc, etc.), the “virtual” APN reference should refer 
to an APN that is not configured on the system and contains the desired rule. All calls matching the 
configured rule would then be denied with a reason code of 219 (DBH), Missing or Unknown APN. 
P-GW/SAEGW 
The Virtual APN feature allows a carrier to use a single APN to configure differentiated services. The APN 
that is supplied by the MME is evaluated by the P-GW in conjunction with multiple configurable parameters. 
Then, the P-GW selects an APN configuration based on the supplied APN and those configurable parameters. 
APN configuration dictates all aspects of a session at the P-GW. Different policies imply different APNs. 
After basic APN selection, however, internal re-selection can occur based on the following parameters: 
 
S-GW address: 
access-gw-address
 
 
Service name: 
bearer-access-service 
 
 
Call control profile index: 
cc-profile 
 
 
Domain name part of username (user@domain): 
domain 
 
 
MCC-MNC of IMSI: 
mcc mcc_number
 
mnc mnc_number
 
 
MSISDN range: 
msisdn-range from msisdn_start_range to msisdn_to_range
 
 
Subscriber type: 
rat-type
 
In StarOS v12.x and earlier, the P-GW supports a maximum of 1024 Virtual APNs in a system. In StarOS 
v14.0 and later, the P-GW supports a maximum of 2048 Virtual APNs in a system. 
The functionality provided by this command can also be used to restrict access to particular APNs. To restrict 
access based on a particular criteria (domain name, mcc/mnc, etc.), the “virtual” APN reference should refer 
to an APN that is not configured on the system and contains the desired rule. All PDN connections matching 
the configured rule would then be denied with a reason code of 219 (DBH), Missing or Unknown APN. 
Example
 
The following commands configure two “virtual” APNs, priority 1 references the bigco APN with a domain 
rule of bigco.com, priority 2 references the bigtown APN with a mobile country code rule of 
100
 and a 
mobile network code rule of 
50
virtual-apn preference 1 apn bigco domain bigco.com  
virtual-apn preference 2 apn bigtown mcc 100 mnc 50 msin-range from 
4000000000 to 4999999999