mac
209
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 exceed-action transmit
7.19 policy aggregate
This command is not supported by switch.
7.20 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: Policy class map opertion can be done in policy map configuration mode.
Example: Creating and deleting a policy map named ―p1‖.
Switch(config)#policy-map p1
Switch(Config-PolicyMap-p1)#exit
Switch(config)#no policy-map p1
7.21 set
Command: set {ip dscp <new-dscp> | ip precedence <new-precedence> | internal
priority <new-inp> | drop precedence <new-dp> | cos <new-cos>}
no set {ip dscp | ip precedence | internal priority | drop precedence |
cos}
Function: Assign a new DSCP, IP Precedence for the classified traffic; the no form of this
command delete assigning the new values.
Parameter: ip dscp <new-dscp> new DSCP value, do not distinguish v4 and v6.
ip precedence <new-precedence> new IP Precedence.
cos <new cos> new COS value.










