Cisco Cisco Packet Data Interworking Function (PDIF)
APN Configuration Mode Commands
▀ tunnel ipip
▄ Command Line Interface Reference, StarOS Release 16
1436
tunnel ipip
Configures IP-in-IP tunnelling parameters between the GGSN and an external gateway for the APN.
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
tunnel ipip peer-address peer_address local-address local_addr [ preference num ]
no tunnel ipip
no
Disables IP-in-IP tunneling for the APN.
peer-address
peer_address
Specifies the IP address of the external gateway terminating the IP-in-IP tunnel.
peer_address
must be expressed in IPv4 dotted-decimal notation.
local-address
local_addr
Specifies the IP address of the interface in the destination context of the GGSN originating the IP-in-IP
tunnel.
tunnel.
local_addr
must be expressed in IPv4 dotted-decimal notation.
preference
num
Default: 1
If multiple tunnels will be configured, this option can be used to assign a preference to the tunnel.
If multiple tunnels will be configured, this option can be used to assign a preference to the tunnel.
preference
can be configured to any integer value from 1 to 128.
Usage
Subscriber IP payloads are encapsulated with IP-in-IP headers and tunneled by the GGSN to an external
gateway.
gateway.
Example
The following command configures the system to encapsulate subscriber traffic using IP-in-IP and tunnel it
from a local address of
from a local address of
192.168.1.100
to a gateway with an IP address of
192.168.1.225
: