cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5008
Views
0
Helpful
4
Replies

QoS per VLAN

gcook0001
Level 1
Level 1

We are currently running two Catalyst C3850 switches in a non-stacking configuration. 

Show version:Cisco IOS Software [Denali], Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 16.3.7, RELEASE SOFTWARE (fc4)

 

We would like to setup per vlan qos for a number of ports on our switches.  All the traffic on the vlan is encrypted at the source in both directions.

We want to give vlan 100 the highest priority.   I pieced this together from documentation but would like to have some feed-back.

 

class-map vlan100
match vlan 100
exit

policy-map vlan100
policy-map class vlan100
priority level 1
exit

interface gigabitethernet 1/0/1
description Connection to office switch
switchport trunk allowed vlan 100, 101, 102
switchport mode trunk
service-policy input vlan100
service-policy output vlan100
exit
interface gigabitethernet 1/0/2
description Connection to firewall
switchport trunk allowed vlan 100, 101, 102
switchport mode trunk
service-policy input vlan100
service-policy output vlan100
exit

 

thanks

 

1 Accepted Solution

Accepted Solutions

Hello,

 

it doesn't seem to like the priority. Try the below:

 

policy-map vlan100
class vlan100
set dscp 46 or set dscp ef

View solution in original post

4 Replies 4

Hello,

 

the config looks fine to me (except one small syntax change which I marked in bold. I am not sure if you can apply the service policy outbound, it the system gives you an error, just use it inbound only.

 

class-map vlan100
match vlan 100
exit

policy-map vlan100
class vlan100
priority level 1
exit

interface gigabitethernet 1/0/1
description Connection to office switch
switchport trunk allowed vlan 100, 101, 102
switchport mode trunk
service-policy input vlan100
service-policy output vlan100
exit
interface gigabitethernet 1/0/2
description Connection to firewall
switchport trunk allowed vlan 100, 101, 102
switchport mode trunk
service-policy input vlan100
service-policy output vlan100
exit

 

OK.  This did not work.  When I tried adding the service policy to the interface I got the following error.

Queuing actions supported only with dscp/cos/qos-group/precedence/exp based classification

 

I am doing more research but if anyone has any ideas on this I would appreciate it.

Hello,

 

it doesn't seem to like the priority. Try the below:

 

policy-map vlan100
class vlan100
set dscp 46 or set dscp ef

Thanks. That seems to have worked