4 policy aggregate, 5 policy-map – PLANET XGS3-24040 User Manual
Page 225
14-91
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
exceed-action transmit
14.7.4 policy aggregate
Command:
policy aggregate <aggregate-policy-name>
no policy aggregate <aggregate-policy-name>
Function:
Police Map reference aggregate policy, applies a policy set to classified traffic; the “no policy
aggregate <aggregate-policy-name>” command deletes the specified policy set.
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
14.7.5 policy-map