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:
•
Configuring a Forwarding Class on page 899
•
Applying the Forwarding Class on page 899
•
Results on page 900
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 1
set 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:
In configuration mode, go to the following hierarchy level:1.
[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:
Specify the ATM IMA interface on which to include the forwarding class:1.
[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]
899Copyright © 2017, Juniper Networks, Inc.
Chapter 27: Configuring Class of Service