Cisco Cisco IOS Software Release 12.2(27)SBC

다운로드
페이지 22
QoS—VLAN Tag-Based
  How to Configure QoS—VLAN Tag-Based
8
QoS - VLAN Tag-Based
Configuration Guidelines for QoS—VLAN Tag-Based
Configure the match-vlan command as the only filtering criteria for a class map. 
If you attempt to apply a policy map that includes a traffic class for which the match-vlan command 
and other match commands are configured, the attempt fails and an error message displays.
Configure the match-any command with the match-vlan command. 
A class map configured for classification of VLAN-group traffic must match any of the specified 
VLAN criteria. If you do not specify the match-any command as part of the class map match-vlan 
criteria and you attempt to specify that class in a policy map, the attempt fails and an error message 
displays.
Configure VLAN-group traffic classes (created using the match-vlan command in a class map) only 
in the parent class of hierarchical policy maps. For example, in a three-level hierarchical policy, the 
parent class is the topmost level of the policy. 
If you attempt to configure a VLAN-group traffic class in a child policy, the attempt fails and an 
error message displays.
Attach VLAN-group policies (policies containing match-vlan traffic classes) only to Fast Ethernet 
and Gigabit Ethernet interfaces.
Do not attach a policy map to an 802.1Q VLAN subinterface with a VLAN ID if the subinterface is 
part of a VLAN-group with a defined policy.
If an 802.1Q VLAN subinterface has a VLAN ID that is specified as part of a VLAN-group and a 
VLAN-group policy is attached to an interface, if you attempt to attach a QoS policy to the 
subinterface participating in the VLAN group, the attempt fails and an error message displays. 
Attach child policies under any class defined in a VLAN-group policy. 
For a VLAN-group policy, you are not required to only attach child policies under the class-default 
class of a parent policy. You may apply child policies to the class-default class of another child 
policy, the class-default class of a parent policy, or to other classes defined in parent and child 
policies.
Note
This applies only to VLAN-group policies. For other QoS policies, you must apply child 
policies only to the class-default class of a parent policy.
Do not configure any other QoS actions for a parent class if you apply a child policy to that class.
For a VLAN-group policy, if a class of a parent policy map specifies the service-policy command, 
do not configure any other QoS actions for that class.
Configure only the shape command in outbound parent classes of a VLAN-group policy if a child 
policy is applied to that class.