Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

then (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

Specify the Differentiated Services (DiffServ) code point (DSCP) marking and forwarding-class assignments for packets that are processed by a service set and that match the conditions of the policy in a services CoS rule.

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-profile profile-nameThe application profile that sets the CoS actions for FTP and SIP traffic.
dscp (alias | bits)Either a code point alias or a DSCP bit value to apply to the packet.
forwarding-class class-nameForwarding class name to apply to the packet. The choices are:
  • assured-forwarding

  • best-effort

  • expedited-forwarding

  • network-control

reflexiveApplies the CoS rule policy actions to flows in the reverse direction as well as to flows in the matching direction.
revertStores the DSCP and forwarding class of a packet that is received in the match direction of the rule and then applies that DSCP and forwarding class to packets that are received in the reverse direction of the same session.
reverseSpecifies actions to apply to flows in the reverse direction of the matching direction.

Required Privilege Level

interface—To view this statement in the configuration.

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