Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring Fixed Classification on an ATM IMA Pseudowire

This example shows the configuration of fixed classification on an ATM IMA pseudowire. Fixed classification is configured on the logical interface (unit) of the ATM IMA pseudowire. The software assigns the fixed classification to packets on the basis of the fixed classification parameters associated with the logical interface on which the ATM cells are received.

Requirements

This example uses the following hardware and software components:

Overview

In this example, the configured forwarding class fc-1 is applied to all packets received on the ingress logical interface at-0/0/16 unit 0. The fixed classification classifies all traffic on the logical interface unit zero (0) to queue-num 1.

Configuration

The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

To configure fixed classification on an ATM IMA Pseudowire, perform these tasks:

CLI Quick Configuration

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

set class-of-service forwarding-classes class fc-1 queue-num 1set class-of-service interfaces at-0/0/16 unit 0 forwarding-class fc-1

Configuring a Forwarding Class

Step-by-Step Procedure

To define a forwarding class, which is applied to the ingress logical interface:

  1. In configuration mode, go to the following hierarchy level:
    [edit]user@host# edit class-of-service forwarding-classes
  2. Define the forwarding class to apply to the input logical interface:
    [edit class-of-service forwarding-classes]user@host# set class fc-1 queue-num 1

Applying the Forwarding Class

Step-by-Step Procedure

To apply the forwarding class to the logical ATM IMA pseudowire:

  1. Specify the ATM IMA interface on which to include the forwarding class:
    [edit class-of-service]user@host# edit interfaces at-0/0/16
  2. Configure the logical interface:
    [edit class-of-service interfaces at-0/0/16 ]user@host# edit unit 0
  3. Apply the previously configured forwarding class to the logical interface:
    [edit class-of-service interfaces at-0/0/16 unit 0]user@host# set forwarding-class fc-1

Results

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

In the following example, all packets coming into the router from the at-0/0/16 unit 0 interface are assigned to the fc-1 forwarding class:

[edit class-of-service]
user@host# show
forwarding-classes {
    class fc-1 queue-num 1;
}
interfaces {
    at-0/0/16 {
        unit 0 {
            forwarding-class fc-1;
        }
    }
}

After you have completed the configuration, enter the commit command from configuration mode.

Published: 2013-01-11