2-336
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
service-policy
Classification using a port trust state (for example,
mls qos trust
[
cos
|
dscp
|
ip-precedence
] and a
policy map (for example,
service-policy input
policy-map-name
) are mutually exclusive. The last one
configured overwrites the previous configuration.
Examples
This example shows how to apply
plcmap1
to an physical ingress port:
Switch(config)#
interface gigabitethernet0/1
Switch(config-if)#
service-policy input plcmap1
This example shows how to remove
plcmap2
from a physical port:
Switch(config)#
interface gigabitethernet0/2
Switch(config-if)#
no
service-policy input plcmap2
This example shows how to apply
plcmap1
to an ingress SVI when VLAN-based QoS is enabled:
Switch(config)#
interface vlan 10
Switch(config-if)#
service-policy input plcmap1