Advanced Traffic Management Guide K/KA/KB.15.15
6. Apply the QoS policy to inbound traffic on a port (interface service-policy in
command) or VLAN (vlan service-policy in command) interface.
The following restrictions apply to a QoS service policy:
• Only one QoS policy is supported on a port or VLAN interface.
• If you apply a QoS policy to a port or VLAN interface on which a QoS policy is already
configured, the new policy replaces the existing one.
• A QoS policy is supported only on inbound traffic.
Because only one QoS policy is supported on a port or VLAN interface, ensure that the policy
you want to apply contains all the required classes and actions for your configuration.
To apply a QoS policy on a port or VLAN interface, enter one of the following commands
from the global configuration context.
Context: Global configuration
Syntax:
interface port-list service-policy policy-name
Configures specified ports with a QoS policy that is applied to inbound traffic on
each interface.
Separate individual port numbers in a series with a comma; for example, a1, b4,
d3.
Enter a range of ports by using a dash; for example, a1-a5.
The QoS policy name you enter must be the same as the policy name you configured
with the policy qos command in Step 2.
Syntax:
vlan vlan-id service-policy policy-name in
Configures a QoS policy on the specified VLAN that is applied to inbound traffic
on the VLAN interface.
Valid VLAN ID numbers range from 1 to 4094.
The QoS policy name you enter must be the same as the policy name you configured
with the policy command in Step 2.
7. Determine the additional QoS configurations that you need to apply to each QoS-capable
device in your network and configure the appropriate policy.
Optional: For802.1p (CoS) priority settings to be included in outbound packets, configure
tagged VLANs on the appropriate downstream links.
Configuring QoS actions in a policy
In QoS policy-configuration mode, you define the actions to be applied to a pre-configured IPv4
or IPv6 traffic class when a packet matches the match criteria in the class. Note: Actions are not
executed on packets that match ignore criteria. You can enter multiple action statements in a
traffic class, including the default class.
The following commands are supported in a QoS policy configuration:
rate-limit Configures the rate limit for matching packets.
ip-precedence Configures (marks) the IP precedence bits in the ToS byte of IPv4 packet
headers and Traffic Class byte of IPv6 headers.
dscp Configures the DSCP bits in the IPv4 ToS byte and IPv6 Traffic Class byte of
packet headers.
Configuring QoS actions in a policy 221










