XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
227
passing policy. In the print information,
in-profile means green and out-profile
means red. In dual bucket mode, there
are three colors of the packets. In the
print information, in-profile means green
and out-profile means red and yellow.
Policy class map configuration mode
drop
no drop
transmit
no transmit
Drop or transmit
data package 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 dscp
no mls qos trust 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.
service-policy input <policy-map-name>
no service-policy input {<policy-map-nam
e>}
Apply a policy map to the specified port;
the no command deletes the specified
policy map applied to the port. Egress
policy map is not supported yet or
deletes all the policy maps applied on
the ingress direction of the port
Global Mode
service-policy input <policy-map-name> vla
n <vlan-list>
no service-policy input {<policy-map-nam
e>} vlan <vlan-list>
Apply a policy map to the specified
VLAN interface; the no command
deletes the specified policy map applied
to the VLAN interface or deletes all the
policy maps applied in the ingress
direction of the vlan interface .
4. Configure queue management algorithm and weight
Command
Explanation