Class of Service for Services PICs (Next Gen Services)
Class of Service Overview for Services PICs (Next Gen Services)
You can configure CoS Differentiated Services (DiffServ) code point (DSCP) marking and forwarding-class assignment for packets transiting a services PIC while being processed by a service set.
Configure services CoS rules, which identify the matching conditions for packet source and destination addresses and for packet applications, and the actions to take on those packets. You must apply CoS rules to a service set before the rules can be applied to traffic. Only stateful firewall and NAT rules can be used with CoS rules in a service set.
You can also configure specific CoS actions for FTP and for SIP traffic by creating an application profile. The application profile can then be referenced in the CoS rule actions.
The services CoS rules do not support scheduling. You must configure
scheduling at the [edit class-of-service]
hierarchy level
on the output interface or fabric.
When configuring Next Gen Services with the MX-SPC3 services
card, the service set
must include at least one stateful
firewall (SFW) rule or NAT rule, or services CoS does not work. Only
stateful firewall and NAT rules can be used with CoS rules in a service set
. CoS works without NAT and SFW rules also.
Benefits
CoS for traffic on a services PIC lets you classify traffic flows based on stateful firewall and NAT configurations.
See Also
Configuring CoS for Traffic Processed by a Services PIC (Next Gen Services)
- Configuring CoS Rules
- Configuring Application Profiles for CoS Rules
- Configuring CoS Rule Sets
- Configuring the Service Set for CoS
Configuring CoS Rules
Configuring Application Profiles for CoS Rules
Configure CoS actions for FTP and SIP traffic. The application profile can then be used in CoS rule actions.
Configuring CoS Rule Sets
A CoS rule set lets you specify a set of services CoS rules. You can then assign the rule set to a service set, which processes the rules in the order they appear. Once a rule matches the packet, the router performs the corresponding action, and no further rules in the rule set are applied.
Configuring the Service Set for CoS
You must apply CoS rules to a service set before the rules can be applied to traffic. Only stateful firewall and NAT rules can be used with CoS rules in a service set.
To configure a service set with CoS rules: