ltm rule command GTP tunnelΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



GTP::tunnel
       These commands parse the payload of G-PDU as IP datagram and return the
       values from IP header and TCP/UDP header.

SYNOPSIS
       GTP::tunnel ('is_ip'
			    | 'ip_src'
			    | 'ip_dst'
			    | 'ip_proto'
			    | 'ip_version'
			    | 'ip_length'
			    | 'tcp_src_port'
			    | 'tcp_dst_port'
			    | 'udp_src_port'
			    | 'udp_dst_port' ) ('-message' MESSAGE)?

DESCRIPTION
       These commands parse the payload of G-PDU as IP datagram and return the
       values from IP header and TCP/UDP header.  When parsed payload contains
       a value other than 4 or 6 for IP version, the commands return an empty
       value. "is_ip" can be used to confirm if parser is considering the
       payload as ip-datagram or not. The commands return empty for non G-PDU
       messages.  tcp_ and udp_ commands return empty value if the ip-proto in
       the ip-datagram does not match. "GTP::tunnel ip_proto" may be used to
       verify before calling transport level commands.

       Syntax

       GTP::tunnel is_ip

	  * Returns true if the payload is an IP datagram

       GTP::tunnel ip_src

	  * Returns the tunnel's source IP

       GTP::tunnel ip_dst

	  * Returns the tunnel's destination IP

       GTP::tunnel ip_proto

	  * Returns the tunnel's IP protocol

       GTP::tunnel ip_version

	  * Returns the tunnel's IP version

       GTP::tunnel ip_length

	  * Returns the length (in bytes) of the tunnel's IP

       GTP::tunnel tcp_src_port

	  * Returns the tunnel's TCP source port

       GTP::tunnel tcp_dst_port

	  * Returns the tunnel's TCP destination port

       GTP::tunnel udp_src_port

	  * Returns the tunnel's UDP source port

       GTP::tunnel udp_dst_port

	  * Returns the tunnel's UDP destination port

RETURN VALUE
VALID DURING
EXAMPLES
HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-11.5.0 --First introduced the command.



BIG-IP				  2017-01-31			      iRule(1)