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

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 address

Destination address of the packet.

destination-address-range low minimum-value high maximum-value

Range of destination addresses of the packet.

minimum-value

Lower boundary of address range.

maximum-value

Upper boundary of address range.

destination-port port-number

Destination port number of the packet.

source-address address

Source address of the packet.

source-address-range low minimum-value high maximum-value

Range of source addresses of the packet.

minimum-value

Lower boundary of address range.

maximum-value

Upper boundary of address range.

source-prefix-list list-name

Name 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.

Release Information

Statement introduced in Junos OS Release 19.3R2.