15 policy aggregate, Policy aggregate – PLANET WGSW-52040 User Manual

Page 369

Advertising
background image

20-138

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

20.15 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 command deletes the

specified aggregate policy.

Parameters:

<aggregate-policy-name> is the policy set name.

Default:

No policy is configured by default.

Advertising