Administrator Guide
Hierarchical Scheduling in ETS Output Policies
ETS supports up to three levels of hierarchical scheduling.
For example, you can apply ETS output policies with the following congurations:
Priority group 1 Assigns trac to one priority queue with 20% of the link bandwidth and strict-priority scheduling.
Priority group 2 Assigns trac to one priority queue with 30% of the link bandwidth.
Priority group 3 Assigns trac to two priority queues with 50% of the link bandwidth and strict-priority scheduling.
In this example, the congured ETS bandwidth allocation and scheduler behavior is as follows:
Unused bandwidth
usage:
Normally, if there is no trac or unused bandwidth for a priority group, the bandwidth allocated to the group
is distributed to the other priority groups according to the bandwidth percentage allocated to each group.
However, when three priority groups with dierent bandwidth allocations are used on an interface:
• If priority group 3 has free bandwidth, it is distributed as follows: 20% of the free bandwidth to priority
group 1 and 30% of the free bandwidth to priority group 2.
• If priority group 1 or 2 has free bandwidth, (20 + 30)% of the free bandwidth is distributed to priority
group 3. Priority groups 1 and 2 retain whatever free bandwidth remains up to the (20+ 30)%.
Strict-priority
groups:
If two priority groups have strict-priority scheduling, trac assigned from the priority group with the higher
priority-queue number is scheduled rst. However, when three priority groups are used and two groups have
strict-priority scheduling (such as groups 1 and 3 in the example), the strict priority group whose trac is
mapped to one queue takes precedence over the strict priority group whose trac is mapped to two
queues.
Therefore, in this example, scheduling trac to priority group 1 (mapped to one strict-priority queue) takes precedence over
scheduling trac to priority group 3 (mapped to two strict-priority queues).
Conguring DCB Maps and its Attributes
This topic contains the following sections that describe how to congure a DCB map, apply the congured DCB map to a port,
congure PFC without a DCB map, and congure lossless queues.
DCB Map: Conguration Procedure
A DCB map consists of PFC and ETS parameters. By default, PFC is not enabled on any 802.1p priority and ETS allocates equal
bandwidth to each priority. To congure user-dened PFC and ETS settings, you must create a DCB map.
Step
Task Command Command Mode
1
Enter global conguration mode to create a DCB map or
edit PFC and ETS settings.
dcb-map name
CONFIGURATION
2
Congure the PFC setting (on or o) and the ETS
bandwidth percentage allocated to trac in each priority
group, or whether the priority group trac should be
handled with strict priority scheduling. You can enable PFC
on a maximum of two priority queues on an interface.
Enabling PFC for dot1p priorities makes the corresponding
port queue lossless. The sum of all allocated bandwidth
percentages in all groups in the DCB map must be 100%.
Strict-priority trac is serviced rst. Afterwards,
bandwidth allocated to other priority groups is made
available and allocated according to the specied
priority-group
group_num {bandwidth
percentage | strict-priority} pfc
{on | o}
DCB MAP
Data Center Bridging (DCB)
245