Configuration Examples For Vlan Tag-Based Qos - Cisco 10000 Series Configuration Manual

Quality of service configuration guide
Hide thumbs Also See for 10000 Series:
Table of Contents

Advertisement

Chapter 21
VLAN Tag-Based Quality of Service
Command or Action
Step 9
Router(config-if)# encapsulation dot1q vlan-id
Step 10
Router(config-if)# service-policy [input |
output] policy-map-name
Example
The following example configuration shows how to attach a VLAN tag-based policy named policy1 to
the Gigabit Ethernet main interface 1/0/0 for outbound traffic.
Router(config)# class-map match-any vlan-customer1
Router(config-cmap)# match vlan 10 -20
Router(config-cmap)# class-map child
Router(config-cmap)# match prec 1
Router(config-cmap)# exit
Router(config)# policy-map child-cust1
Router(config-pmap)# class child
Router(config-pmap-c)# bandwidth percent 10
Router(config-pmap-c)# exit
Router(config-pmap)# policy-map policy1
Router(config-pmap)# class vlan-customer1
Router(config-pmap-c)# shape 10000000
Router(config-pmap-c)# service-policy child-cust1
!
Router(config)# interface GigabitEthernet 1/0/0.1
Router(config-subif)# encapsulation dot1q 10
Router(config-subif)# interface GigabitEthernet 1/0/0
Router(config-if)# service-policy output policy1

Configuration Examples for VLAN Tag-Based QoS

This section provides the following configuration examples:
OL-7433-09
Configuring a VLAN Tag-Based QoS Policy: Example, page 21-14
Configuring a VLAN Tag-Based QoS Policy: Invalid Configuration Example, page 21-14
Configuration Examples for VLAN Tag-Based QoS
Purpose
Enables IEEE 802.1Q encapsulation of traffic on the
specified subinterface in a virtual LAN (VLAN
vlan-id is the virtual LAN identifier. The allowed range is
from 1 to 4095. For the IEEE 802.1Q-in-Q VLAN Tag
Termination feature, the first instance of this argument
defines the outer VLAN ID, and the second and
subsequent instances define the inner VLAN ID.
Applies the policy map you specify to the interface.
input indicates to apply the policy to inbound traffic.
output indicates to apply the policy to outbound traffic.
policy-map-name is the name of the policy map that you
want to apply to the traffic class.
Cisco 10000 Series Router Quality of Service Configuration Guide
21-13

Advertisement

Table of Contents
loading

Table of Contents