Specifications

Installation Examples
313
Create Class Maps
Create the Policy Maps
Router2(config)# class-map match-all MitelClassMapIn
Router2(config-cmap)# match access-group name Mitel [Matches the ACL created above]
Router2(config)# class-map match-all MitelClassMapOut
Router2(config-cmap)# match ip dscp ef [Matches the DSCP value of 46]
Router2(config)# policy-map MitelPolicyIn [Only required if default DSCP is being changed]
Router2(config-pmap)# class MitelClassMapIn [Matches the class map looking for Mitel traffic]
Router2(config-pmap-c)# set ip dscp ef [Overwrite DSCP bits with a value of 46]
Router2(config)# policy-map MitelPolicyOut
Router2(config-pmap)# class MitelClassMapOut [Matches the class map looking for DSCP 46]
Router2(config-pmap-c)# priority percent 30 [Mitel traffic is guaranteed 30% of the bandwidth]
Or
Router2(config-pmap-c)# priority "bandwidth" [Alternatively specify actual bandwidth amount]
Router2(config-pmap-c)# exit
Router2(config-pmap)# class class-default [What to do with other traffic]
Router2(config-pmap-c)# fair-queue
Note: Priority is specified in either Percent or Bandwidth, NOT both.
Router2(config)# class-map match-all
MitelClassMapP-Bit
Router2(config-cmap)# match ip dscp ef [Matches the DSCP value of 46]
Router2(config)# policy-map MitelClassMapP-Bit
Router2(config-pmap)# class MitelClassMapP-Bit [Matches the class map looking for DSCP 46]
Router2(config-pmap-c)# set cos 6 [set the 802.1p bit to 6 if DSCP = 46]
Note: No "priority" statement has been set in this Policy Map. This is because the Fast
Ethernet outbound queue is assumed not to be congested due to the ingress traffic
coming from the serial interface being much lower than 100Mbps of the Fast Ethernet
interface. If the Fast Ethernet is congested for other traffic reasons then a "priority"
statement will be required on the Fast Ethernet sub-interface Policy Map as well.