Yamaha 10G SWR2310-28GT/18GT/10G Command Reference - Page 261
Set aggregate policer twin rate
View all Yamaha 10G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 261 highlights
SWR2310(config-agg-policer)#remark-map yellow ip-dscp 10 SWR2310(config-agg-policer)#exit Command Reference | Traffic control | 261 9.2.31 Set aggregate policer (twin rate) [Syntax] police twin-rate CIR PIR CBS PBS yellow-action action red-action action no police [Keyword] twin-rate : Use twin rate policers [Parameter] CIR : Traffic rate (kbps) PIR : Peak traffic rate (kbps). A value less than CIR cannot be specified. CBS : Burst size of conformant token bucket (kbyte) PBS : Burst size of peak token bucket (kbyte) action : Operation for packets categorized by bandwidth class transmit drop remark Setting value Operation Forward Discard Remarking (CoS/TOS/DSCP) [Input mode] aggregate policer mode [Description] Specifies a twin rate policer as an aggregate policer. If this is executed with the "no" syntax, metering/policing/remarking processing is deleted. Metering on the SWR2310 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 (aggregate policer 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. [Note] In order to execute this command, QoS must be enabled. Metering cannot be performed on the following logical interfaces. A policy map that includes metering (policer) settings (police-type commands) must not be applied. • Logical interfaces that are grouped across member switches constituting a stack [Example] Create an aggregate policer "AGP-01". • Executing metering by TrTCM with CIR:48kbps, PIR:96kbps, CBS:12kbyte, and EBS:12kbyte • Yellow: rewrite DSCP value to 10, Red: discard [Aggregate policer creating] SWR2310(config)#aggregate-police AGP-01 SWR2310(config-agg-policer)#police twin-rate 48 96 12 12 yellow-action remark red-