qos cpu slot

Configures the Traffic Manager CPU port shaper rate (all towers) to the line card CPU.

Syntax

qos cpu slot line-card-number { group group_id { prio { priority | all } | shaper rate shaper_rate burst burst_size | wfq weight weight_value }
qos cpu slot line-card-number { port shaper rate shaper_rate burst burst_size }
no qos cpu slot line-card-number { group group_id { prio { priority | all } | shaper rate shaper_rate burst burst_size | wfq weight weight_value }
no qos cpu slot line-card-number { port shaper rate shaper_rate burst burst_size }

Command Default

The Traffic Manager CPU group or port shaper rate is not set.

Parameters

line-card-number
The values are 0 on Pizzabox platforms, 1 through 4 on F4 platforms, and 1 through 8 on F8 platforms.
group group_id
Configures a CPU group.
shaper rate shaper_rate
Configures the Traffic Manager CPU shaper rate (all towers) to the line card CPU for CPU groups. The rate is in kilo bits per second (Kbps) with a range from 0 through 100000.
prio priority
Configures the Traffic Manager CPU shaper rate (all towers) to the line card CPU for individual priority VoQs in a CPU group. The priority value ranges from 0 through 7.
burst burst_size
Configures the CPU burst size. The burst size value ranges from 1 through 64 KB.
wfq weight weight_value
Configures the CPU group's weighted fair queue value (all towers). The weight value ranges from 1 through 128.
port
Configures a CPU port.

Modes

Global configuration mode.

Usage Guidelines

The no form of the command removes the QoS CPU shaper configuration.

Examples

This example sets the Traffic Manager CPU port shaper on slot 1 to priority 5, with a rate of 4500 Kbps, and a burst size of 1KB.

device# configure terminal
device(config)# qos cpu slot 1 port shaper rate 4000 burst 1

This example sets the Traffic Manager CPU port shaper on slot 1 to 4000 Kbps with a burst size of 1KB.

device# configure terminal
device(config)# qos cpu slot 1 port shaper rate 4000 burst 1

This example sets the Traffic Manager CPU on slot 1 group 1 priority to 5, with a rate of 4500 Kbps, and a burst size of 1KB.

device# configure terminal
device(config)# qos cpu slot 1 group 1 priority 5 shaper rate 4500 burst 1