14 policy, Policy – PLANET WGSW-52040 User Manual

Page 367

Advertising
background image

20-136

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

Parameters:

dscp configures the port to trust DSCP value.

Default:

Trust CoS value.

Command mode:

Port Configuration Mode.

Usage Guide:

trust dscp mode: Set the intp field based dscp-to-intp mapping.

Example:

Set trust dscp of port.

Switch(config)#interface ethernet 1/1

Switch(config-if-ethernet1/1)#mls qos trust dscp

20.14 policy

Command:

Single Bucket Mode:

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

Dual Bucket Mode:

policy <bits_per_second> <normal_burst_bytes> [pir <peak_rate_bps>] | <maximum_burst_bytes>

[{conform-action ACTION | exceed-action ACTION | violate-action ACTION }]

ACTION definition:

drop | transmit | set-dscp-transmit <dscp_value> | set-prec-transmit <ip_precedence_value> |

set-cos-transmit <cos_value> | set-internal-priority <inp_value> | set-Drop-Precedence <dp_value>

no policy

Advertising