13.5. GTP Command Reference

13.5.1. Command Hierarchies

13.5.1.1. GTP Commands

config
gtp
apn-policy policy-name [create]
— no apn-policy policy-name
apn {apn-name | unknown} [create]
— no apn {apn-name | unknown}
downlink aggregate-rate
downlink arbiter arbiter-name
downlink policer policer-id
downlink queue queue-id
downlink scheduler scheduler-name
no downlink
uplink arbiter arbiter-name
uplink policer policer-id
uplink queue queue-id
uplink scheduler scheduler-name
no uplink
group-interface interface-name svc-id service-id
diameter-auth-policy diameter-authentication-policy-name
radius-auth-policy radius-authentication-policy-name
user-db local-user-database-name
— no user-db
max-held-sessions max-held-sessions
peer-profile profile-name [create]
— no peer-profile profile-name
peer-profile profile-name [create]
change-reporting-action reporting-action
home bit [bit]
— no home
roaming bit [bit.]
— no roaming
description description-string
end-marker-count packets
ggsn
qos
ambr down-link down-link-kbps up-link up-link-kbps
— no ambr
arp arp-value
— no arp
down-link gbr rate mbr rate
— no down-link
up-link gbr rate mbr rate
— no up-link
interface-type {gn | s2a | s2b | s11}
ip-ttl hops
— no ip-ttl
ipv4-mtu bytes
— no ipv4-mtu
keep-alive [interval seconds] [retry-count value] [timeout retry-seconds]
— no keep-alive
message-retransmit [timeout timeout] [retry-count value]
mme
qos
ambr down-link down-link-kbps up-link up-link-kbps
— no ambr
arp arp-value
— no arp
down-link gbr rate mbr rate
— no down-link
qci qci-value
— no qci
up-link gbr rate mbr rate
— no up-link
pgw
qos
ambr down-link down-link-kbps up-link up-link-kbps
— no ambr
arp arp-value
— no arp
down-link gbr rate mbr rate
— no down-link
qci qci-value
— no qci
up-link gbr rate mbr rate
— no up-link
python-policy name
rat-type {utran | geran | wlan | gan | hspa | eutran | virtual | id}
— no rat-type
session-hold-time remaining-lease-time
session-hold-time seconds
serving-network mcc mcc-value mnc mnc-value
configure
— router
gtp
s11
interface interface-name [create]
— no interface interface-name
apn-policy apn-policy-name
— no apn-policy
address ip-prefix/ip-prefix-length [peer-profile profile-name]
— no address ip-prefix/ip-prefix-length
[no] uplink
apn apn
— no apn
pdn-type {ipv4 | ipv6 | ipv4v6}
— no pdn-type
address ip-prefix/ip-prefix-length [peer-profile profile-name]
— no address ip-prefix/ip-prefix-length

13.5.1.2. GTP Service Commands

configure
— service
— vprn service-id
gtp
s11
interface interface-name [create]
— no interface interface-name
apn-policy apn-policy-name
— no apn-policy
address ip-prefix/ip-prefix-length [peer-profile profile-name]
— no address ip-prefix/ip-prefix-length
[no] uplink
apn apn
— no apn
pdn-type {ipv4 | ipv6 | ipv4v6}
— no pdn-type
address ip-prefix/ip-prefix-length [peer-profile profile-name]
— no address ip-prefix/ip-prefix-length

13.5.1.3. Show Commands

