Cisco Cisco Packet Data Gateway (PDG)
GGSN Service Configuration Mode Commands
ip local-port ▀
Command Line Interface Reference, StarOS Release 16 ▄
5107
ip local-port
Configures the local User Datagram Protocol (UDP) port for the Gn interfaces’ GTP-C socket for GTPv1.
Product
GGSN
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > GGSN Service Configuration
configure > context context_name > ggsn-service service_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-ggsn-service)#
Syntax
ip local-port gtpc-v1 port#
default ip local-port gtpc-v1
default
Configures the default value for the local UDP port for GTP Version 1 control messaging for this GGSN
service.
service.
gtpc-v1
port#
Default: 2123
Specifies the UDP port number for GTPv1 GTPC sockets.
Specifies the UDP port number for GTPv1 GTPC sockets.
port#
can be configured to an integer from 1 through 65535.
Usage
By default, the GGSN service attempts to use GTPv1 when communicating with SGSNs. This parameter
configures the UDP port over which the GTP control (GTP-C) sockets are sent.
If an SGSN only supports GTPv0, the GGSN service automatically switches to GTPv0 when communicating
with this SGSN. In the scenario, the GGSN service communicates with the SGSN on UDP port 3386 and
does not have a GTP-C socket.
configures the UDP port over which the GTP control (GTP-C) sockets are sent.
If an SGSN only supports GTPv0, the GGSN service automatically switches to GTPv0 when communicating
with this SGSN. In the scenario, the GGSN service communicates with the SGSN on UDP port 3386 and
does not have a GTP-C socket.
Important:
The UDP port setting on the SGSN must match the local-port setting for the GGSN service on the
system in order for the two devices to communicate.
Example
The following command configures the GGSN service to use UDP port
2500
for exchanging GTPC sockets
with SGSNs when using GTPv1:
ip local port 2500