[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring QoS for an L2TP Session

This section provides general procedures for configure 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.

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
  1. Configuring QoS for an L2TP LNS Session
  2. 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:

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.
  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:

To configure QoS for an L2TP LAC session:

  1. Configure the QoS profile.
  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 Topics


[Contents] [Prev] [Next] [Index] [Report an Error]