16 policy, Policy – PLANET XGS3-24042 User Manual

Page 290

Advertising
background image

15-136

Forbid the egress packets rewriting DSCP value.

Default:

The egress packets rewrite DSCP value.

Command mode:

Port Mode.

Usage Guide:

The egress packets can not rewrite DSCP value when configuring pass-through-dscp on the ingress.

This command may associate with other commands of QoS, such as mls qos trust command. After

QoS actions are valid, the egress packets save the original DSCP value.

Example:

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

value.

Switch(config)#interface ethernet 1/0/1

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

Switch(config-if-ethernet1/0/1)#pass-through-dscp

15.16 policy

Command:

Single Bucket Mode:

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

Dual Bucket Mode:

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

<maximum_burst_bytes> [{exceed-action ACTION | violate-action ACTION }]

ACTION definition:

drop | transmit | set-internal-priority <intp_value> | policied-intp-transmit

no policy

Function:

The non-aggregation policy command supporting three colors. Determine whether the working

mode of token bucket is singe rage single bucket, single rate dual bucket or dual rate dual bucket,

set the corresponding action to the different color packets. The no command will delete the mode

configuration.

Parameters:

bits_per_second: The committed information rate – CIR (Committed Information Rate), in Kbps,

ranging from 1 to 10000000;

normal_burst_bytes: The committed burst size – CBS (Committed Burst Size), in byte, ranging

from 1 to 1000000. When the configured CBS value exceeds the max limit of the chip, configure the

Advertising
This manual is related to the following products: