match (Services CoS Next Gen Services)
Syntax
match { application [ application-names ]; destination-address address; destination-address-range low minimum-value high maximum-value; destination-port port-number; destination-prefix-list list-name; source-address address; source-address-range low minimum-value high maximum-value; source-prefix-list list-name; }
Hierarchy Level
[edit services cos rule rule-name policy policy-name]
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.
|
||||
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.
|
||||
source-prefix-list list-name | Name of a prefix list for matching the source address prefix. You configure the prefix list by using the |
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.