Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

match (Services CoS Next Gen Services)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 19.3R2 on MX Series routers (MX240, MX480 and MX960) running Next Gen Services with the MX-SPC3 services card.

Description

Configure the matching conditions for a policy in a services CoS rule. Matching conditions include packet source and destination addresses and packet applications. Packets that are processed by a service set and that match the conditions are assigned the Differentiated Services (DiffServ) code point (DSCP) marking and forwarding-class assignments specified in the policy.

The service set that the CoS rule is assigned to must include at least one stateful firewall rule or NAT rule, or CoS does not work. Only stateful firewall and NAT rules can be used with CoS rules in a service set.

Options

application [ application-names ]One or more port-based applications.
destination-address addressDestination address of the packet.
destination-address-range low minimum-value high maximum-valueRange of destination addresses of the packet.
minimum-valueLower boundary of address range.
maximum-valueUpper boundary of address range.
destination-port port-numberDestination port number of the packet.
source-address addressSource address of the packet.
source-address-range low minimum-value high maximum-valueRange of source addresses of the packet.
minimum-valueLower boundary of address range.
maximum-valueUpper boundary of address range.
source-prefix-list list-nameName of a prefix list for matching the source address prefix.

You configure the prefix list by using the prefix-list statement at the [edit policy-options] hierarchy level.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.