beautypg.com

8 mls qos trust, 9 mls qos dscp-mutation – Accton Technology ES4626 User Manual

Page 263

background image

263

8.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

8.1.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

trust status of that port must be “trust DSCP”. Applying DSCP mutation mapping allows

DSCP values specified directly to be converted into new DSCP values without class and

policy process. DSCP mutation mapping is effective to the local port only. The “trust

DSCP” refers to the DSCP value before DSCP mutation in this case.

This manual is related to the following products: