Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

policy (Services CoS Next Gen Services)

Syntax

Hierarchy Level

Description

Configure a policy in a services CoS rule. The policy specifies Differentiated Services (DiffServ) code point (DSCP) marking and forwarding-class assignment for packets that are processed by a service set. The policy identifies the matching conditions for packet source and destination addresses and for packet applications, and the actions to take on those packets. A CoS rule can include multiple policies.

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

policy-name

Name of the policy.

The remaining statements are explained separately. See CLI Explorer.

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.