Yamaha 10G SWR2310-28GT/18GT/10G Command Reference - Page 257
Set individual policers twin rate
View all Yamaha 10G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 257 highlights
SWR2310(config)#interface port1.1 SWR2310(config-if)#service-policy input policy1 Command Reference | Traffic control | 257 9.2.27 Set individual policers (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 PIR CBS PBS action : Traffic rate (kbps) : Peak traffic rate (kbps). A value less than CIR cannot be specified. : Burst size of conformant token bucket (kbyte) : Burst size of peak token bucket (kbyte) : Operation for packets categorized by bandwidth class transmit drop remark Setting value Operation Forward Discard Remarking (CoS/TOS/DSCP) [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 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 (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. 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] 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