PLANET WGSW-50040 User Manual

Page 121

Advertising
background image

13-8

no set {ip dscp | ip precedence|internal

priority | drop precedence |cos }

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

Configure a policy for the classified flow.

The non-aggregation policy command

supports three colors. Analyze the

working mode of the token bucket,

whether it is singe rate single bucket,

single rate dual bucket, dual rate dual

bucket, set corresponding action to

different color packets. The

no

command will delete the mode

configuration. Single bucket mode is

supported by the specific switch.

policy aggregate <aggregate-policy-name>

no policy aggregate

<aggregate-policy-name>

Apply a policy set to classified traffic; the

no command deletes the specified

policy set.

accounting

no accounting

Set statistic function for the classified

traffic. After enable this function under

the policy class map mode, add statistic

function to the traffic of the policy class

map. In single bucket mode, the

messages can only red or green when

passing police. In the print information,

in-profile means green and out-profile

means red. In dual bucket mode, there

are three colors of messages. In the

print information, in-profile means green

and out-profile means red and yellow.

3. Apply QoS to port or VLAN interface

Command

Explanation

Interface Configuration Mode

mls qos trust {cos | dscp}

no mls qos trust {cos | dscp}

Configure port trust; the no command

disables the current trust status of the

Advertising