231
Switch(Config)#mls qos aggregate-policer agg1 20000 2000 exceed-action drop
8.3.8 mls qos trust
Command:mls qos trust [cos [pass-through-dscp]|dscp [pass-through-cos]|
ip-precedence [pass-through-cos] |port priority <cos>]
[no] mls qos trust
Function:
Configures port trust; the “
no mls qos trust
” command disables the current
trust status of the port.
Parameters:
cos
configures the port to trust CoS value;
cos pass-through-dscp
configures the port to trust CoS value but does not change packet DSCP value;
dscp
configures the port to trust DSCP value;
dscp pass-through-cos
configures the port to
trust DSCP value, but does not change packet CoS value;
ip-precedence
configures the
port to trust IP precedence;
ip-precedence pass-through-cos
configures the port to
trust IP precedence, but does not change packet CoS value.
port priority <cos>
assigns a priority to the physical port,
cos
is the priority to be
assigned. Priority of all incoming packets through the port will be set to this cos value.
This is irrelevant to the priority of the packet itself, no modification is done to the packets.
Default:
No trust.
Command mode:
Interface Mode
Usage Guide:
For packets with both CoS value and DSCP value, keyword
pass-through
should be used to protect the value if the value should not be changed
after classification.
Example:
Configuring Ethernet port 0/0/1 to trust CoS value, i.e., classifying the packets
according to CoS value, DSCP value should not be changed.
Switch(Config)#interface Ethernet 0/0/1
Switch(Config-Ethernet0/0/1)#mls qos trust cos pass-through-dscp
8.3.9 mls qos dscp-mutation
Command:mls qos dscp-mutation <dscp-mutation-name>
no mls qos dscp-mutation <dscp-mutation-name>
Function:
Applies DSCP mutation mapping to the port; the “
no mls qos dscp-mutation
<dscp-mutation-name>
“ command restores the DSCP mutation mapping default.
Parameters: <dscp-mutation-name>
is the name of DSCP mutation mapping.
Default:
There is no policy by default.
Command mode:
Interface Mode
Usage Guide
: For configuration of DSCP mutation mapping on the port to take effect, the