Clearing acl and rate limit counters, Viewing traffic policies – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 973

Advertising
background image

Brocade TurboIron 24X Series Configuration Guide

939

53-1003053-01

Viewing traffic policies

Syntax: show statistics traffic-policy [<TPD name>]

Table 144

explains the output of the show access-list accounting and show statistics traffic-policy

commands.

Clearing ACL and rate limit counters

The device keeps a running tally of the number of packets and the number of bytes per packet that
are filtered by ACL statements and rate limiting traffic policies. You can clear these accumulated
counters, essentially resetting them to zero. To do so, use either the clear access-list account
traffic-policy or the clear statistics traffic-policy command.

To clear the counters for ACL counting and rate limit counting, enter commands such as the
following.

TurboIron(config)#clear access-list accounting traffic-policy CountOne

TurboIron(config)#clear statistics traffic-policy CountTwo

Syntax: clear access-list accounting traffic-policy <TPD name>

or

Syntax: clear statistics traffic-policy <TPD name>

where <TPD name> is the name of the traffic policy definition for which you want to clear traffic
policy counters.

Viewing traffic policies

To view traffic policies that are currently defined on the device, enter the show traffic-policy
command. An example display output is shown below.

Table 145

defines the output.

TABLE 144

ACL and rate limit counting statistics

This line...

Displays...

Traffic Policy

The name of the traffic policy.

General Counters

Port Region #

The port region to which the active traffic policy applies.

Byte Count

The number of bytes that were filtered (matched ACL clauses).

Packet Count

The number of packets that were filtered (matched ACL clauses).

Rate Limiting Counters

Port Region#

The port region to which the active traffic policy applies.

Green Conformance

The number of bytes that did not exceed the CIR packet rate.

Yellow Conformance

The number of bytes that exceeded the CIR packet rate.

Red Conformance

The number of bytes that exceeded the PIR packet rate.

Advertising