Yamaha 10G SWR2310-28GT/18GT/10G Command Reference - Page 258
Set remarking of individual policers
View all Yamaha 10G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 258 highlights
258 | Command Reference | Traffic control • Green: forward, Yellow: rewrite DSCP value to 10, Red: discard [Traffic class definition] SWR2310(config)#ip-access-list 1 permit 10.1.0.0 0.0.255.255 SWR2310(config)#class-map class1 SWR2310(config-cmap)#match access-group 1 SWR2310(config-cmap)#exit [Policy settings] SWR2310(config)#policy-map policy1 SWR2310(config-pmap)#class class1 SWR2310(config-pmap-c)#police twin-rate 48 96 12 12 yellow-action remark red-action drop SWR2310(config-pmap-c)#remark-map yellow ip-dscp 10 SWR2310(config-pmap-c)#exit SWR2310(config-pmap)#exit SWR2310(config)#interface port1.1 SWR2310(config-if)#service-policy input policy1 9.2.28 Set remarking of individual policers [Syntax] remark-map color type value no remark-map [Parameter] color : Bandwidth class to remark yellow red Setting value Description Make remarking settings for bandwidth class Yellow Make remarking settings for bandwidth class Red type : Type of remarking cos ip-precedence ip-dscp Setting value Description CoS remarking TOS precedence remarking DSCP remarking value : CoS or TOS precedence remarking value : DSCP remarking value [Input mode] policy map class mode [Description] Specifies remarking operations for bandwidth classes Yellow and Red that were classified by individual policers. In addition, reassign the egress queue according to the egress queue ID table that corresponds to the trust mode. For remarking, you can select either CoS value, TOS precedence, or DSCP value. If this is executed with the "no" syntax, the remarking setting is deleted. In order to perform remarking, you must specify this command and additionally use the police command (policy map class mode)) to specify "remark" as the action for the corresponding bandwidth class. [Note] In order to execute this command, QoS must be enabled. Remarking can be used in conjunction with pre-marking and specifying the egress queue.