
QoS Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
40.39
police single-rate exceed-action
Configures a single-rate policer for a class-map.
Syntax
police single-rate <
cir
> <
cbs
> <
ebs
> exceed-action [drop|policed-
dscptransmit]
Mode
Policy Map Class Mode
Usage
A policer can be used to meter the traffic classified by the class-map and as a result will be given
one of three bandwidth classes. These are green (conforming), yellow (partially-conforming),
and red (non-conforming). A single-rate policer is based on three values. These are the average
rate, minimum burst and maximum burst.
Using an exceed-action of ’drop’ means that any packets classed as red will be discarded.
This command will only take effect for class maps / policy maps for which the
police single-rate
exceed-action command on page 40.39
or the
police twin-rate exceed-action command on
page 40.41
are set to
policed-dscp-transmit
. The packet will then be remarked with the values
configured in the policed-dscp map. The index into this map is determined by the DSCP in the
packet. If a DSCP index is to be forced regardless of the packet DSCP the ’set dscp’ command
can be used to achieve this. If no DSCP is present in the packet an index of 0 will be used.
When using an exceed-action of policed-dscp-transmit,
Example
To configure a single rate meter measuring traffic of 10 Mbps that drops any traffic bursting
over 1024 bytes of this use the command:
Parameter
Description
police
Specify a policer for the classified traffic.
single-rate
Single rate meter (one rate and two burst sizes).
<
cir
>
Specify the Committed Information Rate (CIR) (1-16000000 kbps).
<
cbs
>
Specify the Committed Burst Size (CBS) (0-16777216 bytes).
<
ebs
>
Specify a Excess Burst Size (EBS) (0-16777216 bytes).
exceed-action Specify the action if rate is exceeded.
drop
Drop the packet.
policed-dscp-
transmit
Change packet per policed-dscp map and send it.
Color
Definition
green
The traffic rate is less than the average rate and minimum burst.
yellow
The traffic rate is between the minimum burst and the maximum burst.
red
The traffic rate exceeds the average rate and the maximum burst.
awplus#
config
awplus(config)#
policy-map name
awplus(config-pmap)#
class classname
awplus(config-pmap-c)#
police single-rate 10000 512 1024 exceed-
action drop
Содержание AlliedWare Plus 5.2.1
Страница 8: ...65 Stacking Commands Introduction 65 2 Appendix l Command List ...
Страница 10: ......
Страница 218: ......
Страница 376: ......
Страница 726: ......
Страница 806: ......
Страница 1006: ......
Страница 1056: ......
Страница 1235: ...Stacking Reference This part includes the following chapters Chapter 64 Stacking Introduction Chapter 65 Stacking Commands ...
Страница 1236: ......