gtp-header
Syntax
gtp-header
Hierarchy Level
[edit firewall family family-name filter filter-name from]
Description
Include the match conditions for the GTP packet. An example is as below:
firewall {
family inet /inet6 {
filter gtp_filter {
from {
protocol udp;
port 2123;
gtp-header {
gtp-teid <TEID value/list/range>;
ipv4/ipv6 {
source-address <32bit for v4 and 128 bit for v6>;
source-prefix-list <prefix-list>;
destination-address <32bit for v4 and 128 bit for v6>;
destination-prefix-list <prefix-list>;
Protocol/next-header <8 bit>;
Protocol/next-header-except <8 bit>;
source-port <16 bit>;
source-port-except <16 bit>;
destination-port <16 bit>;
destination-port-except <16 bit>;
}
}
then {
count gtp;
}
Required Privilege Level
-
firewall—To view this statement in the configuration.
-
firewall-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos 22.2R1