Configuring port-based rate shaping, Configuring port and priority-based rate shaping – Brocade Multi-Service IronWare QoS and Traffic Management Configuration Guide (Supporting R05.6.00) User Manual
Page 144

130
Multi-Service IronWare QoS and Traffic Management Configuration Guide
53-1003037-02
Egress port and priority based rate shaping
4
Configuring port-based rate shaping
When setting rate shaping for a port, you can limit the amount of bandwidth available on a port
within the limits of the port’s rated capacity. Within that capacity, you can set the bandwidth at
increments within the ranges described in
NOTE
The egress rate shaping burst size for a port-based shaper is 10000 bytes.
These limits provide a minimum and maximum rate that the port can be set to. They also provide
the increments at which the port capacity can be set. In operation, you can set any number
between the minimum and maximum values. The device will automatically round-up the value to
the next higher increment.
For example, if you set the rate of a 10G port to 2,000,000,000, the actual rate would be
2,002,083,173. This is because it is the next highest increment above 2,000,000,000.
To set a 10 Gbps port to the incremental port capacity over 2 Gbps, use the following command.
Brocade(config)# interface ethernet 2/2
Brocade(config-if-e10000-2/2)# qos shaper 2000000000
Syntax: [no] qos shaper rate
The rate variable sets the rate you want to set for the port within the limits available as described in
. The rate is set in bps.
NOTE
When the rate shaping of a port is enabled, you can expect a deviation of +3% or -3% actual port
rate from the configured port rate. The deviation may vary between different types of TM devices
within the ranges mentioned in
. In addition, if you configure port shaper on 24x10, 2x100,
and 8x10 modules for 8-400 MB size, then the result will not be deterministic and priorities may not
be guaranteed for the bandwidth configured. The shaper configuration less than 8 MB is not
supported.
Configuring port and priority-based rate shaping
When setting rate shaping for a priority queue, you can limit the amount of bandwidth available for
a specified priority within the limits of the capacity of the port that the priority is configured on. You
can set the limit for the priority to any value from one to the port’s maximum rating and the device
will automatically round-up the value to the next increment supported. This will be a slightly higher
value than what you specify with the command. For example, if you set the rate for priority 2 on a
10G port to 2,000,000,100, the actual rate would be slightly higher.
TABLE 32
Port-based rate shaping interval table
Range
Increment supported within the range
0 - 10M
8,333
10M - < 100M
20,833
100 M - < 1G
208,333
1G - 10G
2,083,333