PLANET XGS3-24042 User Manual

Page 171

Advertising
background image

18-8

Global Mode

policy-map <policy-map-name>

no policy-map <policy-map-name>

Create a policy map and enter policy

map mode; the no command deletes the

specified policy map.

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

<class-map-name>]

no class <class-map-name>

After a policy map is created, it can be

associated to a class. Different policy or

new DSCP value can be applied to

different data streams in class mode; the

no command deletes the specified

class.

set internal priority <new-intp>

no set internal priority

Assign a new internal priority for the

classified traffic; the no command

cancels the new assigned value.

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

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.

policy aggregate <aggregate-policy-name>

no policy aggregate

Apply a policy 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 policy. In the print information,

there are two colors(green and red) of

the packets. In dual bucket mode, there

are three colors(green, red and yellow)

of the packets.

Policy class map configuration mode

Advertising
This manual is related to the following products: