QTECH QSW-8300 Инструкция по настройке User Manual

Page 113

Advertising
background image

+7(495) 797-3311 www.qtech.ru

Москва, Новозаводская ул., 18, стр. 1

112

set {ip dscp <new-dscp> | ip precedence

<new-precedence> | cos <new-cos> | c-vid

<new-c-vid> | s-vid <new-s-vid> | s-tpid

<new-s-tpid>}

no set {ip dscp | ip precedence | cos | c-vid

| s-vid | s-tpid}

Assign a new DSCP, CoS and IP Precedence

value for the classified flow, no command

cancels the operation.

Single bucket mode:

policy <bits_per_second>

<normal_burst_bytes> ({action ACTION} |

exceed-action drop | transmit})

Dual bucket mode:

policy <bits_per_second>

<normal_burst_bytes> [pir

<peak_rate_bps>] |

<maximum_burst_bytes> [{action ACTION

| violate-action drop | transmit}]

ACTION definition:

policied-cos-to-cos-transmit | policied-cos-

to-dscp-transmit | policied-dscp-exp-to-

cos-transmit | policied-dscp-exp-to-dscp-

transmit

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 single rate single

bucket, single rate dual bucket or dual rate

dual bucket, set corresponding action to

different color packets. The no command will

delete the configuration. Only specific switch

supports single bucket mode.

accounting

no accounting

Set statistic function for the classified flow.

After enable this function under the policy

class map mode, add statistic function to the

flow of the policy class map. In single bucket

mode, packets can only red or green when

passing policy. In the print information, in-

profile means green and out-profile means

red. In dual bucket mode, there are three

colors of packets in-profile means green and

out-profile means red and yellow.

3. Apply policy to port or VLAN

Command

Explanation

Interface Mode

service-policy output <policy-map-name>

Apply a policy map to the egress of the port;

Advertising