14 policy aggregate, Policy aggregate – PLANET WGSW-50040 User Manual

Page 190

Advertising
background image

set-prec-transmit can be selected.

set-prec-transmit sets TOS, only set-prec-transmit or set-dscp-transmit can be selected

set-internal-priority sets the internal priority of the packets

set-Drop-Precedence sets the drop precedence of the packets

set-cos-transmit sets the CoS value of the L2 packets

Default:

No policy action; the default action of conform-action is transmit, while that of exceed-action and

violate-action both is drop.

Command mode:

Policy class map configuration Mode

Usage Guide:

The CLI can support both singe bucket and dual bucket configuration, and determine which one to

select by checking whether PIR or PBS is configured. When configuring with CLI, after configuring

CBS, if the action is directly configured, the mode is single bucket dual color; if only PBS is

configured, the mode is single rate dual bucket three color; if PIR and PBS are configured, the mode

is dual rate dual bucket three color. “set” and “policy”(policy aggregate) are selected and have the

same action in Policy Map, then the action selected by “policy” will cover the action of “set”.

Example:

In the policy class table configuration mode, set the CIR as 1000, CBS as 2000 and the action when

CIR is not exceeded as transmitting the messages after changing DSCP to 23, and the action

triggered by exceeding CIR as transmit without changing the messages.

Switch(config)#class-map cm

Switch(config-classmap-cm)#match cos 0

Switch(config-classmap-cm)#exit

Switch(config)#policy-map 1

Switch(config-policymap-1)#class cm

Switch(config-policymap-1-class-cm)#policy 1000 2000 conform-action

set-dscp-transmit 23

10.14 policy aggregate

Command:

policy aggregate <aggregate-policy-name>

no policy aggregate <aggregate-policy-name>

Function:

Police Map reference aggregate policy, applies an aggregate policy to classified traffic; the “no

Advertising