Quality of Service (QoS) Commands
933 Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
47
47.15 service-policy
Use the service-policy Interface (Ethernet, Port Channel) Configuration mode
mode command to bind a policy map to an interface. Use the no form of this
command to detach a policy map from an interface.
Syntax
service-policy {input | output}
policy-map-name
[default-action {permit-any |
deny-any}]
no service-policy input | output
service-policy {input | output}
policy-map-name
Parameters
• input—Specifies an ingress policy.
• output—Specifies an egress policy.
•
policy-map-name
—Specifies the policy map name to apply to the input
interface. (Length: 1–32 characters)
• default-action—Specifies the default action. If the keyword is not
configured then the deny-any default action is applied.
• deny-any—Deny all the packets (which were ingress of the port) that do not
meet the rules in a policy.
• permit-any—Forward all the packets (which were ingress of the port) that
do not meet the rules in a policy.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
Default
Policy map is not bound.
User Guidelines
This command is only available in QoS advanced mode.
Only one policy map per interface per direction is supported.