Brocade Communications Systems 6650 Switch User Manual


 
276 Brocade ICX 6650 Security Configuration Guide
53-1002601-01
Rate shaping
Rate shaping
Outbound Rate Shaping is a port-level feature for shaping the rate and controlling the bandwidth of
outbound traffic on a port. This feature smooths out excess and bursty traffic to the configured
maximum limit before it is sent out on a port. Packets are stored in available buffers and then
forwarded at a rate no greater than the configured limit. This process provides for better control
over the inbound traffic of neighboring devices.
The device has one global rate shaper for a port and one rate shaper for each port priority queue.
Rate shaping is done on a single-token basis, where each token is defined to be 1 packet.
Configuration notes for rate shaping
The following rules apply when configuring outbound rate shapers:
Outbound rate shapers can be configured only on physical ports, not on virtual or loopback
ports.
For trunk ports, the rate shaper must be configured on individual ports of a trunk using the
config-trunk-ind command (trunk configuration level); you cannot configure a rate shaper for a
trunk.
When outbound rate shaping is enabled on a port on an IPv4 device, the port QoS queuing
method (qos mechanism) will be strict mode. This applies to IPv4 devices only. On IPv6
devices, the QoS mechanism is whatever method is configured on the port, even when
outbound rate shaping is enabled.
You can configure a rate shaper for a port and for the individual priority queues of that port.
However, if a port rate shaper is configured, that value overrides the rate shaper value of a
priority queue if the priority queue rate shaper is greater than the rate shaper for the port.
The configured rate shaper values are rounded up to the nearest multiples of minimum values
supported on the platform. Table 67 shows the minimum and the maximum values for output rate
shaping on Brocade ICX 6650.
Configuring outbound rate shaping for a port
To configure the maximum rate at which outbound traffic is sent out on a port, enter the following
commands.
Brocade(config)#interface ethernet 1/1/2
Brocade(config-if-e10000-1/1/2)#rate-limit output shaping 1300
Syntax: [no] rate-limit output shaping value
TABLE 67 Output rate shaping on Brocade ICX 6650 devices
Device Module Minimum Maximum
Brocade ICX 6650 40 Gbps ports 20 pkts/sec 80000000 pkts/sec
Brocade ICX 6650 10 Gbps ports 20 pkts/sec 20000000 pkts/sec