12 mls qos trust, 13 policy, Mls qos trust – PLANET WGSW-50040 User Manual

Page 188: Policy

Advertising
background image

Switch(config)#interface ethernet 1/2

Switch(Config-If-Ethernet1/2)# mls qos queue 1 bandwidth 64 128

10.12 mls qos trust

Command:

mls qos trust {cos | dscp}

no mls qos trust {cos | dscp}

Function:

Configures port trust; the no command disables the current trust status of the port.

Parameters:

cos configures the port to trust CoS value; dscp configures the port to trust DSCP value.

Default:

Trust CoS value.

Command mode:

Port Configuration Mode.

Usage Guide:

trust cos mode: can set the intp value based cos-to-intp mapping, set the message dp value based

cos-to-dp mapping.

trust dscp mode: can set the intp field based dscp-to-intp mapping, set the dp value based

dscp-to-dp mapping, set DSCP value based dscp-to-dscp mapping.

trust cos and trust dscp can set at the same time, trust dscp priority is bigger than trust cos

priority.

Example:

Configuring ethernet port 1/1 to trust CoS value, i.e., classifying the packets according to CoS

value.

Switch(config)#interface ethernet 1/1

Switch(Config-If-Ethernet1/1)#mls qos trust cos

10.13 policy

Command:

Single Bucket Mode:

policy <bits_per_second> <normal_burst_bytes> ({conform-action ACTION}| exceed-action

Advertising