Specifications
2-222
Cisco ME 2400 Ethernet Access Switch Command Reference
OL-9643-03
Chapter 2 Cisco ME 2400 Ethernet Access Switch Cisco IOS Commands
service-policy (policy-map class configuration)
service-policy (policy-map class configuration)
Use the service-policy policy-map class configuration command to configure a quality of service (Q0S)
service policy for anoutput policy map. Use the no form of this command to disable a service policy as
a QoS policy within a policy map.
service-policy policy-map-name
no service-policy policy-map-name
Syntax Description
Defaults No service policies are defined.
Command Modes Policy-map class configuration
Command History
Usage Guidelines You attach a service policy created in policy-map class configuration to a parent output policy map. This
creates hierarchical policy mapping. Use the service-policy policy-map-name policy-map class
configuration command to enter a second-level (child) policy map.
For an output policy map, when shape average is also configured on the class class-default, you can
configure hierarchical policy maps by attaching a single service-policy policy-map class command to
the class class-default. This policy map specifies the service policy for the port-shaped traffic on the
port and is the parent policy map. You can configure the child policy with class-based queuing actions
by using the queue-limit policy map class command and with scheduling actions (by using the
bandwidth, shape average, or priority command).
To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode,
use the end command.
Examples This example shows how to define the service policy and to attach it to a parent policy map to set the
maximum bandwidth (shape) for an output queue at 90000000 bits per second:
Switch(config)# policy-map out-policy-parent
Switch(config-pmap)# class class-default
Switch(config-pmap-c)# shape average 90000000
Switch(config-pmap-c)# service-policy out-policy
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.
policy-map-name Name of the service policy map (created by using the policy-map global
configuration command) to be used in a QoS hierarchical service policy.
Release Modification
12.2(25)EX This command was introduced.