Cisco Cisco Packet Data Interworking Function (PDIF)
APN Profile Configuration Mode
twan ▀
Command Line Interface Reference, StarOS Release 18 ▄
1571
twan
Configures the APN profile with the default gateway address and mask to be sent in the DHCP offer and PBA
messages. This command is specific to SaMOG.
messages. This command is specific to SaMOG.
Product
SaMOG
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > APN Profile Configuration
configure > apn-profile profile_name
Entering the above command sequence results in the following prompt:
[local]host_name(apn-profile-profile_name)#
Syntax
[ no ] twan default-gateway ipv4/ipv6_address/mask
no
Removes the default gateway configuration from this APN profile.
ipv4/ipv6_address/mask
Specifies the IP address of the default gateway sent in the DHCP offer and PBA messages for a 3G session.
ipv4/ipv6_address
must be an IPv4 dotted-decimal or IPv6 colon-separated-hexadecimal notation.
mask
must be an integer value from 1 to 32 for IPv4 addresses, and 1 to 128 for IPv6 addresses (CIDR notation).
Usage
Use this command to configure the APN profile with the default gateway address and mask to be sent in the
DHCP offer and PBA messages. This configuration is required for GTPv1 support only. For 3G subscribers,
if the configured default gateway is unavailable, or does not match with the subnet of the allocated IP from P-
GW or GGSN, the call will be dropped.
A maximum of 16 IP addresses and subnet masks can be configured (in separate lines) for each APN profile.
DHCP offer and PBA messages. This configuration is required for GTPv1 support only. For 3G subscribers,
if the configured default gateway is unavailable, or does not match with the subnet of the allocated IP from P-
GW or GGSN, the call will be dropped.
A maximum of 16 IP addresses and subnet masks can be configured (in separate lines) for each APN profile.
Example
The following command configures the APN profile with the default gateway address and mask of
194.122.12.20/12
:
twan default-gateway 194.122.12.20/12