GTPΒΆ
GTP is a protocol used to carry user traffic between a radio access mobile network and an external core network, usually the Internet. For that purpose, GTP tunnels are created for each user session, and attached to a GTP interface.
To configure a GTP interface, enter the context interface
with the
type gtp
from the target VRF.
vsr> edit running
vsr running config# vrf main
vsr running vrf main# interface gtp gtp0
vsr running gtp gtp0# commit
Here is the state of the interface after the configuration is applied:
vsr running vrf main# interface gtp gtp0
vsr running gtp gtp0# show state
gtp gtp0
mtu 1500
promiscuous false
enabled true
oper-status UP
counters
in-octets 0
in-unicast-pkts 0
in-discards 0
in-errors 0
out-octets 0
out-unicast-pkts 0
out-discards 0
out-errors 0
..
..
The same configuration can be made using this NETCONF XML configuration:
vsr running gtp gtp0# show config xml absolute
<config xmlns="urn:6wind:vrouter">
<vrf>
<name>main</name>
<interface xmlns="urn:6wind:vrouter/interface">
<gtp xmlns="urn:6wind:vrouter/gtp">
<name>gtp0</name>
<enabled>true</enabled>
</gtp>
</interface>
</vrf>
</config>
See also
The GTP command reference for the complete list of supported options.