Quick Reference Guide

PowerConnect B-Series TI24X Configuration Guide 437
53-1002269-02
Viewing traffic policies
17
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.
PowerConnect(config)# clear access-list accounting traffic-policy CountOne
PowerConnect(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 72 defines the output.
Syntax: show traffic-policy [<TPD name>]
To display all traffic policies, enter the show traffic-policy command without entering a TPD name.
TABLE 72 Traffic policy information
This line... Displays...
Traffic Policy The name of the traffic policy.
Metering Shows whether or not rate limiting was configured as part of the traffic policy:
Enabled – The traffic policy includes a rate limiting configuration.
Disabled – The traffic policy does not include a rate limiting configuration
Mode If rate limiting is enabled, this field shows the type of metering enabled on the port:
Fixed Rate-Limiting
Adaptive Rate-Limiting
cir The committed information rate, in kbps, for the adaptive rate-limiting policy.
cbs The committed burst size, in bytes per second, for the adaptive rate-limiting policy.
pir The peak information rate, in kbps, for the adaptive rate-limiting policy.
pbs The peak burst size, in bytes per second, for the adaptive rate-limiting policy.
PowerConnect# show traffic-policy t_voip
Traffic Policy - t_voip:
Metering Enabled, Parameters:
Mode: Adaptive Rate-Limiting
cir: 100 kbps, cbs: 2000 bytes, pir: 200 kbps, pbs: 4000
bytes
Counting Not Enabled
Number of References/Bindings:1