Set Individual Policers (Single Rate) - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

242 | Command Reference | Traffic control
[Parameter]
value
[Input mode]
policy map class mode
[Description]
Changes the DSCP value of the classified traffic class to the specified DSCP value. In addition, reassign the egress queue
according to the egress queue ID table that corresponds to the trust mode.
If this is executed with the "no" syntax, pre-marking processing of the DSCP value corresponding to the traffic class is
removed.
[Note]
In order to execute this command, QoS must be enabled.
Pre-marking cannot be used in conjunction with the set egress queue function.
Up to four values may be used for pre-marking/remarking to a DSCP value not recommended in the RFC. The following table
shows the DSCP values that are recommended in the RFC.
PHB
default
Class Selector
Assured Forwarding
Expedited Forwarding(EF)
[Example]
Make the following settings for received frames of LAN port #1
Permit traffic from the 10.1.0.0 network
Change the classified traffic class to the DSCP value "10."
[Traffic class definition]
SWR2311P(config)#access-list 1 permit any 10.1.0.0 0.0.255.255 any
SWR2311P(config)#class-map class1
SWR2311P(config-cmap)#match access-list 1
SWR2311P(config-cmap)#exit
[Policy settings]
SWR2311P(config)#policy-map policy1
SWR2311P(config-pmap)#class class1
SWR2311P(config-pmap-c)#set ip-dscp 10
SWR2311P(config-pmap-c)#exit
SWR2311P(config-pmap)#exit
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#service-policy input policy1

9.2.26 Set individual policers (single rate)

[Syntax]
police [single-rate] CIR CBS EBS yellow-action action red-action action
no police
[Keyword]
single-rate
[Parameter]
CIR
CBS
:
<0 - 63>
DSCP value specified by pre-marking
DSCP value
0
0, 8, 16, 24, 32, 40, 48, 56
10, 12, 14, 18, 20, 22, 26, 28, 30, 34, 36,
38
46
:
Use single-rate policer
:
<1 - 102300000>
Traffic rate (kbps)
:
<11 - 2097120>
RFC
2474
2474
2597
2598

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents