226
Interface Mode
mls qos trust [cos
[pass-through-dscp]|dscp
[pass-through-cos]|ip-precedence
[pass-through cos]|port priority <cos>]
no mls qos trust
Configure port trust; the “
no mls qos
trust
” command disables the current
trust status of the port.
mls qos cos {<default-cos> }
no mls qos cos
Configure the default CoS value of the
port; the “
no mls qos cos
” command
restores the default setting.
service-policy {input <policy-map-name> |
output <policy-map-name>}
no service-policy {input
<policy-map-name>
| output
<policy-map-name>}
Apply a policy map to the specified
port; the “
no service-policy {input
<policy-map-name>
| output
<policy-map-name>}
” command
deletes the specified policy map
applied to the port. Egress policy map
is not supported yet.
mls qos dscp-mutation
<dscp-mutation-name>
no mls qos dscp-mutation
<dscp-mutation-name>
Apply DSCP mutation mapping to the
port; the “
no mls qos dscp-mutation
<dscp-mutation-name>
” command
restores the DSCP mutation mapping
default.
5. Configure queue out method and weight
Command Explanation
Interface Mode
queue bandwidth <weight1 weight2
weight3 weight4 >
no queue bandwidth
Set the WRR weight for specified
egress queue; the “
no queue
bandwidth
” command restores the
default setting.
queue mode strict
no queue mode strict
Configure queue out method to pq
method; the “
no queue mode strict
”
command restores the default WRR
queue out method.
Global Mode
wrr-queue cos-map <queue-id> <cos1 ...
cos8>
no wrr-queue cos-map
Set CoS value mapping to specified
egress queue; the “
no wrr-queue
cos-map
” command restores the
default setting.
6. Configure QoS mapping