Configuration Examples For Three-Level Hierarchical Policies - Cisco 10000 Series Configuration Manual

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

Advertisement

Chapter 13
Defining QoS for Multiple Policy Levels
Example 13-9 Configuring a Nested Hierarchical Policy at Two Levels of Hierarchy
Router(config)# policy-map Bottom [Defines bottom-level child policy.]
Router(config-pmap)# class Group1
Router(config-pmap-c)# bandwidth 5000
Router(config-pmap)# class Group2
Router(config-pmap)# bandwidth 2000
Router(config-pmap-c)# random-detect dscp-based
Router(config-pmap-c)# random-detect dscp 40 10 20 10
Router(config-pmap-c)# exit
Router(config-pmap)# policy-map Parent [Defines top-level parent policy.]
Router(config-pmap)# class class-default
Router(config-pmap-c)# shape 8000
Router(config-pmap-c)# service-policy Bottom [Applies bottom-level child policy.]
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface atm 1/0/0
Router(config-if)# service-policy output Parent [Applies top-level parent policy.]

Configuration Examples for Three-Level Hierarchical Policies

Example 13-10
includes the following:
Example 13-10 Configuring a Three-Level Hierarchical Policy
Router(config)# policy-map DefaultMeter [Defines bottom-level child policy.]
Router(config-pmap)# class Group1
Router(config-pmap-c)# police percent 30
Router(config-pmap-c)# set cos 2
Router(config-pmap-c)# exit
Router(config-pmap)# policy-map BusinessMeter [Defines bottom-level child.]
Router(config-pmap-c)# class Group2
Router(config-pmap-c)# police percent 10
Router(config-pmap-c)# exit
Router(config-pmap)# policy-map Middle-Level [Defines middle-level child policy.]
Router(config-pmap-c)# class Business
Router(config-pmap-c)# random-detect dscp-based
Router(config-pmap-c)# random-detect dscp 40 10 20 10
Router(config-pmap-c)# service-policy BusinessMeter [Applies bottom-level child policy.]
Router(config-pmap-c)# class Non-Business
Router(config-pmap-c)# random-detect dscp-based
Router(config-pmap-c)# random-detect dscp 20 10 20 10
Router(config-pmap-c)# service-policy DefaultMeter [Applies bottom-level child policy.]
Router(config-pmap-c)# exit
Router(config-pmap)# policy-map Top-Level [Defines top-level parent policy.]
Router(config-pmap)# class class-default
Router(config-pmap-c)# shape 8000
OL-7433-09
shows how to configure a three-level hierarchical policy. This example configuration
A bottom-level child policy contains two policy maps named DefaultMeter and BusinessMeter.
These policy maps define marking and policing for the associated traffic classes.
A Middle-Level policy defines queuing services for the classes. In the Middle-Level policy map, the
bottom-level BusinessMeter policy is applied to the Business class and the bottom-level
DefaultMeter policy is applied to the Non-Business class.
The Middle-Level policy is applied to the class-default class in the parent policy map named
Top-Level, which shapes the traffic to 8000 kbps.
The hierarchical policy is attached to PVC 1/32 on the point-to-point ATM subinterface 1/0/0.1 in
the outbound direction.
Cisco 10000 Series Router Quality of Service Configuration Guide
Configuration Examples
13-23

Advertisement

Table of Contents
loading

Table of Contents