EasyManua.ls Logo

Cisco Catalyst 3750 Metro - Service-Policy (Policy-Map Class)

Cisco Catalyst 3750 Metro
985 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-417
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
service-policy (policy-map class)
service-policy (policy-map class)
Use the service-policy policy-map class configuration command to create a service policy that is a
quality of service (QoS) policy within a policy map (called a hierarchical service policy). Use the no
form of this command to disable the service policy within a policy map.
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
Command History
Usage Guidelines Use the service-policy command only in a hierarchical policy map attached to an enhanced-services
(ES) port. This command is valid in policy maps at any level of the hierarchy.
You can create a hierarchy by associating a class-level policy map with a VLAN-level policy map, by
associating that VLAN-level policy map with a physical-level policy map, and by attaching the
physical-level policy map to an ES port. You can omit hierarchical levels, but the order of the levels
(class level, VLAN level, and then the physical level) must be preserved.
If you use the bandwidth policy-map class configuration command in a child policy, you also must use
it in the parent policy.
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(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)# shape average 10000000
Switch(config-pmap-c)# service-policy child
policy-map-name Name of the policy map.
Release Modification
12.1(14)AX This command was introduced.
12.2(25)EY Hierarchical service policies can be attached to inbound traffic received on
an ES port or a switch virtual interface (SVI).

Table of Contents

Related product manuals