Users Guide

Table Of Contents
CPU queues support shaping instead of rate limiting.
Port shaping, storm control rate shaping, and CoPP rates are converted to kbps internally, even when configured in pps.
Assign service-policy
Rate controlling the traffic towards CPU requires configuring the control-plane type policy. To enable CoPP, apply the defined
policy-map to CONTROL-PLANE mode.
1. Enter CONTROL-PLANE mode from CONFIGURATION mode.
control-plane
2. Define aninput type service-policy and configure a name for the service policy in CONTROL-PLANE mode.
service-policy input example-copp-policy-map-name
Assign control-plane service-policy
OS10(config)# control-plane
OS10(conf-control-plane)# service-policy input example-copp-policy-map-name
View control-plane service-policy
OS10(conf-control-plane)# do show qos control-plane
Service-policy (input): example-copp-policy-map-name
Re-map protocols to queues
On switches that have a fewer number of queues, multiple protocols are mapped to a single queue. OS10 allows you to re-map
the protocols to available queues depending on your needs.
NOTE: This feature is not supported on the S4200-ON and S5100-ON series platforms.
For example, if your deployment does not need multicast protocols, re-map the multicast protocols to another queue. And use
the original multicast queue, queue 2 for other protocols or applications that you need.
If the protocols or applications that your deployment needs share the same queue, re-map some of them to other queues that
are mapped to protocols or applications that are not required.
If your deployment uses only a few protocols or applications, you can re-map these protocols or applications to individual
queues. Also, you can change the buffer settings for the remaining queues that are mapped to unused protocols or applications.
Ensure that you transfer the allocated buffer space from such queues to the common pool, which is used for lossy or lossless
traffic.
If you re-map the protocols or applications to different queues when the system is operational, then until queue transition
completes, egress traffic flows through queue 0.
The following show commands display protocol-to-queue mapping:
show control-plane info default Displays the default protocol-to-queue mapping.
show control-plane info Displays the currently configured protocol-to-queue mapping.
NOTE:
You cannot re-map protocols and applications to queues that are mapped to CPS, port security, and Precision Time
Protocol (PTP):
CPS Queue 19
Port securityQueue 23
PTP Queue 24
The following error message appears when you re-map protocols, applications, or both to an invalid queue:
% Error: QOS : Invalid copp protocol queue mapping
1324 Quality of service