7 mls qos trust, Mls qos trust – PLANET XGS3-24040 User Manual
Page 220
14-86
the chip without any CLI prompt. Notice: this configuration only exists in dual bucket mode;
conform-action:the actions to take when the CIR is not exceeded, which means the messages are
green, including drop;
set-dscp-transmit:change dscp (ranging from 0 to 63), set-prec-transmit: change TOS (ranging from
0 to 1), transmit: messages will pass without any action;
qate-action:the actions to take when the PIR is exceeded, which means the messages are red,
including drop, policed-dscp-transmit: mark down the packets DSCP value, transmit: messages will
pass without any action. Notice: this action only exists in dual bucket mode.
Default:
No aggregation Policer is defined by default; the default action of conform-action is transmit, while
that of exceed-action and violate-action both is drop.
Command mode:
Global Mode
Usage Guide:
The CLI can support both singe bucket and dual bucket configuration, and determine which one to
select by checking whether violate-action is configured. When configuring with CLI, after configuring
CBS, if the action is directly configured, the mode is single rate single bucket; if only PBS is
configured, the mode is single rate dual bucket; if PIR and PBS are configured, the mode is dual
rate dual bucket.
Example:
Set the single bucket mode, CIR is 1000, CBS is 1000. The action to take is drop, when the CIR is
not exceeded, which means the messages are green; the action is policed-dscp-transmit (change
the DSCP value and then transmit the messages) when the CIR is exceeded but PIR isn’t, which
means the messages are yellow.
Switch(config)#mls qos aggregate-policy color 1000 1000 conform-action drop exceed-action
policed-dscp-transmit
14.7 mls qos trust
Command:
mls qos trust {cos [pass-through-cos] [pass-through-dscp]|dscp [pass-through-cos]
[pass-through-dscp]| ip-precedence [pass-through-cos] [pass-through-dscp] |port priority
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.