Supported Platforms
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:
- ACX Series router
- Junos OS Release 12.2 or later
- A previously configured ATM IMA pseudowire. For steps to configure an ATM IMA pseudowire, see Configuring Inverse Multiplexing for ATM (IMA).
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:
Configuring a Forwarding Class
Step-by-Step Procedure
To define a forwarding class, which is applied to the ingress logical interface:
- In configuration mode, go to the following hierarchy level:[edit]user@host# edit class-of-service forwarding-classes
- 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:
- Specify the ATM IMA interface on which to include the
forwarding class:[edit class-of-service]user@host# edit interfaces at-0/0/16
- Configure the logical interface:[edit class-of-service interfaces at-0/0/16 ]user@host# edit unit 0
- 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.