This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

VLAN Based QOS

Hello,

Required Script for apply VLAN-Base QOS.

We have to apply QOS on selective VLAN. 
Like, We have 5 VLANs i.e. 100,200,300,400,500.
we have to apply QOS only for LAN VLAN 200 and Voice  VLAN 400.

Configuration required as per below :

policy-map QoS_Standard_Policy
class Voice
set dscp ef
police 35000000 64000 exceed-action drop
class Video
set dscp af41
class Call-Signaling
set dscp cs3
class Critical-Data
set dscp af21
class Backup
set dscp af11

class Less-Than-Default
set dscp cs1

interface range Gi1/0/1 - 44 (Port used for LAN and Voice Vlans)
mls qos vlan-based
srr-queue bandwidth share 1 15 50 35
mls qos trust dscp
priority-queue out
service-policy input QoS_Standard_Policy


interface range Gi1/0/45 - 48 (Connected to AP)
mls qos vlan-based
srr-queue bandwidth share 1 15 50 35
mls qos trust dscp
priority-queue out
service-policy input QoS_Standard_Policy