Cisco 10000 Series Configuration Manual page 237

Quality of service configuration guide
Hide thumbs Also See for 10000 Series:
Table of Contents

Advertisement

Chapter 6
Policing Traffic
Configuring Traffic Policing
Configuration Example for Policing PPPoE over ATM Sessions
Example 6-8
shows how to create a policy map named Group1 and associate it with a virtual template
interface named Virtual-Template 1. In the example, the router polices the Gold traffic at 8000 bits per
second and allows committed bursts of 4000 bytes and excess bursts of 2000 bytes. The router polices
the Bronze traffic at 5000 bits per second and allows committed bursts of 2000 bytes and excess bursts
of 1000 bytes. The router performs three-color policing on the Gold traffic and two-color policing on the
Bronze traffic.
When PPPoE sessions arrive on an interface, the protocol pppoe command configured on the interface
points to a broadband aggregation (BBA) group, which references a virtual template that the router uses
to create the virtual access interface (VAI) for the session. The router applies the QoS policy attached to
the virtual template to the session.
Example 6-8
Configuring Policing for PPPoE Sessions
Router(config)# policy-map Group1
Router(config-pmap)# class Gold
Router(config-pmap-c)# police 8000 4000 2000 conform-action transmit exceed-action drop
violate-action drop
Router(config-pmap-c)# class Bronze
Router(config-pmap-c)# police 5000 2000 1000 conform-action transmit exceed-action drop
!
Router(config)# bba-group PPPoE
Router(config-bba)# pppoe limit per-vc 200
Router(config-bba)# protocol pppoe
Router(config-bba)# Virtual-Template 1
!
Router(config)# interface Loopback0
Router(config-if)# ip address 192.168.1.1 255.255.255.0
!
Router(config)# interface atm 1/0/0.132 multipoint
Router(config-atm-vc)# pvc 1/33
Router(config-atm-vc)# encapsulation aal5snap
Router(config-atm-vc)# protocol pppoe group PPPoE
!
Router(config)# interface Virtual-Template 1
Router(config-if)# ip unnumbered Loopback0
Router(config-if)# peer default ip address pool PPPoEpool
Router(config-if)# ppp authentication chap
Router(config-if)# service-policy input Gold
!
Router(config)# ip local pool PPPoEpool 192.168.1.2 192.168.1.254
Cisco 10000 Series Router Quality of Service Configuration Guide
6-31
OL-7433-09

Advertisement

Table of Contents
loading

Table of Contents