2-235
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
service-policy
service-policy
To attach a policy map to an interface, use the service-policy command. To remove a policy map from
an interface, use the no form of this command.
service-policy {input | output} policy-map name
no service-policy {input | output} policy-map name
Syntax Description
Defaults A policy map is not attached to an interaface.
Command Modes Interface configuration
Command History
Examples This example shows how to attach a policy map to a Fast Ethernet interface:
Switch(config)# interface fastethernet 5/20
Switch(config-if)# service-policy input pmap1
Switch(config-if)#
Related Commands class-map
policy-map
input Specifies input policy maps.
output Specifies output policy maps.
policy-map name Name of a previously configured policy map.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.