Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Example: Configuring CoS with DSCP IPv6 BA Classifiers

 

This example shows how to associate an interface with a default or user-defined DSCP IPv6 BA classifier.

Requirements

Before you begin, configure the ge-0/0/0 interface on the device for IPv6 and define your user-defined DSCP IPv6 classifier settings. See Understanding CoS with DSCP IPv6 BA Classifier.

Overview

In this example, you configure CoS and define forwarding classes. You create the behavior aggregate classifier for DiffServ CoS as dscp-ipv6-example and import the default DSCP IPv6 classifier.

You then specify the best-effort forwarding class as be-class, the expedited forwarding class as ef-class, the assured forwarding class as af-class, and the network control forwarding class as nc-class. Finally, you apply your user-defined classifier to interface ge-0/0/0.

Configuration

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the commands into the CLI at the [edit] hierarchy level, and then enter commit from configuration mode.

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

To configure CoS with a user-defined DSCP IPv6 BA classifier:

  1. Configure CoS.
  2. Define forwarding classes.
  3. Create a behavior aggregate classifier for DiffServ CoS.
  4. Import a DSCP IPv6 classifier.
  5. Specify a best-effort forwarding class classifier.
  6. Specify an expedited forwarding class classifier.
  7. Specify an assured forwarding class classifier.
  8. Specify a network control forwarding class classifier.
  9. Associate a user-defined classifier with an interface.

Results

From configuration mode, confirm your configuration by entering the show class-of-service command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

If you are done configuring the device, enter commit from configuration mode.

Verification

Verifying the CoS with DSCP IPv6 BA Classifier Configuration

Purpose

Verify that the user-defined DSCP IPv6 BA classifier is associated with an interface.

Action

From configuration mode, enter the show class-of-service command.