![Cisco 10000 Series Configuration Manual Download Page 337](http://html.mh-extra.com/html/cisco/10000-series/10000-series_configuration-manual_66373337.webp)
10-11
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 10 Overhead Accounting
Configuration Examples for Overhead Accounting
bandwidth remaining ratio 10 account dot1q aal5 snap-rbe-dot1q
shape average 512 account dot1q aal5 snap-rbe-dot1q
service policy subscriber_classes
Note
The
shape average
rate
command is available only on the PRE3 and PRE4. The PRE2 supports the
shape
rate
command.
Example 10-1
shows that 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 does not occur for the Business traffic class.
Example 10-1 Enabling ATM Overhead Accounting
Router(config)#
policy-map Child
Router(config-pmap)#
class Business
Router(config-pmap-c)#
priority
Router(config-pmap-c)#
police 128000
//*No Layer 2 overhead accounted*/
Router(config-pmap-c)#
class Nonbusiness
Router(config-pmap-c)#
bandwidth percent 20 account dot1q aal5 snap-rbe-dot1q
Router(config-pmap-c)#
exit
Router(config-pmap)#
exit
Router(config)#
policy-map Parent
Router(config-pmap)#
class class-default
Router(config-pmap-c)#
shape 256000 account dot1q snap-rbe-dot1q
Router(config-pmap-c)#
service-policy Child
Enabling ATM Overhead Accounting on the PRE3 and PRE4 for MLPoLNS
Example 10-2
shows how to enable ATM overhead accounting using the hierarchical
service policy
where there is a parent with a child policy. In the example, the child policy map has a predefined class
prec2 that shapes the aggregate traffic to 10,000 kbps and enables ATM overhead accounting.
Example 10-2 Enabling ATM Overhead Accounting—MLPoLNS
Router(config)#
policy-map child
Router(config-pmap)#
class prec2
Router(config-pmap-c)#
shape average 10000 account user-defined 63 atm
Router(config-pmap-c)#
exit
Router(config)#
policy-map parent
Router(config-pmap)#
class class-default
Router(config-pmap-c)#
shape average 256000 account user-defined 63 atm
Router(config-pmap-c)#
service-policy child
Enabling Ethernet Overhead Accounting on the PRE2
The following configuration example shows how to enable Ethernet overhead accounting on the PRE2
and specify the number of bytes the router should take into account when calculating the overhead. In
the example, the policy map named ethernet_ovrh contains the class-default class, which has overhead
accounting enabled for shaping and a user-defined offset of 18 bytes specified. The ethernet_ovrh policy
map is attached to subinterface Gigabit Ethernet 1/0/0.100.
policy-map ethernet_ovrh
class class-default