beautypg.com

Displaying rate limiting policies, Table 7 – Brocade Multi-Service IronWare QoS and Traffic Management Configuration Guide (Supporting R05.6.00) User Manual

Page 40

background image

26

Multi-Service IronWare QoS and Traffic Management Configuration Guide

53-1003037-02

Traffic policing on the Brocade device

2

Configuring rate limiting for Copied-CPU-bound traffic

A new feature was added that allows you to limit the rate of Copied-CPU-bound packets from
applications such as sFlow, ACL logging, RPF logging, and source MAC address learning (with
known destination address). This feature can be configured as described in this section

The following command assigns a rate limit of 200,000,000 bits per second (bps) and a priority
queue of 0 to copied-CPU-bound incoming traffic on PPCR 1 though its assignment on port 3/2.

Brocade(config)# rl-cpu-copy 0 200000000 ethernet 3/2

Syntax: rl-cpu-copy priority-number limit-rate ethernet slot/port [to ethernet slot/port]

The priority-number variable specifies the CPU-bound traffic priority queue to apply the rate
limiting. This can be a value from 0 to 7.

The limit-rate variable specifies the limiting rate for the specified CPU-bound traffic priority queue.
Acceptable values are from 1 to 300000000 bits per second (bps). The default rate for all is
300,000,000 bps.

The slot/port variable specifies the port that you want to apply copied-CPU-bound rate limiting to.
You can apply the command to a range of ports using the to ethernet slot/port option. When you
assign a port, the command applies to all ports that are associated with the same packet
processor (PPCR).

Table 7

describes the ports that are associated a packet processor.

You can display the rl-cpu-copy configuration displayed previously using the following command.

Brocade# show rl-cpu-copy

Rate shaping configuration on CPU Copy priority queues

priority 0 200000000 ethernet 3/1 to 3/20

Notice that although the command was only executed for port 3/2, it applies to all the ports
attached to the same PPCR. In this case ports 3/1 to 3/20.

Syntax: show rl-cpu-copy

Displaying rate limiting policies

Use one of the following commands to view the rate limiting policies that have been configured:

show rate limit counters – Displays accounting information for rate limit usage.

show rate limit group – Displays the VLANs that are in the specified group.

show rate limit – Displays rate limiting policies implemented per interface.

show policy map – Displays rate limiting policies implemented in the configured policy maps.

You can configure a Brocade device to exclude the 20-byte per-packet Ethernet overhead from
Traffic Policing byte accounting. This can be done by configuring the vlan-counter exclude-overhead
command.

TABLE 7

Ports per packet processor

Interface module

Ports Per Packet Processor (PPCR)

PPCR1

PPCR2

4 X 10 Gbps

1 - 2

3 - 4

20 X 1 Gbps

1 - 20