10-10
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 10 Overhead Accounting
Configuration Examples for Overhead Accounting
Configuration Examples for Overhead Accounting
This section provides the following configuration examples:
•
Enabling ATM Overhead Accounting, page 10-10
•
Enabling ATM Overhead Accounting on the PRE3 and PRE4 for MLPoLNS, page 10-11
•
Enabling Ethernet Overhead Accounting on the PRE2, page 10-11
•
Enabling Ethernet Overhead Accounting on the PRE3 and PRE4, page 10-12
Enabling ATM Overhead Accounting
The following configuration example shows how to enable ATM overhead accounting using a
hierarchical policy. The Child policy map has two classes: Business and Nonbusiness. The Business
class has priority and is policed at 128,000 kbps. The Nonbusiness class has ATM overhead accounting
enabled and has a bandwidth of 20 percent of the available bandwidth. The Parent policy map shapes the
aggregate traffic to 256,000 kbps and enables ATM overhead accounting.
Notice that Layer 2 overhead accounting is not explicitly configured for the Business traffic class. If the
class-default class of a parent policy has ATM overhead accounting enabled, you are not required to
enable ATM overhead accounting on a child traffic class that does not contain the
bandwidth
or
shape
command. Therefore, in this example, the Business priority queue implicitly has ATM overhead
accounting enabled because its parent class-default class has overhead accounting enabled.
policy-map Child
class Business
priority
police 128000
class Nonbusiness
bandwidth percent 20 account dot1q aal5 snap-rbe-dot1q
exit
exit
policy-map Parent
class class-default
shape 256000 account dot1q aal5 snap-rbe-dot1q
service-policy Child
In the following configuration example, overhead accounting is enabled for bandwidth on the gaming
and class-default classes of the child policy map named subscriber_classes, and on the class-default class
of the parent policy map named subscriber_line. The voip and video classes do not have accounting
explicitly enabled; these classes have ATM overhead accounting implicitly enabled because the parent
policy has overhead accounting enabled. Notice that the features in the parent and child policies use the
same encapsulation type.
policy-map subscriber_classes
class voip
priority level 1
police 8000
class video
priority level 2
police 20
class gaming
bandwidth remaining percent 80 account dot1q aal5 snap-rbe-dot1q
class class-default
bandwidth remaining percent 20 account dot1q aal5 snap-rbe-dot1q
policy-map subscriber_line
class class-default