ipv4 (Family MPLS)

Syntax

Hierarchy Level

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.

port

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 [edit policy-options prefix-list prefix-list-name] hierarchy level.

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 [edit policy-options prefix-list prefix-list-name] hierarchy level.

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.