show
— router
gtp
peer [peer-profile profile-name] [local-address ip-address] [control protocol] [interface-type interface-type]
peer remote-address {ip-address | ipv6-address} [udp-port port] [dsm-local-ip-address {ip-address | ipv6-address}
peer remote-address {ip-address | ipv6-address} [udp-port port] statistics [dsm-local-ip-address {ip-address | ipv6-address}
— s11
uplink
uplink mgw-address-cache [arec] [snaptr] [srv]
uplink mgw-address-cache apn apn-domain-string
— subscriber-mgmt
gtp
peer-profile [profile-name]
peer-profile profile-name associations
s11
s11 session imsi imsi apn apn-string
s11 session [peer-address ip-address] [router router-instance] [remote-control-teid teid] [local-control-teid teid] [detail]
s11 session imsi imsi
uplink
uplink session imsi imsi apn apn-string
uplink session [peer-address ip-address] [router router-instance] [remote-control-teid teid] [local-control-teid teid] [detail]
uplink session imsi imsi

13.5.1.4. Clear Commands

clear
— router
gtp
peer remote-address ip-address [remote-udp-port port]
peer remote-address ip-address [remote-udp-port port] statistics
uplink
gtp
session all
session apn apn
session apn apn imsi imsi
session imsi imsi

13.5.1.5. Debug Commands

debug
[no] gtp
[no] event
[no] imsi imsi
packet detail-level {high | low}
packet mode {all | dropped}
— no packet
[no] peer router router-instance address ip-address [udp-port port]

13.5.2. GTP Command Descriptions

13.5.2.1. GTP Commands

13.5.2.1.1. Generic Commands

description

Syntax 
description description-string
no description
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command creates a text description stored in the configuration file for a configuration context.

The description command associates a text string with a configuration context to help identify the context in the configuration file.

The no form of this command removes any description string from the context.

Default 

no description

Parameters 
description-string—
Specifies a text string describing the entity. Allowed values are any string up to 80 characters long composed of printable, 7-bit ASCII characters excluding double quotes. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

subscriber-mgmt

Syntax 
subscriber-mgmt
Context 
config
Description 

This command enables the context to configure subscriber management entities. A subscriber is uniquely identified by a subscriber identification string. Each subscriber can have several DHCP sessions active at any time. Each session is referred to as a subscriber host and is identified by its IP address and MAC address.

All subscriber hosts belonging to the same subscriber are subject to the same hierarchical QoS (HQoS) processing. The HQoS processing is defined in the sub-profile (the subscriber profile). A sub-profile refers to an existing scheduler policy (configured in the config>qos>scheduler-policy context) and offers the possibility to overrule the rate of individual schedulers within this policy.

Because all subscriber hosts use the same scheduler policy instance, they must all reside on the same complex.

13.5.2.1.2. GTP Commands

gtp

Syntax 
gtp
Context 
config>router
config>service>vprn
Description 

This command enables the context to configure GTP parameters for the routing context.

s11

Syntax 
s11
Context 
config>router>gtp
config>service>vprn>gtp
Description 

This command enables GTP configuration related to S11 termination in this VRF.

interface

Syntax 
interface interface-name [create]
no interface interface-name
Context 
config>router>gtp>s11
config>service>vprn>gtp>s11
Description 

This command activates GTP termination on the specified interface.

The no form of this command disables GTP termination on the specified interface, if there are no active sessions associated with the interface.

Parameters 
interface-name—
Specifies the name of the interface, up to 32 characters. The name must begin with a letter.
create—
Creates an entry.

apn-policy

Syntax 
apn-policy apn-policy-name
no apn-policy
Context 
config>router>gtp>s11>interface
config>service>vprn>gtp>s11>interface
Description 

This command configures an Access Point Name (APN) policy for the S11 interface.

The no form of this command removes the APN policy.

Parameters 
apn-policy-name—
Specifies the name of the policy, up to 32 characters.

peer-profile-map

Syntax 
peer-profile-map
Context 
config>router>gtp>s11
config>service>vprn>gtp>s11
config>router>gtp>uplink
config>service>vprn>gtp>uplink
Description 

This command configures a mapping of addresses and subnets to GTP peer profiles.

address

Syntax 
address ip-prefix/ip-prefix-length [peer-profile profile-name]
no address ip-prefix/ip-prefix-length
Context 
config>router>gtp>s11>peer-profile-map
config>service>vprn>gtp>s11>peer-profile-map
config>router>gtp>uplink>peer-profile-map
config>service>vprn>gtp>uplink>peer-profile-map
Description 

This command configures a mapping of an IP address or subnet to a peer profile. If one peer profile is used for the entire router, it is possible to map the entire IPv4 subnet using 0.0.0.0/0.

If no match is found, the default or default S11 peer profile is used.

The no form of this command removes the peer profile mapping, affecting only the setup of new peers.

Parameters 
ip-prefix/ip-prefix-length—
Specifies the IP prefix and prefix length of the subnet.
Values—

ipv4-prefix

a.b.c.d (host bits must be 0)

ipv4-prefix-length

[0 to 32]

ipv6-prefix

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - [0 to FFFF]H

d - [0 to 255]D

ipv6-prefix-le

[0 to 128]

 

profile-name—
Specifies the GTP peer profile associated with the address prefix, up to 32 characters.

uplink

Syntax 
[no] uplink
Context 
config>router>gtp
config>service>vprn>gtp
Description 

This command enables GTP configuration related to a GTP uplink using the Gn, S2a, or S2b interface.

apn

Syntax 
apn apn
no apn
Context 
config>router>gtp>uplink
config>service>vprn>gtp>uplink
Description 

This command configures the Network Identifier part of the APN.

The no form of this command removes the string from the configuration.

Default 

no apn

Parameters 
apn—
Specifies the APN used for this IMSI to connect to this Mobile Gateway, up to 80 characters.

pdn-type

Syntax 
pdn-type {ipv4 | ipv6 | ipv4v6}
no pdn-type
Context 
config>router>gtp>uplink
config>service>vprn>gtp>uplink
Description 

This command configures the PDP type to be signaled in GTP, determining which addresses are requested from the P-GW/GGSN and which hosts are set up afterwards. This can be overridden by RADIUS. If the ipv4v6 keyword is used, the P-GW/GGSN can fall back to either IPv4 or IPv6.

The no form of this command reverts to the default configuration.

Default 

pdn-type ipv4

Parameters 
ipv4—
Specifies the GTP connection requests an IPv4 address.
ipv6—
Specifies the GTP connection requests an IPv6 address.
ipv4v6—
Specifies the GTP connection requests both an IPv4 and an IPv6 address.

gtp

Syntax 
gtp
Context 
config>subscr-mgmt
Description 

This command enables the context to configure box-wide GTP parameters and profiles.

apn-policy

Syntax 
apn-policy policy-name [create]
no apn-policy policy-name
Context 
config>subscr-mgmt>gtp
Description 

This command configures an APN policy that defines parameters to be used when setting up a new incoming GTP connection. Each APN can be mapped to its own set of parameters.

The no form of this command removes the policy from the system. A policy can only be removed if it is not in use.

Parameters 
policy-name—
Specifies the name of the policy, up to 32 characters.
create—
Creates an entry.

apn

Syntax 
apn {apn-name | unknown} [create]
no apn {apn-name | unknown}
Context 
config>subscr-mgmt>gtp>apn-policy
Description 

This command configures the parameters that should be applied to incoming connections with the APN specified. Multiple APN nodes can be defined per APN policy.

For each APN-policy, one unknown APN entry can be created. This APN is used by all connections not matching another APN.

The no form of this command removes the APN from the policy. Only new sessions are affected by the removal.

Parameters 
apn-name—
Specifies the APN name as it appears in GTP messaging, up to 80 characters.
create—
Creates an apn-name instance. The create keyword requirement can be enabled or disabled in the environment>create context.

ambr-qos-mapping

Syntax 
ambr-qos-mapping
Context 
config>subscr-mgmt>gtp>apn-policy>apn
Description 

Mapping of an incoming APN-AMBR to SR OS QoS overrides.

downlink

Syntax 
downlink aggregate-rate
downlink arbiter arbiter-name
downlink policer policer-id
downlink queue queue-id
downlink scheduler scheduler-name
no downlink
Context 
config>subscr-mgmt>gtp>apn-policy>apn>ambr-qos-mapping
Description 

When enabled, the downlink rate in the APN-AMBR IE in an incoming GTP message is interpreted as a rate override for the specified egress QoS object. For queues and policers, the PIR is overridden.

This override uses standard SR OS QoS overrides. Therefore, a subsequent Gx/RADIUS-based override removes this override.

The no form of this command disables the override mechanism.

Default 

no downlink

Parameters 
aggregate-rate—
Specifies the aggregate rate.
arbiter-name—
Specifies the name of the arbiter to be overridden, up to 32 characters.
policer-id—
Specifies the ID of the policer to be overridden.
Values—
1 to 63

 

queue-id—
Specifies the ID of the queue to be overridden.
Values—
1 to 8

 

scheduler-name—
Specifies the name of the scheduler to be overridden, up to 32 characters.

uplink

Syntax 
uplink arbiter arbiter-name
uplink policer policer-id
uplink queue queue-id
uplink scheduler scheduler-name
no uplink
Context 
config>subscr-mgmt>gtp>apn-policy>apn>ambr-qos-mapping
Description 

When enabled, the uplink rate in the APN-AMBR IE in an incoming GTP message is interpreted as a rate override for the specified ingress QoS object. For queues and policers, the PIR is overridden.

This override uses standard SR OS QoS overrides. Therefore, a subsequent Gx/RADIUS-based override removes this override.

The no form of this command disables the override mechanism.

Default 

no uplink

Parameters 
arbiter-name—
Specifies the name of the arbiter to be overridden, up to 32 characters.
policer-id—
Specifies the ID of the policer to be overridden.
Values—
1 to 63

 

queue-id—
Specifies the ID of the queue to be overridden.
Values—
1 to 32

 

scheduler-name—
Specifies the name of the scheduler to be overridden, up to 32 characters.

defaults

Syntax 
defaults
Context 
config>subscr-mgmt>gtp>apn-policy>apn
Description 

This command enables the context to configure default parameters for the GTP connection that can be used when the parameters are not returned in authentication.

group-interface

Syntax 
group-interface interface-name svc-id service-id
no group-interface
Context 
config>subscr-mgmt>gtp>apn-policy>apn>defaults
Description 

This command configures the default group interface where the hosts of the GTP connection is enabled. The group interface must be of type gtp.

The no form of this command removes the default group interface. In this case, a group interface must be specified using authentication.

Default 

no group-interface

Parameters 
interface-name—
Specifies the name of the group interface, up to 32 characters.
service-id—
Specifies the ID of the service where the group interface resides.
Values—

service-id:

1 to 2147483647

svc-name:

up to 64 characters

 

diameter-auth-policy

Syntax 
diameter-auth-policy diameter-authentication-policy-name
no diameter-auth-policy
Context 
config>subscr-mgmt>gtp>apn-policy>apn
Description 

This command configures the Diameter authentication policy with which the GTP connection is authenticated.

The no form of this command removes the authentication policy. Only new session setups are affected.

Default 

no diameter-auth-policy

Parameters 
diameter-authentication-policy-name—
Specifies the name of the authentication policy to be used, up to 32 characters.

radius-auth-policy

Syntax 
radius-auth-policy radius-authentication-policy-name
no radius-auth-policy
Context 
config>subscr-mgmt>gtp>apn-policy>apn
Description 

This command configures the RADIUS authentication policy with which the GTP connection is authenticated.

The no form of this command removes the authentication policy. Only new session setups are affected.

Default 

no radius-auth-policy

Parameters 
radius-authentication-policy-name—
Specifies the name of the authentication policy to be used, up to 32 characters.

skip-gtp-ipv4-alloc

Syntax 
[no] skip-gtp-ipv4-alloc
Context 
config>subscr-mgmt>gtp>apn-policy>apn
Description 

This command enables the ability to skip IPv4 address assignment using a GTP session setup response when PCO "allocation via NAS" is not present in a GTP session creation request. Without this configuration, IPv4 address allocation is done using GTP session setup response, even in absence of the PCO "allocation via NAS" in a GTP session setup request.

The no form of this command reverts to IPv4 address allocation using GTP.

user-db

Syntax 
user-db local-user-database-name
no user-db
Context 
config>subscr-mgmt>gtp>apn-policy>apn
Description 

This command configures the LUDB with which the GTP connection is authenticated.

The no form of this command removes the user database for authentication with this APN. Only new session setups are affected.

Default 

no user-db

Parameters 
local-user-database-name—
Specifies the name of the LUDB to be used, up to 32 characters.

max-held-sessions

Syntax 
max-held-sessions max-held-sessions
no max-held-sessions
Context 
config>subscr-mgmt>gtp
Description 

This command configures the maximum number of GTP sessions to be held while their UE is disconnected.

The no form of this command reverts to the default.

Default 

max-held-sessions 2000

Parameters 
max-held-sessions—
Specifies the maximum number of GTP sessions.
Values—
0 to 500000

 

peer-profile

Syntax 
peer-profile profile-name [create]
no peer-profile profile-name
Context 
config>subscr-mgmt>gtp
Description 

This command creates a new peer profile.

Parameters 
profile-name—
Specifies the profile name, up to 32 characters.
create—
Creates an entry.

change-reporting-action

Syntax 
change-reporting-action reporting-action
no change-reporting-action
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command specifies the value of the change reporting action IE sends to the peer in applicable messages. The peer needs to indicate support first using the appropriate flag in the indication IE.

This is overridden by AAA, if AAA explicitly request notification changes for either ECGI, TAI or both. If AAA does not request any notification changes or only the generic location change, the configured value is used.

The no form of this command indicates that the IE is not sent, unless specified by AAA.

Default 

no change-reporting-action

Parameters 
reporting-action—
Specifies the reporting action value as per TS 29.274.
Values—
0 to 255, cgi-sai, rai, tai, ecgi, cgi-sai-rai, tai-ecgi

 

charging-characteristics

Syntax 
charging-characteristics
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command enables the context to configure charging characteristics.

Default 

none

home

Syntax 
home bit [bit]
no home
Context 
config>subscr-mgmt>gtp>peer-profile>charging
Description 

This command configures the charging characteristics for home UE.

Default 

no home

Parameters 
bit—
Specifies up to 16 bits to set in the Charging Characteristics Information Element (IE) for home UE, if not known by other means such as RADIUS.
Values—
bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7, bit8, bit9, bit10, bit11, bit12, bit13, bit14, bit15

 

roaming

Syntax 
roaming bit [bit]
no roaming
Context 
config>subscr-mgmt>gtp>peer-profile>charging
Description 

This command configures the charging characteristics for roaming UE.

The no form of this command removes the bit value from the configuration.

Default 

no roaming

Parameters 
bit—
Specifies up to 16 bits to set in the Charging Characteristics Information Element (IE) for roaming UE, if not known by other means such as RADIUS.
Values—
bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7, bit8, bit9, bit10, bit11, bit12, bit13, bit14, bit15

 

end-marker-count

Syntax 
end-marker-count packets
no end-marker-count
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command specifies the number of end marker packets that are sent when it is certain no more packets will be sent over the corresponding GTP-U tunnel, such as after a completed mobility event.

The no form of this command reverts the value to the default.

Default 

end-marker-count 1

Parameters 
packets—
Specifies the number of end marker packets to send.
Values—
0 to 5

 

ggsn

Syntax 
ggsn
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command enables the context to configure communication with a GGSN Mobile Gateway.

qos

Syntax 
qos
Context 
config>subscr-mgmt>gtp>peer-profile>ggsn
config>subscr-mgmt>gtp>peer-profile>mme
config>subscr-mgmt>gtp>peer-profile>pgw
Description 

This command enables the context to configure QoS for a GGSN Mobile Gateway.

mme

Syntax 
mme
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command configures parameters specific to a Mobility Management Entity (MME) peer.

ambr

Syntax 
ambr down-link down-link-kbps up-link up-link-kbps
no ambr
Context 
config>subscr-mgmt>gtp>peer-profile>ggsn>qos
config>subscr-mgmt>gtp>peer-profile>pgw>qos
config>subscr-mgmt>gtp>peer-profile>mme>qos
Description 

This command configures the Aggregated Maximum Bit Rate (AMBR) to be sent in the APN AMBR IE. The contents of this IE can be overridden by RADIUS or report-rate mechanisms. If those mechanisms specify a partial value, such as only specifying the down-link parameter, the other value is picked up from the ambr configuration.

For GTPv1, the no form of this command implies that the IE will not be sent. If a partial value is received from another source, the missing value will use the following defaults:

  1. 10000 kb/s up-link
  2. 20000 kb/s down-link

For GTPv2, the no form of this command reverts to the default of 10000 kb/s up-link and 20000 kb/s down-link.

Default 

no ambr - for ggsn

ambr down-link 20000 up-link 10000 - for mme and pgw

Parameters 
down-link-kbps
Specifies the downlink AMBR.
Values—
0 to 10000000

 

up-link-kbps
Specifies the uplink AMBR.
Values—
0 to 10000000

 

arp

Syntax 
arp arp-value
no arp
Context 
config>subscr-mgmt>gtp>peer-profile>ggsn>qos
config>subscr-mgmt>gtp>peer-profile>pgw>qos
config>subscr-mgmt>gtp>peer-profile>mme>qos
Description 

The command configures the allocation and retention priority to be used in the GTP messages as QoS IE (for a Gn interface) or Bearer QoS (for GTPv2).

The no form of this command reverts to the default.

Default 

arp 1

Parameters 
arp-value—
Specifies the Allocation/Retention Priority (ARP).
Values—
1 to 3 (for ggsn context)

 

Values—
1 to 15 (for pgw and mme context)

 

down-link

Syntax 
down-link gbr rate mbr rate
no down-link
Context 
config>subscr-mgmt>gtp>peer-profile>ggsn>qos
config>subscr-mgmt>gtp>peer-profile>pgw>qos
config>subscr-mgmt>gtp>peer-profile>mme>qos
Description 

This command configures the down-link bitrate in kb/s to be used in the GTP messages.

The no form of this command reverts to the default.

Default 

down-link gbr 2000 mbr 2000

down-link gbr 2000 mbr 2000 - for ggsn

down-link gbr 0 mbr 0 - for mme and pgw

Parameters 
gbr rate
Specifies the downlink Guaranteed Bit Rate (GBR) to be used in the GTP messages as QOS IE (GTPv1) or Bearer QOS (GTPv2).
mbr rate
Specifies the downlink Maximum Bit Rate (MBR) to be used in the GTP messages as QOS IE (GTPv1) or Bearer QOS (GTPv2).

up-link

Syntax 
up-link gbr rate mbr rate
no up-link
Context 
config>subscr-mgmt>gtp>peer-profile>ggsn>qos
config>subscr-mgmt>gtp>peer-profile>pgw>qos
config>subscr-mgmt>gtp>peer-profile>mme>qos
Description 

This command configures the up-link bitrate in kb/s to be used in the GTP messages.

The no form of this command reverts to the default.

Default 

up-link gbr 5000 mbr 5000 - for ggsn

up-link gbr 0 mbr 0 - for mme and pgw

Parameters 
gbr rate
Specifies the uplink Guaranteed Bit Rate (GBR) to be used in the GTP messages as QOS IE (GTPv1) or Bearer QOS (GTPv2).
mbr rate
Specifies the uplink Maximum Bit Rate (MBR) to be used in the GTP messages as QOS IE (GTPv1) or Bearer QOS (GTPv2).

pgw

Syntax 
pgw
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command enables the context to configure communication with a Packet Data Network Gateway.

Default 

none

qci

Syntax 
qci qci-value
no qci
Context 
config>subscr-mgmt>gtp>peer-profile>pgw>qos
config>subscr-mgmt>gtp>peer-profile>mme>qos
Description 

This command configures the QoS Class Identifier (QCI) to send in the Bearer Level QoS IE in GTPv2 messages.

The no form of this command reverts to the default.

Default 

qci 8

Parameters 
qci-value—
Specifies the QCI value to send.
Values—
1 to 9

 

interface-type

Syntax 
interface-type {gn | s2a | s2b | s11}
no interface-type
Context 
config>subscr-mgmt>gtp >peer-profile
Description 

This command specifies the interface applicable for communications to the peer. If the interface type does not match the given context in an uplink context, the peer setup will fail.

The no form of this command reverts to the default value.

Default 

interface-type s2a

Parameters 
gn—
Signaling interface with the peer is Gn as specified in 3GPP TS 29.060.
s2a—
Signaling interface with the peer is s2a as specified in 3GPP TS 29.274.
s2b—
Signaling interface with the peer is s2b as specified in 3GPP TS 29.274.
s11—
Signaling interface with the peer is s11 as specified in 3GPP TS 29.274.

ip-ttl

Syntax 
ip-ttl hops
no ip-ttl
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command configures the value to put in the IP header’s TTL field for GTP control messages.

The no form of this command reverts to the default value.

Default 

ip-ttl 255

Parameters 
hops—
Specifies the IP TTL.
Values—
1 to 255

 

ipv4-mtu

Syntax 
ipv4-mtu bytes
no ipv4-mtu
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command configures the value of the IPv4-MTU PCO sent in S11 GTP messages. This is the MTU a device should honor when sending data toward the SGW/PGW. For IPv6, this value is signaled in the RA message and which can be configured in the grp-if> ipv6>rtr-adv>mtu context.

The no form of this command resets the signaled IPv4 MTU to the default.

Default 

ipv4-mtu 1400

Parameters 
bytes—
Specifies the MTU value in bytes.
Values—
512 to 9000

 

keep-alive

Syntax 
keep-alive [interval seconds] [retry-count value] [timeout retry-seconds]
no keep-alive
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command configures Echo-Request messages.

The no form of this command reverts to the default values.

Default 

keep-alive interval 60 retry-count 4 timeout 5

Parameters 
seconds
Specifies, in seconds, the interval between keep-alive Echo-Request messages towards the same peer.
Values—
0, 60 to 180

 

Default—
60
value
Specifies, in seconds, the interval between keep-alive Echo-Request messages towards the same peer.
Values—
1 to 15

 

Default—
4
retry-seconds
Specifies the retry timeout, in seconds.
Values—
1 to 20

 

Default—
5

message-retransmit

Syntax 
message-retransmit [timeout timeout] [retry-count value]
no message-retransmit
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command configures the retry-count and response-timeout for GTP messages.

The no form of this command reverts to the default values.

Default 

message-retransmit timeout 5 retry-count 3

Parameters 
timeout—
Specifies the interval, in seconds, between retransmission of signaling request messages towards the same peer Mobile Gateway.
Values—
1 to 30

 

Default—
5
value—
Specifies the number of times a signaling request message is transmitted towards the same peer Mobile Gateway.
Values—
1 to 8

 

Default—
3

protocol-configuration-options

Syntax 
protocol-configuration-options {apco | pco}
no protocol-configuration-options
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command configures the Information Element to use for the Protocol Configuration Options.

The no form of this command reverts to the default value.

Default 

protocol-configuration-options pco

Parameters 
apco—
Specifies that the system uses the Protocol Configuration Options Information Element.
pco—
Specifies that the system uses the Additional Protocol Configuration Options Information Element.

python-policy

Syntax 
python-policy name
no python-policy
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command specifies the Python policy for MGW profile packets sent/received on the group interface.

The no form of this command removes the policy name from the configuration.

Default 

no python-policy

Parameters 
name—
Specifies an existing Python policy name up to 32 characters.

rat-type

Syntax 
rat-type {utran | geran | wlan | gan | hspa | eutran | virtual | id}
no rat-type
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command configures the default Radio Access Type (RAT) signaled during GTP setup. RAT is the underlying physical connection method for a radio-based communication network. This can be overridden by RADIUS.

The no form of this command reverts to the default value.

Default 

rat-type wlan

Parameters 
utran—
Specifies the signaled RAT type is UTRAN (1).
geran—
Specifies the signaled RAT type is GERAN (2).
wlan—
Specifies the signaled RAT type is WLAN (3).
gan—
Specifies the signaled RAT type is GAN (4).
hspa—
Specifies the signaled RAT type is HSPA Evolution (5).
eutran—
Specifies the signaled RAT type is EUTRAN (6).
virtual—
Specifies the signaled RAT type is virtual (7).
id—
Specifies the numeric RAT type value.
Values—
0 to 255

 

report-wlan-location

Syntax 
[no] report-wlan-location
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command enables reporting the WLAN location or cellular location of the UE in the signaling interface (S2a or Gn) between the WLAN GW and the mobile gateway (PGW or GGSN).

The no form of this command disables location reporting.

Default 

no report-wlan-location

session-hold-time

Syntax 
session-hold-time remaining-lease-time
session-hold-time seconds
no session-hold-time
Context 
config>subscr-mgmt>gtp>peer-profile
Description 

This command configures, in seconds, the time that a GTP session context is held after the corresponding UE is disconnected. If the same UE re-connects to this system before this time has elapsed, its GTP session context is re-used. When the timer expires, the GTP session context is cleared.

The no form of this command reverts to the default.

Default 

session-hold-time 30

Parameters 
remaining-lease-time—
Specifies that the timer is equal to the UE’s DHCP remaining lease time.
seconds—
Specifies the time, in seconds, to hold a GTP session after its UE is disconnected.
Values—
0 to 3600

 

serving-network

Syntax 
serving-network mcc mcc-value mnc mnc-value
no serving-network
Context 
config>subscr-mgmt>gtp
Description 

This command configures the Operator Identifier part (MCC and MNC) of the APN.

The no form of this command removes the values from the profile.

Default 

no serving-network

Parameters 
mcc-value—
Specifies the Mobile Country Code (MCC) portion of the Serving Network.
Values—
3 digits

 

mnc-value—
Specifies the Mobile Network Code (MNC) portion of the Serving Network.
Values—
2 or 3 digits

 

13.5.2.1.3. GTP Show Commands

gtp

Syntax 
gtp
Context 
show>router
Description 

This command displays operational information related to GTP usage in the specified routing context.

peer

Syntax 
peer [peer-profile profile-name] [local-address ip-address] [control protocol] [interface-type interface-type]
peer remote-address {ip-address | ipv6-address] [udp-port port] [dsm-local-ip-address {ip-address | ipv6-address}
peer remote-address {ip-address | ipv6-address] [udp-port port] statistics [dsm-local-ip-address {ip-address | ipv6-address}
Context 
show>router>gtp
Description 

This command displays GTP peer information.

Parameters 
profile-name
Specifies the name that identifies the profile.
ip-address
Specifies the local IP address.
Values—

ipv4-address:

a.b.c.d

ipv6-address:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - [0 to FFFF]H

d - [0 to 255]D

 

protocol
Specifies the control plane protocol used for the connection with this Mobile Gateway.
Values—
gtpv1-c, gtpv2-c

 

interface-type
Specifies the interface type used in the context of this peer.
Values—
gn — Gn interface
s2a — S2a interface
s2b —S2b interface
s11 —S11 interface

 

ip-address
Specifies the remote IP address.
Values—

ipv4-address:

a.b.c.d

ipv6-address:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - [0 to FFFF]H

d - [0 to 255]D

 

port
Specifies the UDP port.
Values—
1 to 65535

 

statistics—
Displays statistics information about the Mobile Gateways connected to this system.
Output 

The following is an example of peer GTP information.

Sample Output
Node# show router 10 gtp peer 
=============================================================================== 
Peers 
=============================================================================== 
Remote address              : 192.168.100.1 
UDP port                    : 2123 
------------------------------------------------------------------------------- 
State                       : up 
Local address               : 192.0.2.10 
Profile                     : default_s11 
Control protocol            : gtpv2-c 
Interface type              : s11 
Restart count               : 1 
Time                        : 2018/05/31 11:12:59 
------------------------------------------------------------------------------- 
No. of Peers: 1 
===============================================================================

peer-profile-map

Syntax 
peer-profile-map
Context 
show>router>gtp>s11
Description 

This command displays the peer profile mapping that is used to connect to S11 peers.

Output 

The following is an example of GTP peer profile map information.

Sample Output
Node# show router 20 gtp s11 peer-profile-map 
=============================================================================== 
Peer profile map 
=============================================================================== 
Address prefix                                Profile 
------------------------------------------------------------------------------- 
0.0.0.0/0                                     default_s11 
192.2.0.0/24                                  specific_profile 
------------------------------------------------------------------------------- 
No. of address prefixes: 2 
=============================================================================== 

uplink

Syntax 
uplink
uplink mgw-address-cache [arec] [snaptr] [srv]
uplink mgw-address-cache apn apn-domain-string
Context 
show>router>gtp
Description 

This command displays operational information related to the usage of GTP uplink interfaces (Gn, S2a, S2b) in this routing context.

Parameters 
arec—
Displays A-records.
snaptr—
Displays Straightforward-NAPTR information.
srv—
Displays SRV records.
apn-domain-string
Specifies the Access Point Name (APN) of this DNS cache entry.
Output 

The following is an example of GTP uplink information.

Sample Output
Node# show router 10 gtp uplink mgw-address-cache 
=============================================================================== 
Mobile Gateway address cache 
=============================================================================== 
APN : full.dotted.apn.apn.epc.mnc010.mcc206.3gppnetwork.org 
------------------------------------------------------------------------------- 
Mobile Gateway address : 5.20.1.2 
Time left (s) : 3587 
------------------------------------------------------------------------------- 
No. of cache entries: 1 
No. of Mobile gateways: 1 
=============================================================================== 

gtp

Syntax 
gtp
Context 
show>subscr-mgmt
Description 

This command displays router operational GTP information.

peer-profile

Syntax 
peer-profile [profile-name]
peer-profile profile-name associations
Context 
show>subscr-mgmt>gtp
Description 

This command displays GTP peer profile information.

Parameters 
profile-name
Specifies the name that identifies the profile.
associations—
Specifies the associated contexts for the specified peer profile.
Output 

The following is an example of GTP peer profile information.

Sample Output
Node# show subscriber-mgmt gtp peer-profile 
=============================================================================== 
GTP peer profiles 
=============================================================================== 
Name                             Description 
-------------------------------------------------------------------------------
default                          (Not Specified) 
default_s11                      (Not Specified) 
------------------------------------------------------------------------------- 
No. of profiles: 2 
=============================================================================== 
Node# show subscriber-mgmt gtp peer-profile "default_s11" 
=============================================================================== 
GTP peer profile "default_s11" 
=============================================================================== 
Description                 : (Not Specified) 
Retransmit timeout (s)      : 5 
Retransmit retries          : 3 
Keepalive interval (s)      : 60 
Keepalive retries           : 4 
Keepalive retry timeout (s) : 5 
Time to live                : 255 
IPv4 MTU                    : 1400 
Interface type              : s11 
Charging char home UE       : (None) 
Charging char roaming UE    : (None) 
Session hold time (s)       : 30 
Report WLAN location        : disabled 
Procotol Config Options I.E.: pco 
Python policy               : (Not Specified) 
Radio Access Technology type: wlan 
Last management change      : 05/31/2018 11:05:46 
GGSN uplink GBR (Kbps)      : 5000 
GGSN uplink MBR (Kbps)      : 5000 
GGSN downlink GBR (Kbps)    : 2000 
GGSN downlink MBR (Kbps)    : 2000 
GGSN Alloc/Retention Prio   : 1 
GGSN uplink AMBR (Kbps)     : (Not Specified) 
GGSN downlink AMBR (Kbps)   : (Not Specified) 
GGSN last management change : 05/31/2018 11:05:46 
PGW uplink GBR (Kbps)       : 0 
PGW uplink MBR (Kbps)       : 0 
PGW downlink GBR (Kbps)     : 0 
PGW downlink MBR (Kbps)     : 0 
PGW Alloc/Retention Prio    : 1 
PGW Qos Class ID            : 8 
PGW uplink AMBR (Kbps)      : 10000 
PGW downlink AMBR (Kbps)    : 20000 
PGW last management change  : 05/31/2018 11:05:46 
MME uplink GBR (Kbps)       : 0 
MME uplink MBR (Kbps)       : 0 
MME downlink GBR (Kbps)     : 0 
MME downlink MBR (Kbps)     : 0 
MME Alloc/Retention Prio    : 1 
MME Qos Class ID            : 8 
MME uplink AMBR (Kbps)      : 10000 
MME downlink AMBR (Kbps)    : 20000 
MME last management change  : 05/31/2018 11:05:46 
===============================================================================

s11

Syntax 
s11
s11 session imsi imsi apn apn-string
s11 session [peer-address ip-address] [router router-instance] [remote-control-teid teid] [local-control-teid teid] [detail]
s11 session imsi imsi
Context 
show>subscr-mgmt>gtp
Description 

This command displays information related to established S11 connections. Specific sessions can be selected based on IMSI, APN, or MME.

Parameters 
imsi
Specifies the IMSI (International Mobile Subscriber Identity) of this UE.
apn-string
Specifies the APN (Access Point Name).
ip-address
Specifies the IP address of the MME.
router-instance
Specifies the identifier of the virtual router instance where the GTP tunnel is terminated.
remote-control-teid teid
Specifies the remote control plane Tunnel Endpoint Identifier (TEID).
local-control-teid teid
Specifies the local control plane TEID.
detail—
Displays detailed information.
Output 

The following is an example of GTP S11 information.

Sample Output
Node# show subscriber-mgmt gtp s11 session 
=============================================================================== 
GTP S11 sessions 
=============================================================================== 
IMSI                        : 001020000000001 
APN                         : demo.mnc001.mcc001.gprs 
------------------------------------------------------------------------------- 
Peer router                 : 10 
Peer address                : 192.168.100.1 
Remote control TEID         : 1 
Local control TEID          : 4293919008 
PDN TEID                    : 4293919008 
Charging characteristics    : (None) 
Uplink AMBR (kbps)          : 10000 
Downlink AMBR (kbps)        : 20000 
Ipoe-session SAP            : [pxc-1.b:1.8] 
Ipoe-session Mac Address    : 00:03:ff:f0:01:20 
------------------------------------------------------------------------------- 
No. of GTP S11 sessions: 1 
=============================================================================== 

statistics

Syntax 
statistics
Context 
show>subscr-mgmt>gtp
Description 

This command displays GTP statistics information.

Output 

The following is an example of GTP statistics.

Sample Output
Node# show subscriber-mgmt gtp statistics 
=============================================================================== 
GTP statistics 
=============================================================================== 
tx echo requests                                        : 23 
tx echo responses                                       : 0 
tx errors                                               : 0 
rx echo requests                                        : 0 
rx echo responses                                       : 23 
rx errors                                               : 0 
rx version not supported                                : 0 
rx zero TEID responses                                  : 0 
path faults                                             : 0 
path restarts                                           : 0 
tx invalid msgs                                         : 0 
tx create PDP context requests                          : 0 
tx create PDP context responses                         : 0 
tx delete PDP context requests                          : 0 
tx delete PDP context responses                         : 0 
tx create session requests                              : 0 
tx create session responses                             : 1 
tx delete session requests                              : 0 
tx delete session responses                             : 0 
tx delete bearer requests                               : 0 
tx delete bearer responses                              : 0 
tx create bearer responses                              : 0 
tx update bearer responses                              : 0 
tx modify bearer requests                               : 0 
tx modify bearer responses                              : 1 
tx change notification responses                        : 0 
tx rls access bearers responses                         : 0 
tx error indication count                               : 0 
tx downlink notifications                               : 0 
tx stop paging indication                               : 0 
tx end marker                                           : 0 
rx invalid msgs                                         : 0 
rx create PDP context requests                          : 0 
rx create PDP context responses                         : 0 
rx delete PDP context requests                          : 0 
rx delete PDP context responses                         : 0 
rx create session requests                              : 1 
rx create session responses                             : 0 
rx delete session requests                              : 0 
rx delete session responses                             : 0 
rx delete bearer requests                               : 0 
rx delete bearer responses                              : 0 
rx create bearer requests                               : 0 
rx update bearer requests                               : 0 
rx modify bearer requests                               : 1 
rx modify bearer responses                              : 0 
rx change notification requests                         : 0 
rx rls access bearers request                           : 0 
rx error indication count                               : 0 
rx downlink notification ack                            : 0 
rx downlink notification fail                           : 0 
rx invalid pkt length                                   : 0 
rx unknown pkts                                         : 0 
rx missing IE pkts                                      : 0 
rx bad UDP header pkts                                  : 0 
rx discarded pkts                                       : 0 
rx in-session discarded pkts                            : 0 
rx pkts                                                 : 25 
tx discarded pkts                                       : 0 
tx pkts                                                 : 25 
rx UDP checksum error                                   : 0 
=============================================================================== 

summary

Syntax 
summary
Context 
show>subscr-mgmt>gtp
Description 

This command displays a GTP system summary of information.

Output 

The following is an example of GTP summary information.

Sample Output
Node# show subscriber-mgmt gtp summary 
=============================================================================== 
GTP system summary 
=============================================================================== 
Actual number of MME                                    : 1 
Actual number of ENODE-B                                : 1 
Actual number of S11 Sessions                           : 1 
Actual number of Mobile Gateways                        : 0 
Actual number of Uplinks                                : 0 
Actual number of Uplinks in Hold                        : 0 
===============================================================================

uplink

Syntax 
uplink
uplink session imsi imsi apn apn-string
uplink session [peer-address ip-address] [router router-instance] [remote-control-teid teid] [local-control-teid teid] [detail]
uplink session imsi imsi
Context 
show>subscr-mgmt>gtp
Description 

This command displays box-wide operational information related to the GTP uplink interfaces (Gn, S2a, S2b).

Parameters 
imsi
Specifies the IMSI (International Mobile Subscriber Identity) of this UE.
apn-string
Specifies the APN (Access Point Name).
ip-address
Specifies the IP address of the Mobile Gateway (PGW or GGSN).
router-instance
Specifies the identifier of the virtual router instance where the GTP tunnel is terminated.
remote-control-teid teid
Specifies the remote control plane Tunnel Endpoint Identifier (TEID).
local-control-teid teid
Specifies the local control plane TEID.
detail—
Displays detailed information.
Output 

The following is an example of GTP uplink information

Sample Output
Node# show subscriber-mgmt gtp uplink session detail 
=============================================================================== 
GTP sessions 
=============================================================================== 
IMSI : 206100000000041 
APN : full.dotted.apn.mnc010.mcc206.gprs 
------------------------------------------------------------------------------- 
Mobile Gateway router : "Base" 
Mobile Gateway address : 5.20.1.2 
Remote control TEID : 1119232 
Local control TEID : 4293918976 
Bearer 5 rem TEID : 1074861061 
Bearer 5 loc TEID : 4293919013 
------------------------------------------------------------------------------- 
No. of GTP sessions: 1 
===============================================================================

13.5.2.1.4. GTP Clear Commands

gtp

Syntax 
gtp
Context 
clear>router
Description 

This command enables the context to clear GTP information in this routing context.

peer

Syntax 
peer remote-address ip-address [remote-udp-port port]
peer remote-address ip-address [remote-udp-port port] statistics
Context 
clear>router>gtp
Description 

This command clears all states for a given peer in this routing context. The system no longer sends keep-alive messages to the peer, and all active sessions are terminated.

If the optional statistics parameter is specified, only the peer statistics are cleared and all sessions remain.

Parameters 
ip-address—
Specifies the IP address of the peer.
Values—

ipv4-address:

a.b.c.d (host bits must be 0)

ipv6-address:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - [0 to FFFF]H

d - [0 to 255]D

 

port—
Specifies the UDP port used by the peer.
statistics—
Specifies to clear only the peer statistics with all sessions remaining active.

uplink

Syntax 
uplink
Context 
clear>router>gtp
Description 

This command clears information related to the GTP uplink state for the routing context.

mgw-address-cache

Syntax 
mgw-address-cache
Context 
clear>router>gtp>uplink
Description 

This command clears the DNS resolution cache for all APNs known in this router. After execution, every APN to address mapping is learned again using DNS.

gtp

Syntax 
gtp
Context 
clear>subscr-mgmt
Description 

This command clears box-wide GTP state information.

session

Syntax 
session all
session apn apn
session apn apn imsi imsi
session imsi imsi
Context 
clear>subscr-mgmt>gtp
Description 

This command clears all GTP sessions matching the specified criteria. Associated objects, such as the ESM subscriber in a GTP uplink scenario are also removed.

Parameters 
apn—
Specifies the APN identifying the session.
imsi—
Specifies the IMSI identifying the session.
all—
Specifies to remove all sessions in the system.

statistics

Syntax 
statistics
Context 
clear>subscr-mgmt>gtp
Description 

This command clears all box-wide GTP statistics.

13.5.2.1.5. GTP Debug Commands

gtp

Syntax 
gtp
Context 
debug
Description 

This command enables the context to configure debugging for GTP.

event

Syntax 
[no] event
Context 
debug>gtp
Description 

This command configures detailed debugging of all events in the GTP system.

The no form of this command disables event debugging.

imsi

Syntax 
[no] imsi imsi
Context 
debug>gtp
Description 

This command restricts debugging to only data related to the specified IMSI. This command can be repeated multiple times, where only data for any of the specified IMSIs is debugged.

The no form of this command removes the filter for the specified IMSI. If the last IMSI filter is removed, all data is debugged again, but may be restricted by other filters.

Parameters 
imsi—
Specifies the mobile subscriber identity, as a string of up to 15 characters.

packet

Syntax 
packet detail-level {high | low}
packet mode {all | dropped}
no packet
Context 
debug>gtp
Description 

This command enables debugging of GTP packets sent or received by the system’s control plane.

The no form of this command disables debugging of GTP packets.

Parameters 
detail-level {high | low}
Specifies how much detail is to be displayed when debugging a GTP packet.
Values—

high

Specifies to display and decode all data in the packet.

low

Specifies to display and decode only the most important data.

 

Default—
low
mode {all | dropped}
Specifies which packets is debugged.
Values—

all

Specifies to debug all packets.

dropped

Specifies to debug only dropped packets.

 

Default—
dropped

peer

Syntax 
[no] peer router router-instance address ip-address [udp-port port]
Context 
debug>gtp
Description 

This command restricts debugging to only data related to the specified GTP peer. This command can be repeated multiple times, where only data for any of the specified peers is debugged.

The no form of this command removes the restriction for the specified peer. When the last peer filter is removed, all data is debugged again, but may be restricted by other filters.

Parameters 
router-instance—
Specifies the ID of the VRF where the peer is connected.
Values—

router-instance:

router-name | vprn-svc-id

router-name:

“Base”

vprn-svc-id

1 to 2147483647

 

ip-address—
Specifies the IP address of the peer.
Values—
a.b.c.d

 

port—
Specifies the GTP-C port used by the peer.