12-20-2018 02:01 PM - edited 03-08-2019 04:52 PM
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
Solved! Go to Solution.
12-31-2018 07:15 AM
Hello,
it doesn't seem to like the priority. Try the below:
policy-map vlan100
class vlan100
set dscp 46 or set dscp ef
12-20-2018 02:30 PM
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
12-31-2018 07:00 AM
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.
12-31-2018 07:15 AM
Hello,
it doesn't seem to like the priority. Try the below:
policy-map vlan100
class vlan100
set dscp 46 or set dscp ef
12-31-2018 07:25 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide