Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Support
Technical Documentation
Content Explorer New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
File Format Help
 
Glossary
 
Portable Libraries
 
 
Home > Support > Technical Documentation > JunosE Software > Example: Port-Type QoS Profile Attachment
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...

Example: Port-Type QoS Profile Attachment

In this example, three ATM subinterfaces are configured on an ATM port:

  • ATM 11/0.1—QoS profile qp1 is attached
  • ATM 11/0.2—QoS profile qp2 is attached
  • ATM 11/0.3—No QoS profile is attached

The major ATM interface, 11/0, does not have a QoS profile explicitly attached. Therefore, by default the atm-default QoS port-type profile is attached.

Figure 1: Attaching QoS Profiles to ATM Subinterfaces

Attaching QoS Profiles to ATM Subinterfaces

To configure this example:

  1. Create and configure QoS profile qp1.
    host1(config)#qos-profile qp-1 host1(config-qos-profile)#atm-vp node scheduler-profile sp1 host1(config-qos-profile)#atm-vc queue traffic-class tc1 scheduler-profile sp1 queue-profile qp1 host1(config-qos-profile)#atm-vc queue traffic-class tc2 scheduler-profile sp2 queue-profile qp2 host1(config-qos-profile)#atm-vc queue traffic-class tc3 scheduler-profile sp3 queue-profile qp3 host1(config-qos-profile)#atm-vc queue traffic-class tc4 scheduler-profile sp4 queue-profile qp4 host1(config-qos-profile)#atm-vc queue traffic-class tc5 scheduler-profile sp5 queue-profile qp5 host1(config-qos-profile)#exit
  2. Create and configure QoS profile qp2.
    host1(config)#qos-profile qp2 host1(config-qos-profile)#atm-vp node scheduler-profile sp1 host1(config-qos-profile)#atm-vc queue traffic-class tc1 scheduler-profile sp1 queue-profile qp1 host1(config-qos-profile)#atm-vc queue traffic-class tc2 scheduler-profile sp2 queue-profile qp2 host1(config-qos-profile)#atm-vc queue traffic-class tc3 scheduler-profile sp3 queue-profile qp3 host1(config-qos-profile)#exit
  3. Attach the QoS profiles to the ATM subinterfaces, as shown in Figure 1.
    host1(config)#interface atm 11/0.1 host1(config-subif)#qos-profile qp1 host1(config-subif)#exit host1(config)#interface atm 11/0.2 host1(config-subif)#qos-profile qp2 host1(config-subif)#exit
  4. Display the QoS interface hierarchy for ATM interface 11/0. This display shows all QoS attachments above interface 11/0.

    If no QoS profiles are attached above the specified interface, the router shows the first attachment below the specified interface.

    host1# show qos interface-hierarchy interface atm 11/0
    attachment@ atm-vc ATM11/0.2:
        qos          interface  rule  traffic       scheduler  queue  t-class
    profile           type      type  class         profile   profile  group
    -------          ---------  ----  -------       --------- ------- -------     
    qp2@ATM11/0.2    atm-vp     node                sp1       default
    qp2@ATM11/0.2    atm-vc     queue tc1           sp1       qp1
    qp2@ATM11/0.2    atm-vc     queue tc2           sp2       qp2
    qp2@ATM11/0.2    atm-vc     queue tc3           sp3       qp3
    atm-default @atm ip         node                default   default
    atm-default @atm atm-vc     node                default   default
    atm-default @atm Bridge     node                default   default
    atm-default @atm ipv6       node                default   default
    atm-default @atm ip         queue  best-effort  default   default
    atm-default @atm atm        queue  best-effort  default   default
    atm-default @atm atm-vc     queue  best-effort  default   default
    atm-default @atm Bridge     queue  best-effort  default   default
    atm-default @atm ipv6       queue  best-effort  default   default
    attachment@ atm-vc ATM11/0.1:
        qos          interface  rule  traffic        scheduler  queue   t-class
    profile           type      type  class          profile    profile group
    -------          ---------  ----  -------        ---------  ------- -------     
    qp1@ATM11/0.1    atm-vp     node                 sp1        default
    qp1@ATM11/0.1    atm-vc     queue   tc1          sp1        qp1
    qp1@ATM11/0.1    atm-vc     queue   tc2          sp2        qp2
    qp1@ATM11/0.1    atm-vc     queue   tc3          sp3        qp3
    qp1@ATM11/0.1    atm-vc     queue   tc4          sp4        qp4
    qp1@ATM11/0.1    atm-vc     queue   tc5          sp5        qp5
    atm-default @atm ip         node                 default    default
    atm-default @atm atm-vc     node                 default    default
    atm-default @atm Bridge     node                 default    default
    atm-default @atm ipv6       node                 default    default
    atm-default @atm ip         queue   best-effort  default    default
    atm-default @atm atm        queue   best-effort  default    default
    atm-default @atm atm-vc     queue   best-effort  default    default
    atm-default @atm Bridge     queue   best-effort  default    default
    atm-default @atm ipv6       queue   best-effort  default    default
    

ATM subinterface 11/0.3 was not shown because no QoS profile is attached to it. You can display the QoS interface hierarchy for subinterface 11/0.3 by specifying the subinterface, as shown below. In this case, the QoS port-type profile, atm-default, is attached (by default) to the ATM major interface, ATM 11/0, below ATM subinterface 11/0.3. Because no QoS profile is attached to this ATM subinterface, the QoS port-type profile is applied.

The @atm in the qos profile column indicates that the row comes from a default QoS port-type profile that is below the interfaces shown: subinterfaces ATM 11/0.2 and ATM 11/0.1 in this example.

You can explicitly show the ATM subinterface that has no explicit QoS profile attachment, as shown below. In this case, attachment@ indicates the ATM major interface (11/0) below the subinterface.

host1# show qos interface-hierarchy interface atm 11/0.3
attachment@ atm ATM11/0:
    qos          interface  rule  traffic       scheduler  queue  t-class
profile           type      type  class         profile   profile  group
-------          ---------  ----  -------       --------- ------- -------     
atm-default@atm  ip         node                default   default
atm-default@atm  atm-vc     node                default   default
atm-default@atm  Bridge     node                default   default
atm-default@atm  ipv6       node                default   default
atm-default@atm  ip         queue best-effort   default   default
atm-default@atm  atm        queue best-effort   default   default
atm-default@atm  atm-vc     queue best-effort   default   default
atm-default@atm  Bridge     queue best-effort   default   default
atm-default@atm  ipv6       queue best-effort   default   default

Published: 2012-06-19

 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out