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

Page 34

Advertising
background image

20

Multi-Service IronWare QoS and Traffic Management Configuration Guide

53-1003037-02

Traffic policing on the Brocade device

2

Configuring port-based traffic policing for inbound and outbound ports
Port-based traffic policing limits the rate on an individual inbound or outbound physical port to a
specified rate.

To configure port-based traffic policing policy for outbound ports, enter commands such as the
following at the interface level.

Brocade(config)# interface ethernet 1/1

Brocade(config-if-1/1)# rate-limit out 500000000 250000000

The commands configure a traffic policing policy for outbound traffic on port 1/1. The policy limits
the average rate of all outbound traffic to 500000000 bits per second (bps) with a maximum burst
size of 250000000 bits per second (bps).

To configure port based traffic policing policy through a policy map, enter a command such as the
following.

Brocade(config)# interface ethernet 1/1

Brocade(config-if-1/1)# rate-limit input policy-map map1

The commands configure a traffic policing policy for inbound traffic on port 1/1. The policy
references the policy map map1 for rate limiting policy parameters.

The complete syntax for configuring a port-based traffic policing policy is:

Syntax: [no] rate-limit [in | out] [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.

Only one inbound and one outbound port-based traffic policing policy can be applied to 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 lower 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 rate limiting 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.

Policy change remarks
When a rate-limit policy is changed an automated remark is generated. The following examples
show the remarks displayed for adding or removing a rate-limit policy.

Brocade(config-if-e1000-1/12)#no rate-limit input access-group 102 policy-map

abc2

Delete Existing Remark Profile to table 2 with used count 0

Brocade(config-if-e1000-1/12)#rate-limit input access-group 102 policy-map abc2

Add New Remark Profile to table 2 with used count 1

Advertising