Cisco 10000 Series Configuration Manual page 430

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

Advertisement

Configuration Examples
Router(config-pmap-c)# service-policy Middle-Level [Applies middle-level child to parent.]
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface atm 1/0/0
Router(config-if)# atm pxf queuing
Router(config-if)# interface atm 1/0/0.1 point-to-point
Router(config-subif)# pvc 1/32
Router(config-subif-atm-vc)# ubr 10000
Router(config-subif-atm-vc)# service-policy output Top-Level [Attaches parent to PVC.]
Example 13-11
configuration includes the following:
Bottom-level child policies named Business-Meter and Default-Meter that define a policing rate.
A middle-level child policy named Middle-Level that does the following:
A top-level parent policy named Region1 that contains the class-default class, shapes the total
bandwidth rate to 20 kbps. Notice that the Southwest policy is applied to the class-default class,
which enables the router to shape the aggregate of all of the traffic to the shape rate defined in the
Region1 class-default class, in this case 20 kbps.
The three-level hierarchical policy attaches to the point-to-point serial subinterface 5/0/0.1 in the
outbound direction.
Example 13-11 Configuring a QoS Policy at Three Levels of Hierarchy
Router(config)# policy-map Business-Meter [Defines bottom-level child policy.]
Router(config-pmap)# class non-SAA
Router(config-pmap-c)# police percent 40 1500 0 conform-action transmit exceed-action
set-dscp-transmit 40
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# policy-map Default-Meter [Defines another bottom-level child policy.]
Router(config-pmap)# class non-SAA
Router(config-pmap-c)# police percent 10 1500 0 conform-action transmit exceed-action
set-dscp transmit 20
Router(config-pmap-c)# exit
Router(config-pmap)# policy-map Southwest [Defines middle-level child policy.]
Router(config-pmap)# class Premium
Router(config-pmap-c)# priority
Router(config-pmap-c)# police 8000 6000 2000 conform-action transmit exceed-action drop
Router(config-pmap-c)# exit
Router(config-pmap)# class Business
Router(config-pmap-c)# random-detect dscp-based
Router(config-pmap-c)# random-detect dscp 40 10 20 10
Cisco 10000 Series Router Quality of Service Configuration Guide
13-24
shows how to configure another three-level hierarchical policy. This example
Gives priority service to Premium traffic and limits Premium traffic to 8000 bps.
Defines a Business class with a DSCP-based packet drop policy. The bottom-level child policy
named Business-Meter is applied to the Business traffic. The Business-Meter policy indicates
to police traffic at 40 percent of available bandwidth, mark traffic that exceeds 40 percent with
DSCP 40, and during congestion, discard Business class traffic marked with DSCP 40 (the
traffic that exceeds the policing rate) before it discards Business traffic at or below the policing
rate.
Defines a Non-Essential class with a DSCP-based traffic drop policy. Notice that the
bottom-level child policy named Default-Meter is applied to the Non-Essential traffic. The
Default-Meter indicates to police traffic at 10 percent of the available bandwidth, mark
exceeding traffic with DSCP 20, and during congestion, discard Non-Essential traffic marked
with DSCP 20 (the traffic that exceeds the policing rate) before it discards Non-Essential traffic
at or below the policing rate.
Chapter 13
Defining QoS for Multiple Policy Levels
OL-7433-09

Advertisement

Table of Contents
loading

Table of Contents