274
exceed-action policed-dscp-transmit
specifies to mark down packet DSCP value
according to
policed-dscp
mapping when specified speed is exceeded.
Default:
No policy set is configured by default.
Command mode:
Global Mode
Usage Guide:
If a policy set is using by a policy map,it cannot be deleted unless the
reference to the policy set is cleared in the appropriate policy map with “
no police
aggregate <aggregate-policer-name>
“ command. The delete should be performed in
Global Mode with “
no mls qos aggregate-policer
<aggregate-policer-name>
“ command.
Example:
Setting a policy set named “agg1”, the policy set defines the bandwidth for
packets of up to 20 Mbps, with a burst value of 2 MB. All packets exceeding this
bandwidth setting will be dropped.
Switch(Config)#mls qos aggregate-policer agg1 20000 2000 exceed-action drop
9.1.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 1/1 to trust CoS value, i.e., classifying the packets
according to CoS value, DSCP value should not be changed.
Switch(Config)#interface ethernet 1/1
Switch(Config-Ethernet1/1)#mls qos trust cos pass-through-dscp