QoS Commands
service-policy
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
400
28
Command Mode
Interface Configuration (Ethernet, port channel) mode
Example
switchxxxxxx(config)#
interface gi5
switchxxxxxx(config-if)#
qos trust
service-policy
To bind a policy map to a port or port channel, use the service-policy Interface
Configuration mode command.
To detach a policy map from an interface, use the no form of this command.
NOTE
This command is available only when the switch is in QoS advanced mode.
Syntax
service-policy input
policy-map-name
no service-policy input
Parameters
•
input
policy-map-name
—Specifies the policy map to apply to the input
interface.
Command Mode
Interface Configuration (Ethernet, port channel) mode
User Guidelines
Only one policy map per interface per direction is supported.
Example
The following example attaches a policy map called Policy1 to the input interface:
switchxxxxxx(config-if)#
interface gi11
switchxxxxxx(config-if)#
service-policy input policy1