EasyManua.ls Logo

Cisco Catalyst 4500 Series - Service-Policy (Policy-Map Class)

Cisco Catalyst 4500 Series
1230 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2-614
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
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.
service-policy policy-map-name
no service-policy policy-map-name
Syntax Description
Defaults No service policies maps are defined.
Command Modes Policy-map class configuration mode
Command History
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.
policy-map-name Name of the policy map.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.2(40)SG Added support for Supervisor Engine 6-E and Catalyst 4900M chassis.

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Related product manuals