hit counter script

Service-Policy (Policy-Map Class) - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

service-policy (policy-map class)

service-policy (policy-map class)
To create a service policy that is a quality of service (QoS) policy within a policy map (called a
hierarchical service policy), use the service-policy policy-map class configuration command. To disable
the service policy within a policy map, use the no form of this command.
Syntax Description
policy-map-name
Defaults
No service policies maps are defined.
Command Modes
Policy-map class configuration mode
Command History
Release
12.1(8a)EW
12.2(40)SG
Usage Guidelines
Use the service-policy command only in a hierarchical policy map attached to a physical port. This
command is valid in policy maps at level two of the hierarchy.
You can create a hierarchy by having the parent policy map specify marking and/or policing actions and
having the child policy map specify the queueing actions.
If you enter this command in policy-map class configuration mode, you return to policy-map
configuration mode by using the exit command. To return to privileged EXEC mode, use the end
command.
Examples
This example shows how to create a hierarchical service policy in the service policy called "parent":
Switch# configure terminal
Switch(config)# policy-map child
Switch(config-pmap)# class voice
Switch(config-pmap-c)# priority
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# policy-map parent
Switch(config-pmap)# class class1
Switch(config-pmap-c)# police 32k
Switch(config-pmap-c)# service-policy child
Switch#
You can verify your settings by entering the show policy-map privileged EXEC command.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
2-614
service-policy policy-map-name
no service-policy policy-map-name
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Added support for Supervisor Engine 6-E and Catalyst 4900M chassis.
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
Name of the policy map.
OL-27596 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents

Save PDF