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 > Configuring QoS for an L2TP Session
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

  • Supported Interface Types for QoS Profiles
  • Sample Scheduler Hierarchies for L2TP
  • group
  • interface
  • qos-profile
  • queue
  • scheduler-profile
  • show qos-profile
  • traffic-class
 

Configuring QoS for an L2TP Session

L2TP session interfaces have default QoS profiles and scheduler nodes. The default configuration includes the following settings:

host1(config)# show qos-profile l2tp-session-default
t-class   interface   rule    traffic   scheduler  queue   drop   statistics
 group      type      type     class     profile  profile profile  profile
-------- ------------ ----- ----------- --------- ------- ------- ----------
         l2tp-session queue best-effort default   default default default

This topic provides general procedures for configuring QoS for an L2TP LNS session or a LAC L2TP session. For both procedures, the resulting scheduler hierarchy depends on the type of network architecture that you use.

  • Configuring QoS for an L2TP LNS Session
  • Configuring QoS for an L2TP LAC Session

Configuring QoS for an L2TP LNS Session

When you configure QoS for an LNS, you must modify the server-default QoS profile to remove the best-effort traffic class rule from the IP interface type. This enables you to create L2TP session queues, and is not required to provide QoS on an LAC.

Before you configure QoS for an L2TP LNS session:

  • Configure the traffic classes.

    See Configuring Traffic Classes That Define Service Levels.

  • Configure the queuing hierarchy.

    See Configuring Queue Profiles to Manage Buffers and Thresholds.

  • Configure the scheduler hierarchy and shaping with scheduler profiles.

    See Configuring a Scheduler Hierarchy.

To configure QoS for an L2TP LNS session:

  1. Remove the best-effort traffic class rule from the IP interface type of the server-default QoS profile.
    host1(config)#qos-profile server-default host1(config-qos-profile)#no ip queue traffic-class best-effort host1(config-qos-profile)#exit
  2. Create a traffic-class group, and enter Traffic Class Group Configuration mode. Add the traffic class voice to the new group.
    host1(config)#traffic-class-group tcGroup1 host1(config-traffic-class-group)#traffic-class voice host1(config-traffic-class-group)#exit
  3. Configure the QoS profile.
    • Create the QoS profile, and enter QoS Profile Configuration mode.
      host1(config)#qos-profile l2tpQpro25 host1(config-qos-profile)#
    • Add queues for L2TP session interfaces to the QoS profile.
      host1(config-qos-profile)#lt2p-session queue traffic-class best-effort scheduler-profile 400k host1(config-qos-profile)#lt2p-session queue traffic-class voice scheduler-profile 100k host1(config-qos-profile)#exit host1(config)#
  4. Attach the QoS profile to the interface on which you have configured L2TP.
    host1(config)#interface gigabitEthernet 6/0 host1(config-if)#qos-profile
  5. (Optional) Verify the new QoS profile configuration.
    host1(config)#show qos-profile l2tpQpro25
    
    qos-profile l2tpQpro25:
    t-class  interface    rule    traffic   scheduler queue  drop   statistics
     group     type       type     class     profile  profile profile  profile
    -------- ---------    -----  -------- --------- ------- ------- ----------
             l2tp-session queue best-effort 400k      default default default
    tcGroup1 l2tp-session queue voice       100k      default default default 

Configuring QoS for an L2TP LAC Session

Before you configure QoS for an L2TP LAC session:

  • Configure traffic classes.

    See Configuring Traffic Classes That Define Service Levels.

  • Configure the queuing hierarchy.

    See Configuring Queue Profiles to Manage Buffers and Thresholds.

  • Configure the scheduler hierarchy and shaping with scheduler profiles.

    See Configuring a Scheduler Hierarchy.

To configure QoS for an L2TP LAC session:

  1. Configure the QoS profile.
    • Create the QoS profile, and enter QoS Profile Configuration mode.
      host1(config)#qos-profile l2tpQpro25 host1(config-qos-profile)#
    • Add queues for L2TP session interfaces to the QoS profile.
      host1(config-qos-profile)#lt2p-session queue traffic-class best-effort scheduler-profile 400k host1(config-qos-profile)#lt2p-session queue traffic-class voice scheduler-profile 100k host1(config-qos-profile)#exit host1(config)#
  2. Attach the QoS profile to the interface on which you have configured L2TP.
    host1(config)#interface gigabitEthernet 6/0 host1(config-if)#qos-profile l2tpQpro25
  3. (Optional) Verify the new QoS profile configuration.
    host1(config)#show qos-profile l2tpQpro25
    
    qos-profile l2tpQpro25:
    
    t-class interface rule traffic scheduler queue drop statistics group type type class profile profile profile profile -------- --------- ----- --------- --------- ------- ------- ---------- l2tp-session queue best-effort 400k default default default tcGroup1 l2tp-session queue voice 100k default default default
 

Related Documentation

  • Supported Interface Types for QoS Profiles
  • Sample Scheduler Hierarchies for L2TP
  • group
  • interface
  • qos-profile
  • queue
  • scheduler-profile
  • show qos-profile
  • traffic-class
 

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