Traffic-Shape; Traffic-Statistic - Huawei Quidway S8500 Series Command Manual

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – QoS/ACL
Quidway S8500 Series Routing Switches
[Quidway-vlan4] traffic-redirect inbound ip-group 3000 next-hop 202.119.85.1
202.119.95.1 slot 2

2.1.36 traffic-shape

Syntax
traffic-shape [ queue queue-id ] max-rate burst-size
undo traffic-shape [ queue queue-id ]
View
Ethernet port view
Parameter
queue queue-id: Specifies queue ID, in the range of 0 to 7.
max-rate: Maximum traffic rate in Kbps of the port.
burst-size: Burst size in KB. Its value should be the integer of 4.
Description
Use the traffic-shape command to enable traffic shaping.
Use the undo traffic-shape command to cancel traffic shaping.
The switch supports both shaping traffic based on port (shaping all traffic at the port)
and shaping the traffic in a specified queue at the port. You can achieve the former
mode by specifying no queue ID or the latter mode by specifying queue ID.
Example
# Shape the traffic in the outbound queue 2 at the port: maximum rate 500 Kbps, burst
size 12 Kbytes.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway]interface e thernet3/1/1
[Quidway-Ethernet3/1/1] traffic-shape queue 2 500 12

2.1.37 traffic-statistic

Syntax
I. Command Format Which Only Applies IP Group ACL
traffic-statistic inbound ip-group { acl-number | acl-name } [ rule rule
[ system-index index ] ] [ tc-index index ]
undo traffic-statistic inbound ip-group { acl-number | acl-name } [ rule rule ]
Huawei Technologies Proprietary
2-44
Chapter 2 QoS Commands

Advertisement

Table of Contents
loading

Table of Contents