![Cisco 10000 Series Configuration Manual Download Page 403](http://html.mh-extra.com/html/cisco/10000-series/10000-series_configuration-manual_66373403.webp)
12-19
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 12 Sharing Bandwidth Fairly During Congestion
Configuration Examples for Sharing Bandwidth Fairly
Configuration Example for Configuring CBWFQ and Attaching a Policy to an
ATM Subinterface
Example 12-6
shows how to configure CBWFQ in a policy map and attach the policy to an ATM
subinterface. This example creates a class map named
voice
to classify traffic and assigns class
characteristics in the policy map named
policy1
. The service policy is applied to the ATM
subinterface 7/0/0.1, which uses PPPoA encapsulation.
Example 12-6 Configuring CBWFQ and Attaching a Policy to a PPPoA Subinterface
Router(config)#
class-map voice
Router(config-cmap)#
match any
Router(config-cmap)#
exit
Router(config)#
policy-map policy1
Router(config-pmap)#
class voice
Router(config-pmap-c)#
police 120000 16000 32000 conform-action transmit exceed-action
set-prec-transmit 4
Router(config-pmap-c)#
exit
Router(config-pmap)#
exit
Router(config)#
interface atm7/0/0.1 point-to-point
Router(config-subif)#
pvc 10/32
Router(config-subif-atm-pvc)#
encapsulation aal5mux ppp virtual-template 1
Router(config-subif-atm-pvc)#
service-policy output policy1
Router(config-subif)#
interface virtual-template 1
Router(config-if)#
ip unnumbered loopback1
Router(config-if)#
peer default ip address pool pool1
Router(config-if)#
ppp authentication chap
Configuration Example for Configuring CBWFQ and Attaching a Policy to an
RBE Subinterface
Example 12-7
shows how to configure CBWFQ in a policy map and attach the policy to an routed bridge
encapsulation (RBE) subinterface. The example creates a class map named
voice
and a policy map
named
map1
. The service policy is applied to the ATM subinterface 7/0/1.1, which uses ATM RBE.
Example 12-7 Configuring CBWFQ and Attaching a Policy to an RBE Subinterface
Router(config)#
class-map voice
Router(config-cmap)#
match all
Router(config-cmap)#
exit
Router(config)#
policy-map map1
Router(config-pmap)#
class voice
Router(config-pmap-c)#
police 120000 16000 32000 conform-action transmit exceed-action set
precedence-transmit 4
Router(config-pmap-c)#
exit
Router(config-pmap)#
exit
Router(config-if)#
interface atm7/0/1.1 point-to-point
Router(config-subif)#
ip unnumbered loopback1
Router(config-subif)#
atm route-bridge ip
Router(config-subif)#
service-policy output map1
Router(config-subif)#
range pvc 101/32 101/2031
Router(config-subif-atm-pvc)#
encapsulation aal5snap