In my setup above (Cisco 2960 running IOS15), I have all devices marked in red in vlan 20 (WLAN_VLAN), devices in green in VLAN 10 (PC_VLAN) and devices in yellow which are VoIP in the voice vlan. I am attempting to create a vlan based QoS such that if an access point and a PC all connected to the same switch forward frames or packets and they reach that switch, the packet from the PC gets higher priority than the access point, so it travels out of the switch first to its destination. This is my attempt.....
!in global configuration mode
mls qos
!
!
!on the switch port where the access point is connected
interface FastEthernet0/3
switchport mode access
switchport access vlan 10
mls qos cos 4
mls qos trust cos
!
!
!
!on the switch port where the PC is connected
interface FastEthernet0/4
switchport access vlan 20
switchport mode access
mls qos cos 3
mls qos trust cos
!
I simulated this in packet tracer but it does not seem to work. How do I go about it? what am I doing wrong?