Brocade Multi-Service IronWare QoS and Traffic Management Configuration Guide (Supporting R05.6.00) User Manual
Page 200

186
Multi-Service IronWare QoS and Traffic Management Configuration Guide
53-1003037-02
Hierarchical QoS (HQoS) for 8x10G modules
5
The shaper-rate is an optional parameter. The shaping rate is set with the minimum of 1Mbps and
a maximum of 10Gbps. If no shaper-rate specified, the traffic will not be subject to shaping.
The shaper-burst-size is an optional parameter. The shaper burst size is set with the minimum of 2
Kbytes and a maximum of 256 Kbytes. The default value for the shaper burst size is set to 10
Kbytes.
Binding a policy to an interface and applying a mapping condition
The hqos service-policy command is used to apply an HQoS scheduler policy to an egress physical
interface or port. An 8 input Strict Priority (SP) scheduler will be created on the egress port if no
other match condition is specified through the hqos-map command.
NOTE
This command will be valid only for interfaces on NI-MLX-10Gx8-M and NI-MLX-10Gx8-X modules.
An error will be seen for interfaces on the NI-MLX-10Gx8-D module.
The hqos-map command is used to map customer endpoints and profiles to the HQoS scheduler
flows. The mapping of customer endpoints and profiles is specified through the match criteria. The
hqos- map command allows for changing the shaping rate of a scheduler. When configuring the
interface, consider the following:
•
Within the port configuration, hqos-map keyword must be present after service-policy
output level-0-scheduler-name
•
Only level 0 policies can be applied to an interface.
•
If an HQoS policy is applied to an interface, the following changes to the scheduling tree
structure is not supported.
•
Modifying HQoS policies (scheduler or queue)
•
Adding or removing a scheduler or queue policy that is referenced in the bound policy
The following is an example of how to configure the HQoS policy mapping for the VLAN HQoS model
defined in
Map the vlan-business policy to the Ethernet port 1/1 by using commands such as the following.
Brocade(config)# interface ethernet 1/1
Brocade(config-if-e10000-1/1)# hqos service-policy output vlan-business
Syntax: interface ethernet port /slot
Syntax: [no] hqos service-policy output level-0-scheduler-name
The service-policy output option defines the level-0-scheduler-name and can be up to 128
characters.
Make the necessary VLAN mappings and settings to the shaper rates by using commands such as
the following.
Brocade(config-if-e10000-1/1)# hqos-map LogicalPort1.CustomerGrp1.Customer1 match
vlan 100
Brocade(config-if-e10000-1/1)# hqos-map LogicalPort1.CustomerGrp1.Customer2 match
vlan 200
Brocade(config-if-e10000-1/1)# hqos-map LogicalPort1.CustomerGrp2.Customer1 match
vlan 300
Brocade(config-if-e10000-1/1)#hqos-map LogicalPort1.CustomerGrp2.Customer2 match
vlan 400