apn-remap network-identifier
Creates an entry in the APN remap table and provides the ability to override the network identifier part of the APN requested by the UE.
Product
MME
SGSN
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > APN Remap Table Configuration
configure > apn-remap-table table_name
Entering the above command sequence results in the following prompt:
[local]host_name(apn-remap-table_name)#
Syntax
apn-remap network-identifier apn_net_id { new-ni new_apn_net_id subscription-failure reject [ orig-apn ] | operator-identifier apn_op_id { new-ni new_apn_net_id | value-for-ni-wc new_apn_net_id { new-oi new_apn_op_id | value-for-oi-mcc mcc | value-for-oi-mnc mnc } [ orig-apn ] + } | value-for-ni-wc new_apn_net_id [ orig-apn ] }
no apn-remap network-identifier apn_net_id
no
Deletes the specified APN remap entry from the APN remap table.
network-identifier apn_net_id
Identifies the "old" APN network identifier that is being mapped for replacement.
apn_net_id is a string of 1 to 62 characters, including digits, letters, dots (.) and dashes (-). Additionally, one wildcard character ( * ) can be included anywhere within the string.
subscription-failure
Subscription failure for requested APN.
reject
Specifies the rejection with cause code Unknown or Missing APN.
new-ni new_apn_net_id
Identifies the new (target) network identifier to use when no wildcard character is included in the "old" APN network identifier.
new_apn_net_id is a string of 1 to 62 characters, including digits, letters, dots (.) and dashes (-).
orig-apn
Enables MME to send the original APN (UE requested APN) in the ATTACH_ACCEPT or ACTIVATE_DEFAULT_BEARER_REQUEST message to the UE. This is an optional keyword.
If this keyword is not configured, then remapped APN is sent back to UE.
value-for-ni-wc new_apn_net_id
Identifies the information to replace the wildcard in the new APN network identifier when a wildcard character is included in the "old" APN network identifier.
new_apn_net_id is an alphanumeric string of characters, including dots (.) and dashes (-). This string replaces the wildcard (*) specified in the apn_net_id . The two strings together must not exceed 62 characters.
operator-identifier apn_op_id { new-ni new_apn_net_id | value-for-ni-wc new_apn_net_id { new-oi new_apn_op_id | value-for-oi-mcc mcc | value-for-oi-mnc mnc } [ orig-apn ] + }
Identifies the "old" APN operator identifier that is being mapped for replacement.
apn_op_id is a string of 1 to 18 characters including digits, letters, and dots (.). The entry must be in the following format, where # represents a digit: MNC###.MCC###.GPRS .
Optionally, either one or two wildcard characters ( * ) can be entered. Wildcard characters can be used in place of one # or three # -- for example MNC12*.MCC*.GPRS .
The following options can be configured:
-
new-oi new_apn_op_id : Identifies the new (target) operator identifier to use when no wildcard character is included in the "old" APN operator identifier. new_apn_op_id is a string of 1 to 18 characters including digits, letters, and dots (.). The entry must be in the following format, where # represents a digit: MNC###.MCC###.GPRS .
-
value-for-oi-mcc mcc : Identifies the information to replace the wildcard in the new APN operator identifier when a wildcard character is included in the MCC portion of the "old" APN operator identifier; for example MNC###.MCC*.GPRS .
-
value-for-oi-mnc mnc : Identifies the information to replace the wildcard in the new APN operator identifier when a wildcard character is included in the MNC portion of the "old" APN operator identifier; for example MNC*.MCC###.GPRS .
Usage Guidelines
Important |
Entries in the APN remap table are only valid if the table is associated with an operator policy. The same table can then be associated with an IMEI profile as IMEI-specific remap entries are not supported. |
This command defines mapping entries in the APN remap table which supports a range of APN overrides. Mapping can be done one-to-one:
-
a "new" APN network identifier (NI) can be mapped to override an "old" APN network identifier (NI) or an "old" APN operator identifier (OI)
-
a "new" APN operator identifier (OI) can be mapped to override an "old" APN network identifier (NI) or an "old" APN operator identifier (OI)
Mapping can also be done with wildcards in the "old" APN entry mapped to wildcard replacements to dynamically create "new" APN network/operator identifiers.
Related Commands: APN override can also be based on charging characteristics. This type of override mapping is defined with the cc command, also part of this configuration mode.
Example
apn-remap network-identifier 123abc.com new-ni 333CBC.com
apn-remap network-identifier xyz*pqr.com value-for-ni-wc internet2
apn-remap network-identifier * value-for-ni-wc newnet.com