PLANET XGS3-24042 User Manual

Page 182

Advertising
background image

20-19

access-group}

2. Configure a policy-map

Command

Explanation

Global Mode

policy-map <policy-map-name>

no policy-map <policy-map-name>

Create a policy-map and enter policy-map

mode, no command deletes the specific

policy-map.

class <class-map-name> [insert-before

<class-map-name>]

no class <class-map-name>

Create a policy map to associate with a

class map and enter policy class map

mode, then different data streams can

apply different policies and be assigned a

new DSCP value. No command deletes

the specified policy class map.

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

Advertising
This manual is related to the following products: