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
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.
- Configure the queuing hierarchy.
See Configuring Queue Profiles to Manage Buffers and Thresholds.
- Configure the scheduler hierarchy and shaping with scheduler profiles.
To configure QoS for an L2TP LNS session:
- 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
- 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
- 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)#
- Create the QoS profile, and enter QoS Profile Configuration
mode.
- Attach the QoS profile to the interface
on which you have configured L2TP.host1(config)#interface gigabitEthernet 6/0 host1(config-if)#qos-profile
- (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.
- Configure the queuing hierarchy.
See Configuring Queue Profiles to Manage Buffers and Thresholds.
- Configure the scheduler hierarchy and shaping with scheduler profiles.
To configure QoS for an L2TP LAC session:
- 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)#
- Create the QoS profile, and enter QoS Profile Configuration
mode.
- 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
- (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
Hide Navigation Pane
Show Navigation Pane
SHA1