Yamaha L2 Command Reference Manual page 244

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

244 | Command Reference | Traffic control
[Keyword]
twin-rate
[Parameter]
CIR
PIR
CBS
PBS
action
[Input mode]
policy map class mode
[Description]
Specifies individual policers (twin rate) for the categorized traffic classes.
If the setting was already made by the police command, its content is changed.
Metering on the SWR2311P is implemented as a single-rate three-color marker (RFC2697), and the following processing can
be specified for the categorized bandwidth classes.
Green : Only forward (cannot be specified)
Yellow : Choose forward, discard, or remark
Red : Choose discard or remark
However, remarking can be specified for either Yellow or Red, not both.
Detailed remarking settings are made using the remark-map command (policy map class mode). Regardless of whether action
is set to "remark," remarking is disabled if there are no detailed remarking settings for that bandwidth class. In this case, the
default settings (Yellow: forward, Red: discard) are applied.
If this is executed with the "no" syntax, metering/policing/remarking processing is deleted.
This cannot be used in conjunction with the aggregate policer (police-aggregate command).
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Make the following settings for received frames of LAN port #1
Permit traffic from the 10.1.0.0 network
Categorize bandwidth classes as CIR:48kbps, PIR:96kbps, CBS:12kbyte, and PBS:12kbyte
Green: forward, Yellow: rewrite DSCP value to 10, Red: discard
[Traffic class definition]
SWR2311P(config)#ip-access-list 1 permit 10.1.0.0 0.0.255.255
SWR2311P(config)#class-map class1
SWR2311P(config-cmap)#match access-group 1
SWR2311P(config-cmap)#exit
[Policy settings]
SWR2311P(config)#policy-map policy1
SWR2311P(config-pmap)#class class1
SWR2311P(config-pmap-c)#police twin-rate 48 96 12 12 yellow-action remark red-action
drop
:
Use twin rate policers
:
<1 - 102300000>
Traffic rate (kbps)
:
<1 - 102300000>
Peak traffic rate (kbps). A value less than CIR cannot be specified.
:
<11 - 2097120>
Burst size of conformant token bucket (kbyte)
:
<11 - 2097120>
Burst size of peak token bucket (kbyte)
:
Operation for packets categorized by bandwidth class
Setting value
transmit
drop
remark
Operation
Forward
Discard
Remarking (CoS/TOS/DSCP)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents