API Guide

set dscp
Sets the drop precedence for incoming packets based on their DSCP value and color map profile.
Syntax
set dscp dscp-value [color {red | yellow}]
Parameters
dscp-value Enter a DSCP value, from 0 to 63.
color (Optional) Enter to apply a color map profile.
red (Optional) Enter to mark the packets to drop.
yellow (Optional) Enter to mark the packets to deliver to the egress queue.
Default Not configured
Command Mode POLICY-MAP-CLASS-MAP
Usage
Information
This command supports only QoS ingress policy type. Packets marked as color yellow deliver to the
egress queue, then the egress queue transmits the packets with the available bandwidth. If bandwidth is
not available, the packets drop. All packets marked as color red drop. When class-map type is qos,
the qos-group corresponds to data queues 0 to 7.
Example
OS10(conf-pmap-c-qos)# set dscp 10
Supported
Releases
10.2.0E or later
set qos-group
Configures marking for the QoS-group queues.
Syntax
set qos-group queue-number
Parameters queue-number Enter a queue number, from 0 to 7.
Default Not configured
Command Mode POLICY-MAP-CLASS-MAP
Usage
Information
This command supports only the qos or control-plane ingress policy type. When the class-map type
is control-plane, the qos-group corresponds to CPU queues 0 to 11. When the class-map type is qos,
the qos-group corresponds to data queues 0 to 7.
Example
OS10(conf-pmap-c-qos)# set qos-group 7
Supported
Releases
10.2.0E or later
shape
Shapes the outgoing traffic rate.
Syntax
shape {min {kbps | mbps | pps} min-value [burst-size]} {max {kbps | mbps |
pps} max-value [max-burst-size]}
Parameters
min Enter the minimum committed rate in unit in kbps, mbps, or pps.
kbps Enter the committed rate unit in kilobits per second, from 0 to 40000000.
mbps Enter the committed rate unit in megabits per second, from 0 to 40000.
pps Enter the committed rate unit in packets per second, from 1 to 268000000.
burst-size Enter the burst size in kilobites per packet, from 0 to 10000 or 1 to 1073000.
max Enter the maximum peak rate in kbps, mbps, or pps.
max-burst-size Enter the burst size in kilobites per packets, from 0 to 10000 or 1 to 1073000.
1248 Quality of service