beautypg.com

Attaching the scheduler to the class – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 509

background image

1. Select the policy map.

switch(config)# policy-map p1

2. Select the class.

switch(config-policymap)# class class-default

3. Specify the shaping rate for the port.

switch(config-policyclass)# port-shape 3000

Attaching the scheduler to the class

You can specify the scheduling attributes along with per TC shape rate. There are total of eight queues
on an interface. The number of DWRR queues present depends on the SP_COUNT value. For
example, if the SP_COUNT is 2, then there are two strict priority queues and six DWRR queues. This
command is allowed only for the egress direction and is mutually exclusive of the scheduler and police
commands.

Perform the following task in global configuration mode.

1. Select the policy map.

switch(config)# policy-map p1

2. Select the class.

switch(config-policymap)# class class-default

3. Specify the scheduling attributes. For complete information, refer to the Network OS Command

Reference.

switch(config-policyclass)# scheduler 3 31000 32000 33000 dwrr 20 20 20 10 10

Attaching the priority mapping table to the CEE map

The priority-mapping-table can support features provided by the Cisco Modular Quality of Service
(MQC) provisioning mode to bring partial Converged Enhanced Ethernet (CEE) map content into an
MQC class. MQC does not allow ingress and egress feature to be present in a same policy-map. By
definition, they are two different entities and should be provisioned through two separate policy-maps.
However, a CEE map provisions ingress and egress features in a single provisioning command.
Because of this conflict, only the following features are inherited from a CEE map.

• Priority-Group Table.
• Priority-Mapping Table.
• Priority Flow Control Configuration.
• Lossless Priority Remapping.
• Fabric Priority Remapping.

NOTE
In Brocade switches, the CEE map scheduler configuration is global. Unless an egress scheduling
policy is applied on an interface, the default scheduler is present.

Perform the following task in global configuration mode.

1. Select the policy map.

switch(config)# policy-map p1

2. Select the class.

switch(config-policymap)# class cee

3. Attach the policy map to the CEE map.

switch(config-policyclass)# priority-mapping-table import cee default

Attaching the scheduler to the class

Network OS Administrator’s Guide

509

53-1003225-04