Brocade BigIron RX Series Configuration Guide User Manual
Page 594
516
BigIron RX Series Configuration Guide
53-1002484-04
Configuring rate limiting policies
19
BigIron RX(config)# interface ethernet 1/3
BigIron RX(config-if-e1000-1/3)# rate-limit in vlan 10 500000000 750000000
Average rate is adjusted to 499321856 bits per second
BigIron RX(config-if-e1000-1/3)# rate-limit in vlan 20 100000000 600000000
Average rate is adjusted to 97523712 bits per second
The commands configure two rate limiting policies that limit the requested rate of inbound traffic
on port 1/3. The first policy request to limit packets with VLAN tag 10 to an rate of 500 Mbps with a
maximum burst size of 750 Mbits on the port. The second policy requests to limit packets with
VLAN tag 20 to an rate of 100 Mbps with a maximum burst size of 600 Mbits on the port. Tagged
packets belonging to VLANs other than 10 and 20 and untagged packets are not subject to rate
limiting on port 1/3.
Syntax: [no] rate-limit input vlan <vlan-number> <requested-rate> <maximum-burst>
The vlan <vlan-number> parameter species the VLAN ID to which the policy applies. Refer to
“Configuration considerations”
on page 513 to determine the number of rate limiting policies that
can be configured on a device.
For information on the other parameters, refer to
“Configuring a port-based rate limiting policy”
Configuring a VLAN-group-based rate limiting policy
A rate limiting policy can be applied to a VLAN group. VLANs that are members of a VLAN group
share the specified bandwidth defined in the rate limiting policy applied to that group.
To configure a rate limiting policy for a VLAN group, do the following.
1. Define the VLANs that you want to place in a rate limiting VLAN group.
2. Define a rate limiting VLAN group (it is specific to the rate limiting feature) and assign VLANs to
it. To define a rate limiting VLAN group, use the rl-vlan-group command at the CONFIG level. To
assign VLANs to the group, use the vlan command at the VLAN group rate limiting configuration
level.
For example, enter the following.
BigIron RX(config)# rl-vlan-group 10
BigIron RX(config-rl-vlan-group-10)# vlan 3 5 to 7
BigIron RX(config-rl-vlan-group-10)# exit
The commands assign VLANs 3, 5, 6, and 7 to rate limiting VLAN group 10.
Syntax: [no]rl-vlan-group <vlan-group-number>
Syntax: [no]vlan <vlan-number> [to <vlan-number>]
The rl-vlan-group command defines a rate limiting VLAN group and takes you to the VLAN group
rate limiting configuration level.
<vlan-group-number> specifies the VLAN group that you want to create.
The vlan command assigns VLANs to the rate limiting VLAN group. Possible values are
individual VLAN IDs or a range of VLAN IDs.
3. Create a rate limiting policy for the VLAN group and apply it to the interface. Enter the
command such as the following at the interface level.
BigIron RX(config-if-e1000-1/4)# rate-limit in group 10 500000000 750000000