D-Link DGS-3130 Emulator - Page 661
police cir
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 661 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide 63-15 police cir This command is used to configure traffic policing for two rates, the CIR and the PIR. Use the no form of this command to remove two-rate traffic policing. police cir CIR [bc CONFORM-BURST] pir PIR [be PEAK-BURST] [conform-action ACTION] [exceedaction ACTION [violate-action ACTION]] [color-aware] no police Parameters CIR PIR CONFORM-BURST PEAK-BURST confirm-action exceed-action violate-action ACTION color-aware Specifies the committed information rate in kilobits per second. The committed packet rate is the first token bucket for the two-rate metering. Specifies the peak information rate in kilobits per second. The peak information rate is the second token bucket for the two-rate metering. (Optional) Specifies the burst size for the first token bucket in kilobytes. (Optional) Specifies the burst size for the second token bucket in kilobytes. (Optional) Specifies the action to take on green color packets. If not specified, the default action is transmit. (Optional) Specifies the action to take for those packets that conform to PIR but not to CIR. These packets are referred to as yellow color traffic. If not specified, the default action is drop. (Optional) Specifies the action to take for those packets that did not conform to both CIR and PIR. These packets are referred to as red color traffic. If not specified, the default action is the same as exceed-action. (Optional) Specifies the action to be taken. The actions can be: drop - Packets will be dropped. set-dscp-transmit VALUE - Sets the IP differentiated services code point (DSCP) value and transmits the packet with the new IP DSCP value. set-1p-transmit - Sets the 802.1p value and transmits the packet with the new value. transmit - Transmits the packet. The packet is not altered. (Optional) Specifies the option for a two rate three color policer. When coloraware is not specified, the policer works in the color blind mode. When coloraware is specified, the policer works in the color aware mode. Default None. Command Mode Policy-map Class Configuration Mode. Command Default Level Level: 12. Usage Guideline As a packet arrives at a port, the packet will be initialized with a color. The receiving port either trusts DSCP or CoS. The initial color of the packet is mapped from the DSCP in the incoming packet if the receiving port trusts DSCP. The initial color of the packet is mapped from the CoS in the incoming packet if the receiving port trusts CoS. Both single rate three colors policers and two rate three color policers can work in color aware mode. In color-blind mode, the final color of the packet is determined by the policer metering result alone. In color-aware mode, the final 657