Specifications
25-18
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Software Configuration Guide, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter 25 Configuring Quality of Service
Configuring Quality of Service
The following configuration example configures a table map with the name “DCSP-to-CoS-marking,”
in which specific DSCP values are mapped to specific COS values.
Router# config terminal
Router(config)# table-map DSCP-to-COS-marking
Router(config-tablemap)# map from 46 to 5
Router(config-tablemap)# map from 34 to 4
Router(config-tablemap)# map from 26 to 3
Router(config-tablemap)# map from 18 to 2
Router(config-tablemap)# map from 10 to 1
Router(config-tablemap)# default copy
Router(config-tablemap)# exit
Configuring a Policy Map and Associating the DSCP-to-COS Mapping Table
To configure a policy map to which you bind the DSCP-to-COS mapping table, complete the following
steps:
Command Purpose
Step 1
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 2
policy-map policy-map-name
Example:
Router(config)# policy-map
qos-marking
Configures a policy map and enters policy-map configuration mode.
Step 3
class class-default
Example:
Router(config-pmap)# class
class-default
Specifies the default class so that you can configure or modify its policy
and enters policy-map class configuration mode.
Step 4
set qos-group dscp table
table-map-name
Example:
Router(config-pmap-c)# set qos-group
dscp table DSCP-to-COS-marking
Sets the CoS value based on the DSCP value defined in the table map.
Step 5
exit
Example:
Router(config-pmap-c)# exit
Router(config-pmap)#
Exits policy-map class configuration mode.
Step 6
exit
Example:
Router(config-pmap)# exit
Router(config)#
Exits policy-map class configuration mode.