Specifications
25-19
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 policy map with the name “qos-marking” and
associates the “DSCP-to-COS-marking” table map to the class.
Router(config)# policy-map qos-marking
Router(config-pmap)# class class-default
Router(config-pmap-c)# set qos-group dscp table DSCP-to-COS-marking
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)#
Attaching the Policy Map to the SVI Interface
To attach the policy map to the SVI interface, complete the following steps:
Command Purpose
Step 1
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 2
interface vlan vlan_id
Example:
Router(config)# interface vlan 999
Create or accesses a Layer 3 switch virtual interface (SVI) and enters
VLAN interface configuration mode, where vlan_id is a number from 1
to 4094.
Step 3
service-policy output name
Example:
Router(config-if)# service-policy
output qos-marking
Attaches the policy map to the output interface.
Step 4
exit
Example:
Router(config-if)# exit
Router(config)#
Exits VLAN interface configuration mode.
Step 5
interface gigabitethernet slot/port
Example:
Router(config)# interface
gigabitethernet 0/1
Specifies the port adapter type and the location of the interface to be
configured. The slot is always 0 and the port is the number of the port.
Step 6
switchport mode {access | trunk}
Example:
Router(config-if)#
switchport mode trunk
Specifies the interface mode, where:
• access—Sets a non-trunking, non tagged single VLAN Layer 2
interface.
• trunk—Specifies a trunking VLAN Layer 2 interface.
Step 7
switchport trunk allowed vlan
vlan-list
Example:
Router(config-if)# switchport trunk
allowed vlan 999
Configures the list of VLANs allowed on the trunk.