Chapter 18
Regulating and Shaping Subscriber Traffic
Command
Step 6
Router(config-pmap)# class type traffic
{class-map-name | default {in-out | input
| output}}
Step 7
Router(config-pmap-c)# service-policy
{input | output} policy-map-name
Configuration Examples for MQC on IP Sessions
The following example shows how to configure a service policy map named redirect-profile. This service
policy redirects Gold traffic to the redirect-sg group.
policy-map type service redirect-profile
The following example shows how to configure a service policy named Unauthorized_Redirect_PVC.
This service policy redirects Unauthorized_Traffic to IP address 10.0.0.148 using port 8080.
class-map type traffic Unauthorized_Traffic
!
policy-map type service Unauthorized_Redirect_PVC
The following example shows how to configure a service policy named Service1. This policy has two
traffic classes configured: class1 and the default traffic class. Default traffic is dropped for both inbound
and outbound traffic.
policy-map type service Service1
OL-7433-09
class type traffic Gold
redirect to group redirect-sg
match access-group input 100
class type traffic Unauthorized_Traffic
redirect to ip 10.0.0.148 port 8080
class type traffic class1
prepaid-config PREPAID
class type traffic default in-out
drop
Purpose
Associates a previously configured traffic class with the policy
map.
class-map-name is the name of a previously configured class
map.
default specifies the default traffic class.
in-out specifies the default traffic class for inbound and outbound
traffic.
input specifies the default traffic class for inbound traffic.
output specifies the default traffic class for outbound traffic.
Attaches the specified policy map to the service profile.
input indicates to apply the policy map to inbound traffic.
output indicates to apply the policy map to outbound traffic.
policy-map-name is the name of the policy map you specified in
Step 1.
Cisco 10000 Series Router Quality of Service Configuration Guide
MQC Support for IP Sessions
18-23