21-9
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 21 VLAN Tag-Based Quality of Service
Configuring VLAN Tag-Based QoS
Configuring a VLAN-Group Policy
Use the following configuration tasks to configure a VLAN-group policy:
•
Configuring QoS Policies for Traffic Classes—Inbound VLAN Group and Class-Default Classes,
page 21-9
•
Configuring QoS Policies for Traffic Classes—Outbound VLAN Group and Class-Default Classes,
page 21-10
•
Attaching VLAN Tag-based Policies, page 21-12
Configuring QoS Policies for Traffic Classes—Inbound VLAN Group and Class-Default Classes
The class-default class is the only non-VLAN-group class allowed in a VLAN-group policy.
To configure an inbound QoS policy for VLAN-group traffic classes and the class-default class, enter
the following commands beginning in global configuration mode:
Command
Purpose
Step 1
Router(config)#
policy-map
policy-map-name
Creates or modifies a policy map for inbound traffic. Enters
policy-map configuration mode.
policy-map-name
is the name of the inbound policy map.
The name can be a maximum of 40 alphanumeric
characters.
Step 2
Router(config-pmap)#
class
vgrp-
cmap-name
Assigns the traffic class you specify to the inbound policy
map. Enters policy-map class configuration mode.
vgrp-cmap-name
is the name of a previously configured
match-vlan class map.
Step 3
Router(config-pmap-c)#
service-policy
policy-map-name
Applies the policy map you specify to the inbound
VLAN-group traffic class.
policy-map-name
is the name of the policy map that you
want to apply to the traffic class.
Step 4
Router(config-pmap-c)#
class class-default
Configures the class-default class for inbound traffic.
Note
The router uses the class-default class to apply QoS
services to all of the traffic that does not belong to
any other VLAN-group traffic class.
Step 5
Router(config-pmap-c)#
service-policy
policy-map-name
Applies the policy map you specify to the inbound default
traffic class.
policy-map-name
is the name of the policy map that you
want to apply to the default traffic class.