- Read Me First
- Congestion Avoidance Overview
- IPv6 QoS: MQC WRED-Based Drop
- Configuring Weighted Random Early Detection
- Byte-Based Weighted Random Early Detection
- WRED Explicit Congestion Notification
- QoS Time-Based Thresholds for WRED and Queue Limit
- DiffServ Compliant WRED
- Shaping on Dialer Interfaces
- Finding Feature Information
- Restrictions for Shaping on Dialer Interfaces
- Information About Shaping on Dialer Interfaces
- How to Configure Shaping on Dialer Interfaces
- Configuring an Output Queueing Policy for Dialer Interfaces
- Configuring QoS for PPPoEoA for Dialer Interfaces
- Configuring QoS for PPPoE for Dialer Interfaces
- Configuring QoS for PPPoA for Dialer Interfaces
- Configuring QoS for Multiple Sessions on Dialer Interfaces
- Applying CoS Values to a Dialer Interface
- Configuration Examples for Shaping on Dialer Interfaces
- Example: Configuring Output Queuing Policy for a Dialer Interface
- Example: Configuring QoS for PPPoEoA for a Dialer Interface
- Example: Configuring QoS for a PPPoE on a Dialer Interface
- Example: Configuring QoS for PPPoA on a Dialer Interface
- Example: Configuring QoS for Multiple Sessions on a Dialer Interface
- Example: Applying CoS Values to a Dialer Interface
- Additional References for Shaping on Dialer Interfaces
- Feature Information for Shaping on Dialer Interfaces
Shaping on Dialer Interfaces
The Shaping on Dialer Interfaces feature provides support for Point-to-Point Protocol over Ethernet (PPPoE) and Point-to-Point Protocol over Asynchronous Transfer Mode (PPPoA) configurations on dialer interfaces. The feature provides support for Modular QoS CLI (MQC)-based queuing and shaping that supports per-customer quality of service (QoS). Parent policies are attached to an Ethernet in the First Mile (EFM) interface, and child policies are attached to individual dialer interfaces. Class of service (CoS) values are set by applying a policy to the dialer interface. The feature also enables the collection of queuing statistics on the dialer interface and the polling of traffic counters for dialer interfaces.
- Finding Feature Information
- Restrictions for Shaping on Dialer Interfaces
- Information About Shaping on Dialer Interfaces
- How to Configure Shaping on Dialer Interfaces
- Configuration Examples for Shaping on Dialer Interfaces
- Additional References for Shaping on Dialer Interfaces
- Feature Information for Shaping on Dialer Interfaces
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Restrictions for Shaping on Dialer Interfaces
-
The output queueing policy must have a parent class-default shaper, and any other queueing actions must be configured in a child policy.
Information About Shaping on Dialer Interfaces
QoS on PPP Session on Dialer Interfaces
The Shaping on Dialer Interfaces feature consolidates the output queueing and classification on the egress interface (where all the queueing features are run). The police and set features (such as CoS marking) also work in the output path.
MQC-based QoS queuing and shaping features can be used to attach flat class-default shaped policies to the EFM and attach HQoS parent-shaped policies to the dialer interface.
Policies are applied to the dialer interface using the service-policy command. In addition the related show and debug commands display policy and queueing statistics associated with the dialer target.
QoS Dialer Interface Topology
The following figure shows the supported topology for the Shaping on Dialer Interfaces feature:
The Customer Premises Equipment (CPE) is shared between several customers. Each customer connects to the CPE through a VLAN on a Gigabit Ethernet port. The CPE connects to the service over a DSL using an EFM interface (this looks like an Ethernet connection but uses DSL) over which all the incoming VLANs will be forwarded. The traffic for each VLAN (customer) is transmitted in a separate PPP session. Each session is set up using a dialer interface.
How to Configure Shaping on Dialer Interfaces
Configuring an Output Queueing Policy for Dialer Interfaces
Because the dialer target is added to the dynamic target API, the output queueing policy must have a parent class-default shaper with any other queueing actions configured in a child policy.
1.
enable
2.
configure
terminal
3.
policy-map
policy-map-name
4.
class
class-name
5.
priority
percent
percentage
6.
exit
7.
class
class-name
8.
bandwidth
percent
percentage
9.
exit
10.
class
{class-name |
class-default}
11.
fair-queue
12.
exit
13.
exit
14.
policy-map
policy-map-name
15.
class
class-default
16.
shape
average
target-bit-rate
17.
service-policy
policy-map-name
18.
exit
19.
exit
20.
interface
type
number
21.
service-policy
output
policy-name
22.
exit
DETAILED STEPS
Configuring QoS for PPPoEoA for Dialer Interfaces
1.
enable
2.
configure
terminal
3.
interface
type
number
[name-tag]
4.
no ip address
5.
no atm ilmi-keepalive
6.
exit
7.
interface
type
number
[name-tag]
8.
pvc
vpi/vci
9.
vbr-nrt
output-pcr
output-scr
10.
pppoe-client
dial-pool-number
number
11.
exit
12.
exit
13.
interface
type
number
[name-tag]
14.
mtu
ip-address
15.
ip address
ip-address
mask
16.
encapsulation
encapsulation-type
17.
dialer
pool
number
18.
dialer-group
number
19.
service-policy
output
name
20.
exit
21.
dialer-list
dialer-group
protocol
protocol-name
permit
DETAILED STEPS
Configuring QoS for PPPoE for Dialer Interfaces
1.
enable
2.
configure
terminal
3.
interface
type
number
[name-tag]
4.
ppp
enable
group
group-name
5.
pppoe-client
dial-pool-number
number
6.
exit
7.
interface
type
number
[name-tag]
8.
mtu
ip-address
9.
ip address
ip-address
mask
10.
encapsulation
encapsulation-type
11.
dialer
pool
number
12.
dialer-group
number
13.
service-policy
output
name
14.
exit
15.
dialer-list
dialer-group
protocol
protocol-name
permit
DETAILED STEPS
Configuring QoS for PPPoA for Dialer Interfaces
1.
enable
2.
configure
terminal
3.
interface
type
number
[name-tag]
4.
pvc
vpi/vci
5.
vbr-nrt
output-pcr
output-scr
output-maxburstsize
6.
dialer
pool-member
number
7.
protocol
protocol
8.
exit
9.
exit
10.
interface
type
number
[name-tag]
11.
mtu
ip-address
12.
ip address
ip-address
mask
13.
encapsulation
encapsulation-type
14.
dialer
pool
number
15.
dialer-group
number
16.
service-policy
output
name
17.
exit
18.
dialer-list
dialer-group
protocol
protocol-name
permit
DETAILED STEPS
Configuring QoS for Multiple Sessions on Dialer Interfaces
1.
enable
2.
configure
terminal
3.
interface
type
number
[name-tag]
4.
ppp
enable
group
group-name
5.
pppoe-client
dial-pool-number
number
6.
pppoe-client
dial-pool-number
number
7.
pppoe-client
dial-pool-number
number
8.
exit
9.
interface
type
number
[name-tag]
10.
dialer
pool
number
11.
service-policy
output
name
12.
exit
13.
interface
type
number
[name-tag]
14.
dialer
pool
number
15.
service-policy
output
name
16.
exit
17.
interface
type
number
[name-tag]
18.
dialer
pool
number
19.
service-policy
output
name
20.
exit
DETAILED STEPS
Applying CoS Values to a Dialer Interface
Class of Service (CoS) values are set by applying a policy to the dialer interface.
1.
enable
2.
configure
terminal
3.
policy-map
policy-map-name
4.
class
class-default
5.
set
cos
cos-value
6.
exit
7.
exit
8.
interface
type
number
[name-tag]
9.
service-policy
output
name
10.
exit
11.
interface
type
number
[name-tag]
12.
encapsulation
encapsulation-type
13.
pppoe-client
dial-pool-number
number
14.
exit
DETAILED STEPS
Configuration Examples for Shaping on Dialer Interfaces
Example: Configuring Output Queuing Policy for a Dialer Interface
The following example shows how to configure parent and child policy maps and how to attach the parent map to the dialer interface:
Device(config)# policy-map childExample Device(config-pmap)# class voice Device(config-pmap-c)# priority percent 30 Device(config-pmap-c)# exit Device(config-pmap)# class video Device(config-pmap-c)# bandwidth percent 50 Device(config-pmap-c)# exit Device(config-pmap)# class class-default Device(config-pmap-c)# fair-queue Device(config-pmap-c)# exit Device(config)# policy-map parent Device(config-pmap)# class class-default Device(config-pmap-c)# shape average 1000000 Device(config-pmap-c)# service-policy child Device(config-pmap-c)# exit Device(config)# interface dialer 0 Device(config-if)# service-policy output parent
Example: Configuring QoS for PPPoEoA for a Dialer Interface
Device(config)# interface ATM 0 Device(config-if)# no ip address Device(config-if)# no atm ilmi-keepalive Device(config-if)# exit Device(config)# interface ATM 0.1 point-to-point Device(config-if)# ip address 192.168.0.0 255.255.255.224 Device(config-if)# pvc 4/46 Device(config-if-atm-vc)# vbr-nrt 738 738 Device(config-if-atm-vc)# pppoe-client dial-pool-number 1 Device(config-if-atm-vc)# exit Device(config-if)# exit Device(config)# interface Dialer 0 Device(config-if)# mtu 1200 Device(config-if)# ip address 172.16.0.0 255.0.0.0 Device(config-if)# encapsulation ppp Device(config-if)# dialer pool 1 Device(config-if)# dialer-group 1 Device(config-if)# service-policy output dialer-output-sp ! Device(config)# dialer-list 1 protocol ip permit
Example: Configuring QoS for a PPPoE on a Dialer Interface
Device(config)# interface ethernet 0/0 Device(config-if)# pppoe enable group global Device(config-if)# pppoe-client dial-pool-number 1 Device(config-if)# exit Device(config)# interface Dialer 0 Device(config-if)# mtu 1200 Device(config-if)# ip address 172.16.0.0 255.0.0.0 Device(config-if)# encapsulation ppp Device(config-if)# dialer pool 1 Device(config-if)# dialer-group 1 Device(config-if)# service-policy output dialer-output-sp Device(config-if)# exit Device(config)# dialer-list 1 protocol ip permit
Example: Configuring QoS for PPPoA on a Dialer Interface
Device(config)# interface ATM 0.1 point-to-point Device(config-if)# ip address 192.168.0.0 255.255.255.224 Device(config-if)# pvc 4/46 Device(config-if-atm-vc)# vbr-nrt 738 738 Device(config-if-atm-vc)# dialer pool-member 1 Device(config-if-atm-vc)# protocol ppp dialer Device(config-if-atm-vc)# exit Device(config-if)# exit Device(config)# interface Dialer 0 Device(config-if)# mtu 1200 Device(config-if)# ip address 172.16.0.0 255.0.0.0 Device(config-if)# encapsulation ppp Device(config-if)# dialer pool 1 Device(config-if)# dialer-group 1 Device(config-if)# service-policy output dialer-output-sp Device(config-if)# exit Device(config)# dialer-list 1 protocol ip permit
Example: Configuring QoS for Multiple Sessions on a Dialer Interface
Device(config)# interface ethernet 0/0 Device(config-if)# pppoe enable group global Device(config-if)# pppoe-client dial-pool-number 1 Device(config-if)# pppoe-client dial-pool-number 2 Device(config-if)# pppoe-client dial-pool-number 3 Device(config-if)# exit Device(config)# interface Dialer 0 Device(config-if)# dialer pool 1 Device(config-if)# service-policy output dialer-output-sp Device(config-if)# exit Device(config)# interface Dialer 1 Device(config-if)# dialer pool 2 Device(config-if)# service-policy output dialer-output-sp Device(config-if)# exit Device(config)# interface Dialer 2 Device(config-if)# dialer pool 3 Device(config-if)# service-policy output dialer-output-sp Device(config-if)# exit
Example: Applying CoS Values to a Dialer Interface
Device> enable Device# configure terminal Device(config)# policy-map output_cos Device(config-pmap)# class class-default Device(config-pmap-c)# set cos 1 Device(config-pmap-c)# exit Device(config-pmap)# exit Device(config)# interface Dialer 1 Device(config-if)# service-policy output output-cos Device(config-if)# exit Device(config)# interface Ethernet 0.10 Device(config-subif)# encapsulation dot1q 10 Device(config-subif)# pppoe-client dial-pool-number 1 Device(config-subif)# exit
Additional References for Shaping on Dialer Interfaces
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
QoS commands |
Cisco IOS Quality of Service Solutions Command Reference |
MQC |
QoS: Modular QoS: Command-Line Interface Configuration Guide |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |
Feature Information for Shaping on Dialer Interfaces
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to . An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
Shaping on Dialer Interfaces |
15.3(1)T Cisco IOS XE Release 3.13S |
The Shaping on Dialer Interfaces feature provides support for PPPoE/A configurations on dialer interfaces. |