Setting The Shaping Rate Using A Coa Message - Cisco 10000 Series Configuration Manual

Router access network control protocol
Hide thumbs Also See for 10000 Series:
Table of Contents

Advertisement

Configuration Examples of RADIUS-Based Shaping and Policing
1d21h: RADIUS: Vendor, Cisco [26] 68
1d21h: RADIUS: Cisco AVpair [1] 62 "qos-policy-out=add-class(sub,(class-default),
shape(120000))"
1d21h: RADIUS(0000000D): Received from id 1645/3
1d21h: SSS PM [uid:4][65ADE2E8]: SERVICE: Adding Service attachment to event
1d21h: RADIUS/ENCODE(0000000D):Orig. component type = PPoE
1d21h: RADIUS(0000000D): Config NAS IP: 0.0.0.0
1d21h: RADIUS(0000000D): sending
The ISG copies the service policy named Parent currently applied to the session and creates a transient
copy named New_Parent. While the parent shaping rate, as previously shown, changes to 120,000, the
shaping rate displayed in the transient New_Parent policy is the old rate of 10,000, as seen in the
following example. The child policy remains unchanged.
ISG Transient Policy
policy-map New_Parent

Setting the Shaping Rate Using a CoA Message

This configuration example uses a RADIUS CoA message to change the shaping rate of a session and is
based on the following ISG configuration:
ISG Original Policy
class-map match-any Premium
!
policy-map Child
!
policy-map Parent
!
ip access-list extended Premium_Dest
permit ip any 192.168.6.0 0.0.0.255
permit ip any 192.168.5.7 0.0.0.64
The following Cisco VSA is configured in a user profile on RADIUS. This VSA adds the class-default
class to the QoS policy attached to the subscriber session for outbound traffic and shapes the
class-default class to 120,000 bps.
RADIUS Configuration
radius subscriber 1047
The ISG receives the following RADIUS CoA message. Notice that the above Cisco VSA configured in
the user profile is present in the Access-Accept message.
Cisco 10000 Series Router Access Network Control Protocol Configuration Guide
6-16
class class-default
shape average 10000
service-policy Child
match access-group name Premium_Dest
class Premium
shape average 5000
class class-default
shape average 10000
service-policy Child
vsa cisco 250 S192.168.1.2
vsa cisco generic 1 string "qos-policy-out=add-class(sub,(class-default),
shape(120000))"
Chapter 6
[New cloned parent policy]
RADIUS-Based Shaping and Policing
OL-14660-03

Advertisement

Table of Contents
loading

Table of Contents