Service-Policy - Cisco Catalyst 3550 Command Reference Manual

Multilayer switch
Hide thumbs Also See for Catalyst 3550:
Table of Contents

Advertisement

Chapter 2 Cisco IOS Commands

service-policy

Use the service-policy interface configuration command to apply a policy map defined by the
policy-map command to the input or output of a particular interface. Use the no form of this command
to remove the policy map and interface association.
Syntax Description
input policy-map-name
output policy-map-name
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 interface.
Command Modes
Interface configuration
Command History
Release
12.1(4)EA1
Usage Guidelines
Only one policy map per interface per direction is supported.
You cannot use the service-policy interface configuration command to attach policy maps that contain
these elements to an egress interface:
The only match criterion in a policy map that can be attached to an egress interface is the match ip dscp
dscp-list class-map configuration command.
A classification that uses a port trust state (for example, mls qos trust [cos | dscp | ip-precedence] and
classification that uses a policy map (for example, service-policy input policy-map-name) are mutually
exclusive. The last setting configured overwrites the previous configuration.
78-11195-09
service-policy {input policy-map-name | output policy-map-name}
no service-policy {input policy-map-name | output policy-map-name}
Modification
This command was first introduced.
set or trust policy-map class configuration commands. Instead, you can use the police policy-map
class configuration command to mark down (reduce) the DSCP value at the egress interface.
Access control list (ACL) classification.
Per-port per-VLAN classification.
Apply the specified policy-map to the input of an interface.
Apply the specified policy-map to the output of an interface.
Catalyst 3550 Multilayer Switch Command Reference
service-policy
2-217

Advertisement

Table of Contents
loading

Table of Contents