HP 6125G HP 6125G & 6125G/XG Blade Switches ACL and QoS Configuration - Page 41
Configuring traffic policing, Configuration restrictions and guidelines, Configuration procedure
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 41 highlights
The line rate of a physical interface specifies the maximum rate for forwarding packets (including critical packets). Line rate also uses token buckets for traffic control. With line rate configured on an interface, all packets to be sent through the interface are handled by the token bucket at line rate. If enough tokens are in the token bucket, packets can be forwarded. Otherwise, packets are put into QoS queues for congestion management. In this way, the traffic passing the physical interface is controlled. Figure 12 Line rate implementation The token bucket mechanism limits traffic rate when accommodating bursts. It allows bursty traffic to be transmitted if enough tokens are available. If tokens are scarce, packets cannot be transmitted until efficient tokens are generated in the token bucket. It restricts the traffic rate to the rate for generating tokens. Line rate can only limit traffic rate on a physical interface, and traffic policing can limit the rate of a flow on an interface. To limit the rate of all the packets on interfaces, using line rate is easier. Configuring traffic policing Configuration restrictions and guidelines In a traffic behavior, do not configure traffic policing with any priority marking action (including local precedence, drop precedence, 802.1p priority, DSCP value, and IP precedence marking actions) in the same traffic behavior. Otherwise, you will fail to apply the QoS policy successfully. Configuration procedure To configure traffic policing: Step 1. Enter system view. 2. Create a class and enter class view. 3. Configure match criteria. Command Remarks system-view N/A traffic classifier tcl-name [ operator { and | or } ] N/A if-match match-criteria N/A 35