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

Page 36

Advertising
background image

22

Multi-Service IronWare QoS and Traffic Management Configuration Guide

53-1003037-02

Traffic policing on the Brocade device

2

These commands configure two traffic policing policies that limit the average rate of all inbound
traffic on port 1/1 with VLAN tag 10 and all outbound traffic on port 1/2 VLAN tag 20. The first
policy limits packets with VLAN tag 10 to an average rate of 500000000 bits per second (bps) with
a maximum burst size of 33553920 bits on port 1/1. The second policy limits packets with VLAN
tag 20 to values defined in policy map map1. Tagged packets belonging to VLANs other than 10
and 20 and untagged packets are not subject to traffic policing on these ports.

Syntax: [no] rate-limit [input | output] [priority queue-num] vlan-id vlan-num [ average-rate

maximum-burst | policy-map map-name ]

The input parameter applies the policy to traffic on inbound ports.

The output parameter applies the policy to traffic on outbound ports.

The priority parameter specifies an 802.1p value in the queue-num variable that is used to identify
packets that will be rate limited by this command. This parameter is optional.

The vlan-id vlan-number parameter species the VLAN ID to which the policy applies. You can specify
up to 990 priority or 3960 non-priority VLAN-based traffic policing policies on a port.

The average-rate parameter specifies the maximum rate allowed on a port during a one-second
interval. The software automatically adjusts the number you enter to the nearest multiple of 8,144
bits per second (bps). Refer to the section

“Average rate”

on page 16 for more details. This

command is only used when configuring traffic policing directly to a port as described in

“Applying

traffic policing parameters directly to a port”

on page 16.

The maximum-burst parameter specifies the extra bits above the average-rate that traffic can have.
Refer to the section

“Maximum burst”

on page 17 for more details. This command is only used

when configuring traffic policing directly to a port as described in

“Applying traffic policing

parameters directly to a port”

on page 16.

The policy-map parameter specifies the policy map named in the policy-map variable to be used to
provide parameters for traffic policing the port and VLAN specified. This command is only used
when configuring traffic policing to a port using a policy map as described in

“Applying traffic

policing parameters using a policy map”

on page 17.

Configuring a VLAN group-based traffic policing policy
A traffic policing policy can be applied to a VLAN group. VLANs that are members of a VLAN group
share the specified bandwidth defined in the traffic policing policy applied to that group.

To configure a traffic policing policy for a VLAN group, perform the following tasks.

1. Define the VLANs that you want to place in a traffic policing VLAN group.

2. Define a rate limiting VLAN group. This VLAN group is specific to the traffic policing feature.

Enter commands such as the following.

Brocade(config)# rl-vlan-group 10

Brocade(config-vlan-rate-group)# vlan 3 5 to 7 10

The commands assign VLANs 3, 5,6, 7, and 10 to traffic policing VLAN group 10.

Syntax: [no] rl-vlan-group vlan-group-number

Syntax: [no] vlan vlan-number [to vlan-number]

The rl-vlan-group command takes you to the VLAN group traffic policing level. Enter the ID of
the VLAN group that you want to create or update by entering a value for vlan-group-number.

Use the vlan command to assign or remove VLANs to the rate limiting VLAN group. You can
enter the individual VLAN IDs or a range of VLAN IDs.

Advertising