
QoS Configuration
201
the policy class map mode, add
statistic function to the traffic of the
policy class map. In single bucket
mode, the messages can only red or
green when passing policy. In the print
information,
there
are
two
colors(green and red) of the packets.
In dual bucket mode, there are three
colors(green, red and yellow) of the
packets.
Policy class map configuration mode
drop
no drop
transmit
no transmit
Drop or transmit the traffic that match
the class, the no command cancels
the assigned action.
3. Apply QoS to port or VLAN interface
Command
Explanation
Interface Configuration Mode
mls qos trust {cos | dscp}
no mls qos trust {cos | dscp}
Configure port trust; the no 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 command restores the
default setting.
mls qos internal-priority
{
<default-intp>
}
no mls qos internal-priority
Configure the default internal priority
value of the port, the no command
restores the default setting.
service-policy input
<
policy-map-name>
no
service-policy
input
<
policy-map-name>
Apply a policy map on the port, the no
command deletes the specified policy
map applied to the port. At present,
the egress does not support the
egress policy map.
pass-through-cos
no pass-through-cos
Forbid the packet to rewrite L2 CoS
value at the egress, the no command
allows the packet to rewrite L2 CoS
value.