08-16-2011 09:19 AM - edited 03-07-2019 01:44 AM
All,
I was under the impression that a port needed to be trunked in order to have cos marked in the frame. I have the following:
Host --> 2950 --> router
On the router I have:
class-map any
match dscp cs3
match dscp default
match ip precedence 3
policy-map any
class any
int fa0/0
service-policy input any
On the 2950, port fa0/1 (router) and port fa03 (pc) is connected I have:
int fa0/1
switchport mode access
mls qos trust
int fa0/3
switchport mode access
mls qos cos 3
mls qos cos override
I can see hits on cs3 on the router which tells me that the packet is being marked regardless of the port being trunked. Am I missing something?
Thanks,
John
08-16-2011 09:52 AM
John,
It should work fine with an access port as uplink. You are just using the native vlan or untag frames.
HTH
08-16-2011 10:13 AM
Reza,
I get it now. CS3 is my DSCP marking that's being translated. I wasn't matching on cos 3, but instead was translating from cos3 to dscp cs3 and that was why I was seeing hits.
Thanks!
John
08-16-2011 04:35 PM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Right. CoS is only available in VLAN tagged frames. IP ToS is part of all IP packets.
PS:
BTW, you don't really need to match on both CS3 and IP Prec 3; the latter will also match the former. (The converse is not true.)
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