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: Simple Shared Shaping for Ethernet
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...
 

Related Documentation

  • Configuring Simple Shared Shaping
  • Simple Shared Shaping Overview
 

Example: Simple Shared Shaping for Ethernet

In a typical triple-play network configuration over Ethernet, individual subscribers are represented on the B-RAS by VLANs and DSLAMs by SVLANs. In this example, the provider shapes the subscriber aggregate of voice, video, and data to a single rate.

In this example, S-VLAN 0 has traffic in three traffic-class groups: the default group, the TC1 traffic class in the G1 group, and the TC2 traffic class in the G2 traffic-class group.

Figure 1: Hierarchical Simple Shared Shaping over Ethernet

Hierarchical Simple Shared Shaping over
Ethernet

In Figure 1, the S-VLANs labeled 1, 2, and 3 indicate the possible constituents for S-VLAN 0. The active constituents for the simple shared shaper are the three nodes for S-VLAN 0 in the three traffic-class groups.

Note: This example uses QoS parameters to configure shared shaping.

  1. Configure the traffic classes and traffic-class groups.
    host1(config)#traffic-class tc1 host1(config)#exit host1(config)#traffic-class tc2 host1(config)#exit host1(config)#traffic-class-group g1 host1(config-traffic-class-group)#traffic-class tc1 host1(config-traffic-class-group)#exit host1(config)#traffic-class-group g2 extended host1(config-traffic-class-group)#traffic-class tc2 host1(config-traffic-class-group)#exit
  2. Configure the parameter definitions.
    host1(config)#qos-parameter-define vlan-g1-max-rate host1(qos-parameter-define)#controlled-interface-type vlan host1(qos-parameter-define)#instance-interface-type vlan host1(qos-parameter-define)#exit
    host1(config)#qos-parameter-define svlan-g1-max-rate host1(qos-parameter-define)#controlled-interface-type svlan host1(qos-parameter-define)#instance-interface-type svlan host1(qos-parameter-define)#instance-interface-type ethernet host1(qos-parameter-define)#exit
    host1(config)#qos-parameter-define vlan-max-rate host1(qos-parameter-define)#controlled-interface-type vlan host1(qos-parameter-define)#instance-interface-type vlan host1(qos-parameter-define)#instance-interface-type svlan host1(qos-parameter-define)#exit
    host1(config)#qos-parameter-define svlan-max-rate host1(qos-parameter-define)#controlled-interface-type svlan host1(qos-parameter-define)#instance-interface-type svlan host1(qos-parameter-define)#instance-interface-type ethernet host1(qos-parameter-define)#exit
  3. Configure the shared shaper by referencing parameter definitions in the shaping-rate command.
    host1(config)#scheduler-profile vlan-be host1(config-scheduler-profile)#shared-shaping-rate vlan-max-rate simple host1(config-scheduler-profile)#exit host1(config)#scheduler-profile svlan-be host1(config-scheduler-profile)# shared-shaping-rate svlan-max-rate simple host1(config-scheduler-profile)#exit
    host1(config)#scheduler-profile svlan-g1 host1(config-scheduler-profile)#shaping-rate svlan-g1-max-rate host1(config-scheduler-profile)#exit host1(config)#scheduler-profile vlan-g1 host1(config-scheduler-profile)#shaping-rate vlan-g1-max-rate host1(config-scheduler-profile)#exit host1(config)#scheduler-profile svlan-g2 host1(config-scheduler-profile)#shaping-rate svlan-max-rate % 50 host1(config-scheduler-profile)#exit
  4. Configure the QoS profile.
    host1(config)#qos-profile svlan-4.1 host1(config-qos-profile)#vlan queue traffic-class best-effort host1(config-qos-profile)#vlan node scheduler-profile vlan-be host1(config-qos-profile)#svlan node scheduler-profile svlan-be host1(config-qos-profile)#vlan queue traffic-class tc1 host1(config-qos-profile)#svlan node scheduler-profile svlan-g1 group g1 host1(config-qos-profile)#svlan queue traffic-class tc2 host1(config-qos-profile)#svlan node scheduler-profile svlan-g2 group g2 host1(config-qos-profile)#ethernet group g2 scheduler-profile default
  5. Attach the QoS profile to the S-VLANs on Fast Ethernet interface 11/0.
    host1(config)#interface fastEthernet 11/0 host1(config-if)#svlan 0 qos-parameter svlan-max-rate 4000000 host1(config-if)#svlan 0 qos-profile svlan-4.1 host1(config-if)#encapsulation vlan host1(config-if)#exit
    host1(config)#interface fastEthernet 11/0.1 host1(config-if)#svlan id 0 1 host1(config-if)#ip address 1.2.1.1 255.255.255.0 host1(config-if)#exit
    host1(config)#interface fastEthernet 11/0.2 host1(config-if)#svlan id 0 2 host1(config-if)#ip address 1.3.1.1 255.255.255.0 host1(config-if)#exit
 

Related Documentation

  • Configuring Simple Shared Shaping
  • Simple Shared Shaping Overview
 

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