Configuring CoS Classifiers (NSM Procedure)

Packet classification associates incoming packets with a particular class-of-service (Cos) servicing level. Classifiers associate packets with a forwarding class and loss priority and, based on the associated forwarding class, assign packets to output queues. Junos OS supports two general types of classifiers:

To configure and apply behavior aggregate classifiers for the switch:

  1. In the navigation tree, select Device Manager > Devices.
  2. Click the Device Tree tab, and then double-click the device for which you want to configure and apply behavior aggregate classifiers.
  3. Click the Configuration tab. In the configuration tree expand Class of Service.
  4. Select Classifiers.
  5. Add or modify settings as specified in Table 14.
  6. Click one:
    • OK—Saves the changes.
    • Cancel—Cancels the modifications.

Note: After you make changes to a device configuration, you must push that updated device configuration to the physical security device for those changes to take effect. You can update multiple devices at one time. See the Network and Security Manager Administration Guide for more information.

Table 14: Configuring and Applying Behavior Aggregate Classifiers

Task

Action

Configure behavior aggregate classifiers for DiffServ CoS.

  1. Click Add new entry next to Dscp.
  2. In the Name box, type the name of the behavior aggregate classifier—for example, ba-classifier.
  3. In the Import box, type the name of the default DSCP map.

Configure a best-effort forwarding class classifier.

  1. Click Add new entry next to Forwarding class.
  2. In the Class name box, type the name of the previously configured best-effort forwarding class—for example, be-class.
  3. Click Add new entry next to Loss priority.
  4. From the Loss val list, select high.
  5. Click Add new entry next to Code points.
  6. In the Value box, type the value of the high-priority code point for best-effort traffic—for example, 00001.
  7. Click OK three times.

Configure an expedited forwarding class classifier.

  1. Click Add new entry next to Forwarding class.
  2. In the Class name box, type the name of the previously configured expedited forwarding—for example, class-ef-class.
  3. Click Add new entry next to Loss priority.
  4. From the Loss val list, select high.
  5. Click Add new entry next to Code points.
  6. In the Value box, type the value of the high-priority code point for expedited forwarding traffic—for example, 101111.
  7. Click OK three times.

Configure an assured forwarding class classifier.

  1. Click Add new entry next to Forwarding class.
  2. In the Class name box, type the name of the previously configured assured forwarding—for example, class-af-class.
  3. Click Add new entry next to Loss priority.
  4. From the Loss val list, select high.
  5. Click Add new entry next to Code points.
  6. In the Value box, type the value of the high-priority code point for assured forwarding traffic—for example, 001100.
  7. Click OK three times.

Apply the behavior aggregate classifier to an interface.

  1. Click Add new entry next to Interfaces.
  2. In the Interface name box, type the name of the interface—for example, ge-0/0/0.
  3. Click Add new entry next to Unit.
  4. In the Unit number box, type the logical interface unit number—for example, 0.
  5. Click Configure next to Classifiers.
  6. In the Classifiers box, under Dscp, type the name of the previously configured behavior aggregate classifier—for example, ba-classifier.
  7. Click OK.

Related Documentation