You must assign the forwarding classes established by the mf-classifier multifield classifier to output queues. This example assigns output queues as shown in Table 195.
Table 195: Sample Output Queue Assignments for mf-classifier Forwarding Queues
For multifield classifier details, see Configuring and Applying a Firewall Filter for a Multifield Classifier.
To assign forwarding classes to output queues:
Table 196: Assigning Forwarding Classes to Output Queues
To configure CoS forwarding classes on an SRX-series device, include the following statements at the [edit class-of-service] hierarchy level of the configuration:
- [edit class-of-service]
- forwarding-classes {
- class class-name queue-num queue-number priority (high | low);
- queue queue-number class-name priority (high | low);
- }
- interfaces {
-
-
interface-name {
-
- unit logical-unit-number {
- forwarding-class class-name;
- }
- }
- }
- restricted-queues {
- forwarding-class class-name queue-number;
- }
You cannot commit a configuration that assigns the same forwarding class to two different queues.
On an SRX-series device, you can configure fixed classification on a logical interface by specifying a forwarding class to be applied to all packets received by the logical interface, regardless of the packet contents.
To assign a forwarding class configuration to the input logical interface, include the forwarding-class statement at the [edit class-of-service interfaces interface-name unit logical-unit-number] hierarchy level:
- [edit class-of-service interfaces interface-name unit logical-unit-number]
- forwarding-class class-name;
You can include interface wildcards for interface-name and logical-unit-number.
In the following example, all packets coming into the device from the ge-3/0/0.0 interface are assigned to the assured-forwarding forwarding class:
- [edit class-of-service]
- interfaces {
-
- ge-3/0/0 {
-
- unit 0 {
- forwarding-class assured-forwarding;
- }
- }
- }