ipv4 (Family MPLS)
Syntax
ipv4 {
source-port | source-port-except;
destination-port | destination-port-except;
dscp | dscp-except;
fragment-offset fragment-offset | fragment-offset-except; fragment-offset-except
icmp-type | icmp-type-except;
icmp-code | icmp-code-except;
port | port-except;
ip-options | ip-options-except;
ip-protocol | ip-protocol-except;
destination-address name <except>;
destination-port-list {
name;
except;
}
destination-prefix-list name <except>;
first-fragment;
fragment-flags fragment-flags;
ip-address name <except>;
ip-destination-address name <except>;
ip-source-address name <except>;
is-fragment;
port-list {
name;
except;
}
prefix-list name <except>;
protocol {
name;
source-port | source-port-except;
destination-port | destination-port-except;
}
source-address name <except>;
source-port-list {
name;
except;
}
source-prefix-list name <except>;
tcp-established;
tcp-flags tcp-flags;
tcp-initial;
}Hierarchy Level
[edit dynamic-profiles name firewall family mpls filter name term name from ip-version],
[edit firewall family mpls filter name term name from ip-version],
[edit logical-systems name firewall family mpls filter name term name from ip-version]
Description
Define Layer 3 and Layer 4 match items to match IPv4 packets for IP-based filtering of MPLS traffic.
Options
source-port |
Match TCP/UDP source port. |
source-port-except |
Do not match TCP/UDP source port. |
destination-port |
Match TCP/UDP destination port. |
destination-port-except |
Do not match TCP/UDP destination port. |
dscp |
Match Differentiated Services (DiffServ) code point. |
dscp-except |
Do not match Differentiated Services (DiffServ) code point. |
fragment-offset
fragment-offset |
Match fragment offset, |
fragment-offset-except
fragment-offset-except |
Do not match fragment offset |
icmp-type |
Match ICMP message type. |
icmp-type-except |
Do not match ICMP message type. |
icmp-code |
Match ICMP message code. |
icmp-code-except |
Do not match ICMP message code. |
|
Match TCP/UDP source or destination port. |
| port-except |
Do not match TCP/UDP source or destination port. |
ip-options |
Match IP options. |
ip-options-except |
Do not match IP options. |
ip-protocol |
Match IP protocol type. |
ip-protocol-except |
Do not match IP protocol type. |
destination-address
ip-address |
Match MPLS traffic with the specified IPv4 destination address. |
destination-port-list name |
Match destination ports in named list |
destination-prefix-list
destination-prefix-list-name |
Match MPLS traffic with the specified IPv4 destination prefixes. The
prefix-list is defined under the |
first-fragment |
Match if packet is the first fragment. |
fragment-flags
fragment-flags |
Match fragment flags in symbolic or hex formats. (Ingress only) |
ip-address
name |
Match IPv4 source or destination address |
ip-destination-address
name |
Match IPv4 destination address. |
ip-source-address
name |
Match IPv4 source address. |
is-fragment |
Match if packet is a fragment. |
port-list
name |
Match source or destination ports in named list. |
prefix-list
name |
Match IP source or destination prefixes in named list. |
protocol protocol |
Specify one or a range of inner IPv4 protocols for IP-based filtering of MPLS traffic. |
source-address
ip-address |
Match MPLS traffic with the specified IPv4 source address. |
source-port-list
name |
Match source ports in named list. |
| source-prefix-list source-prefix-list-name |
Match MPLS traffic with the specified IPv4 source prefixes. The
prefix-list is defined under the |
tcp-established |
Match packet of an established TCP connection. |
tcp-flags
tcp flags |
Match TCP flags (in symbolic or hex formats). |
tcp-initial |
Match initial packet of a TCP connection. |
The remaining statements are explained separately. Click the linked statements in the Syntax section or search CLI Explorer.
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 OS Release 18.4R1.