priority-group-table

Defines the Priority Group ID (PGID) and the scheduling policy associated with it. Each PGID can be assigned one of 16 values. The valid values are [0-7] and [15.0-15.7]. The value range 0-7 indicate DWRR priority and the range 15.0-15.7 indicate Strict Priority values. This configuration and the priority-table configuration sets how traffic is handled when congestion occurs. For DWRR traffic, packets are dropped when PFC is not enabled for that flow.

Syntax

priority-group-table <Priority Group> weight <weight in percent> pfc [ on | off ]
priority-group-table <Priority Group> pfc [ on | off ]
[no] priority-group-table <Priority Group>

Parameters

<Priority Group>

Configures the Priority Group. Valid values are 0-7 and 15.0-15.7.

A value in the range 0-7 indicate DWRR priority and unless the PFC is set for the entry, packets are liable to be dropped if congestion occurs.

A value in the range 15.0-15.7 indicates strict priority traffic. Traffic in this range is never dropped. Within this range, packets marked with 15.0 has a higher priority than packets marked with 15.1, packets marked with 15.1 has higher priority than those marked with 15.2, and so on. Packets marked as 15.7 has the lowest priority within the Strict Priority group.

weight <weight in percent>
For DWRR traffic only. DWRR traffic is in the range 0-7. Sets a value in percentage. For example, set 10 for 10%, 20 for 20%. Ensure that the sum of all DWRR weights in this table must be equal to 100%. If the sum does not equal 100%, then an error is thrown.
pfc [ on | off ]

For DWRR traffic only. Configures Priority Flow Control (PFC) for this entry. PFC is enabled when set to on. It is recommended that no more than one (1) priority group be enabled for PFC.

PFC cannot be configured for Strict Priority Groups (15.0-15.7).

Modes

CEE Map Mode

Usage Guidelines

PFC can only be enabled for DWRR traffic. It is recommended that only one priority group be configured as PFC enabled. You must create separate entries for each of the priority groups. There can be maximum sixteen (16) entries in the Priority Group Table.

The no form of this command removes a priority-group-table configuration entry from the CEE map.

Examples

Configures the Priority Group Table values.

device# configure terminal
device(config)# cee-map default
device(config-cee-map-default)# priority-group-table 15.0 pfc off
device(config-cee-map-default)# priority-group-table 15.1 pfc off 
device(config-cee-map-default)# priority-group-table 15.2 pfc off 
device(config-cee-map-default)# priority-group-table 15.3 pfc off
device(config-cee-map-default)# priority-group-table 15.4 pfc off 
device(config-cee-map-default)# priority-group-table 15.5 pfc off 
device(config-cee-map-default)# priority-group-table 15.6 pfc off
device(config-cee-map-default)# priority-group-table 15.7 pfc off 

device(config-cee-map-default)# priority-group-table 1 weight 40 pfc on
device(config-cee-map-default)# priority-group-table 2 weight 60 pfc off
                    
device(config-cee-map-default)# 
                

This example displays the configuration made in the previous example.

device# config term
device(config)# do show cee maps default

CEE Map 'default'
Precedence: 1
Priority Group Table
1: Weight 40, PFC Enabled, BW% 40
2: Weight 60, PFC Disabled, BW% 60
15.0: PFC Disabled
15.1: PFC Disabled
15.2: PFC Disabled
15.3: PFC Disabled
15.4: PFC Disabled
15.5: PFC Disabled
15.6: PFC Disabled
15.7: PFC Disabled
Priority Table
CoS: 0 1 2 3 4 5 6 7
----------------------------------------
PGID: 2 2 2 1 2 2 2 15.0
Enabled on the following interfaces:
Ethernet 0/1