2-414
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
service-policy (interface configuration)
service-policy (interface configuration)
Use the
service-policy
interface configuration command to apply a policy map defined by the
policy-map
command to a port or a switch virtual interface (SVI). Use the
no
form of this command to
remove the policy map and port association.
service-policy
{
input
|
output
}
policy-map-name
no service-policy
{
input
|
output
}
policy-map-name
Syntax Description
Note
Though visible in the command-line help strings, the
history
keyword is not supported, and you should
ignore the statistics it gathers.
Defaults
No policy maps are attached to the port.
Command Modes
Interface configuration
Command History
Usage Guidelines
O
nly one policy map per port is supported. With standard QoS, you can attach one nonhierarchical
service policy to the input of a standard physical port, to an SVI, or to an ES port. You can also attach
one ingress hierarchical dual-level service policy per SVI. With hierarchical QoS, you can attach one
ingress hierarchical service policy and one egress hierarchical service policy per ES port. You can also
attach a hierarchical service policy to an EtherChannel with no ports or with one or both ES ports
Use the
service-policy output
policy-map-name
command only in an egress policy map attached to an
ES port. You cannot apply an egress policy to a standard port.
input
policy-map-name
Apply the specified single-level ingress policy map to a standard or to
an enhanced-services (ES) port.
Apply the specified hierarchical policy map to the input of an
enhanced-services (ES) port or Etherchannel made of ES ports.
output
policy-map-name
Apply the specified single-level or hierarchical policy map to the output
of an ES port or EtherChannel.
Release
Modification
12.1(14)AX
This command was introduced.
1
2.2(25)EY
Hierarchical service policies can be attached to inbound or outbound traffic
on an ES port. Nonhierarchical dual-level service policies can attached to
inbound traffic received on a switch virtual interface (SVI).
12.2(25)SE
Hierarchical service policies can be attached to an EtherChannel with no
ports or with one or both ES ports