[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring and Applying Behavior Aggregate Classifiers (Required)

You configure DiffServ behavior aggregate (BA) classifiers to classify packets that contain valid DSCPs to appropriate queues. Once configured, you must apply the BA classifier to the correct interfaces.

The following example shows how to configure the DSCP BA classifier ba-classifier as the default DSCP map, and apply it to the Services Router's Fast Ethernet interface fe-0/0/0. The BA classifier assigns loss priorities, as shown in Table 168, to incoming packets in the four forwarding classes.

Table 168: Sample ba-classifier Loss Priority Assignments

mf-classifier Forwarding Class

For CoS Traffic Type

ba-classifier Assignments

be-class

Best-effort traffic

High-priority code point: 000001

ef-class

Expedited forwarding traffic

High-priority code point: 101111

af-class

Assured forwarding traffic

High-priority code point: 001100

nc-class

Network control traffic

High-priority code point: 110001

To configure and apply BA classifiers for the Services Router:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 169.
  3. Go on to Configuring RED Drop Profiles for Assured Forwarding Congestion Control (Required).

Table 169: Configuring and Applying Behavior Aggregate Classifiers

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Class of service level in the configuration hierarchy.

In the configuration editor hierarchy, select Class of service.

From the top of the configuration hierarchy, enter

edit class-of-service

Configure BA classifiers for DiffServ CoS.

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

Enter

edit classifiers dscp ba-classifier

set import default

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—be-class.
  3. Click Add new entry next to Loss priority.
  4. From the Loss val list, select high.
  5. In the Code point box, type the value of the high-priority code point for best-effort traffic—for example, 00001.
  6. Click OK three times.

Enter

set forwarding-class be-class loss-priority high code points 000001

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 class—ef-class.
  3. Click Add new entry next to Loss priority.
  4. From the Loss val list, select high.
  5. In the Code point box, type the value of the high-priority code point for expedited forwarding traffic—for example, 101111.
  6. Click OK three times.

Enter

set forwarding-class ef-class loss-priority high code points 101111

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 class—af-class.
  3. Click Add new entry next to Loss priority.
  4. From the Loss val list, select high.
  5. In the Code point box, type the value of the high-priority code point for assured forwarding traffic—for example, 001100.
  6. Click OK three times.

Enter

set forwarding-class af-class loss-priority high code points 001100

Configure a network control class classifier.

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

Enter

set forwarding-class nc-class loss-priority high code points 110001

Apply the BA 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, fe-0/0/0.
  3. In the Classifiers box, type the name of the previously configured BA classifier—ba-classifier.
  4. Click OK.

Enter

set interfaces fe-0/0/0 unit 0 classifiers dscp ba-classifier


[Contents] [Prev] [Next] [Index] [Report an Error]