User's Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
228
Port Configuration Mode
mls qos queue algorithm {sp | wrr | wdrr}
no mls qos queue algorithm
Set queue management algorithm, the
default queue management algorithm is
wrr.
mls qos queue wrr weight <weight0..weigh
t7>
no mls qos queue wrr weight
Set queue weight based a port, the
default queue weight is 1 2 3 4 5 6 7 8.
mls qos queue wdrr weight <weight0..weig
ht7>
no mls qos queue wdrr weight
Set queue weight based a port, the
default queue weight is 10 20 40 80 160
320 640 1280.
mls qos queue <queue-id> bandwidth <mi
nimum-bandwidth> <maximum-bandwidth>
no mls qos queue <queue-id> bandwidth
Set bandwidth guarantee based a port.
5. Configure QoS mapping
Command
Explanation
Global Mode
mls qos map (cos-dp <dp1dp8> |
dscp-dscp <in-dscp list> to <out-dscp> |
dscp-intp <in-dscp list> to <intp> | dscp-dp
<in-dscp list> to <dp> )
no mls qos map (cos-dp | dscp-dscp |
dscp-intp | dscp-dp)
mls qos map intp-dscp <dscp1..dscp8>
no mls qos map intp-dscp
Set the priority mapping for QoS, the no
command restores the default mapping
value.
6. Clear accounting data of the specific ports or VLANs
Command
Explanation
Admin Mode
clear mls qos statistics [interface <interface-
name> | vlan <vlan-id>]
Clear accounting data of the specified
ports or VLAN Policy Map. If there are
no parameters, clear accounting data
of all policy map.
7. Show configuration of QoS
Command Explanation
Admin Mode