15 policy-map, Policy – PLANET WGSW-50040 User Manual

Page 191

Advertising
background image

policy aggregate <aggregate-policy-name>” command deletes the specified aggregate policy.

Parameters:

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

Default:

No policy set is configured by default.

Command mode:

Policy class map configuration Mode

Usage Guide:

The same policy set can be referred to by different policy class maps.

Example:

Create class-map, the match rule is the cos value is 0; policy-map is 1, enter the policy map mode,

set the Policy and choose the color policy for the current list.

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 aggregate color

10.15 policy-map

Command:

policy-map <policy-map-name>

no policy-map <policy-map-name>

Function:

Creates a policy map and enters the policy map mode; the “no policy-map <policy-map-name>

command deletes the specified policy map.

Parameters:

< policy-map-name> is the policy map name.

Default:

No policy map is configured by default.

Command mode:

Global Mode

Usage Guide:

PBR classification matching and marking next hop operations can be done in the policy map

configuration mode.

Advertising