Specifications
2-333
Cisco ME 3400 Ethernet Access Switch Command Reference
OL-9640-07
Chapter 2 Cisco ME 3400 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 an input or output policy map or a per-port, per-VLAN 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 can use the service-policy input command to assign a child QoS policy to a parent input policy
defined with a classification based on VLAN IDs. This allows you to create a hierarchical policy for
per-port, per-VLAN QoS.
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 input policy map, when you configure classes with classification based on VLAN IDs by using
the match vlan class-map configuration command, you can use service-policy policy-map class
configuration command to associate a child QoS policy with that class. This provides the ability to apply
independent QoS policies based on the VLAN IDs of the incoming traffic on the port. The per-port,
per-vlan ingress QoS feature is supported only using a 2-level hierarchical input policymap, where the
parent level defines the VLAN-based classification and the child level defines the QoS policy to be
applied to the corresponding VLAN or VLANs. You can configure the child policy with all actions that
are available for input policy maps, specifically policing and marking.
Note Per-port, per-VLAN QoS is supported only when the switch is running the metro IP access or metro
access image.
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.
12.2(25)SEG Support was added for the ability to use this command to assign a child QoS
policy to a parent input policy defined by classifying based on VLAN ID
(supported with only the metro IP access or metro access image). See “Usage
Guidelines.”