Cisco Cisco IOS Software Release 12.2(27)SBC

다운로드
페이지 22
QoS—VLAN Tag-Based
  How to Configure QoS—VLAN Tag-Based
10
QoS - VLAN Tag-Based
Examples 
The following example configuration creates a VLAN group named customer1 with VLANs 2, 3, 4, 5, 
and 7 as members of the group:
Router> enable
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# class-map match-any customer1
Router(config-cmap)# match vlan 2 3-5 7
Router(config-cmap)# exit
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
The class-default class is the only non-VLAN-group class allowed in a VLAN-group policy.
Use the following procedure to configure an inbound QoS policy for VLAN-group traffic classes and the 
class-default class.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
policy-map
 policy-map-name
4.
class
 vgrp-cmap-name
5.
service-policy
 policy-map-name
6.
class class-default
7.
service-policy
 policy-map-name
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode. 
Enter your password if prompted.
Step 2
configure
 terminal
Example:
Router# configure terminal
Enters global configuration mode.