QoS Configuration 223
rate with the capacity of downstream devices. Its major difference from traffic
policing is: Traffic shaping buffers packets at over-threshold rates to make them
sent at average rates, while traffic policing drops excessive packets. Therefore,
traffic shaping may increase transmission delay, but not for traffic policing.
Perform the following configurations in Ethernet interface view.
The switch supports traffic shaping based on the port, that is, all traffic on the port
is shaped. It also supports traffic shaping for a specific queue. You can choose to
achieve one of them by selecting different parameters in the command.
See the Switch 8800 Command Reference Guide for details of the commands.
Configuring Traffic Priority
This configuration re-labels priority value for the packets that match the ACL. The
switch may allocate new service parameters by searching the mapping tables
according to the DSCP values. You can customize a set of service parameters.
Perform the following configurations in Ethernet interface or VLAN view.
Table 16 Configuring Traffic Shaping
Operation Command
Configure traffic shaping traffic-shape [ queue queue-id ] max-rate
burst-size
Remove traffic shaping setting undo traffic-shape [ queue queue-id ]
Table 17 Configuring Traffic Priority
Operation Command
Configure traffic priority which only
applies IP group ACL
traffic-priority inbound ip-group { acl-number |
acl-name } [ rule rule [ system-index index ] ] {
auto | remark-policed-service { trust-dscp | dscp
dscp-value | untrusted dscp dscp-value cos
cos-value local-precedence local-precedence
drop-priority drop-level } }
Remove traffic priority setting which only
applies IP group ACL
undo traffic-priority inbound ip-group {
acl-number | acl-name } [ rule rule ]
Configure traffic priority which applies IP
group ACL and link group ACL at same
time
traffic-priority inbound ip-group { acl-number |
acl-name } { rule rule link-group { acl-number |
acl-name } [ rule rule [ system-index index ] ] |
link-group { acl-number | acl-name } rule rule } {
auto | remark-policed-service { trust-dscp | dscp
dscp-value | untrusted dscp dscp-value cos
cos-value local-precedence local-precedence
drop-priority drop-level } }
Remove traffic priority setting which
applies IP group ACL and link group ACL
at same time
undo traffic-priority inbound ip-group {
acl-number | acl-name } { rule rule link-group {
acl-number | acl-name } [ rule rule ] | link-group {
acl-number | acl-name } rule rule }
Configure traffic priority which only
applies link group ACL
traffic-priority inbound link-group { acl-number |
acl-name } [ rule rule [ system-index index ] ] {
auto | remark-policed-service { trust-dscp | dscp
dscp-value | untrusted dscp dscp-value cos
cos-value local-precedence local-precedence
drop-priority drop-level } }