12-08-2010 08:18 AM - edited 03-06-2019 02:25 PM
I am trying to match spanning-tree traffic in a QoS class map so I can apply quality of service to it. I have tried using the match destination address mac 0182.c200.000 command but that isn't accepted on my 3750 and 3560 switches, not sure if that is an IOS version issue or not. The mac address is the multicast destination mac for all STP traffic. I have also tried creating a mac access list to use to match traffic, but it looks like the match statement will only take a numbered IP access list. Does anyone have any ideas how I can match the STP traffic?
Solved! Go to Solution.
12-08-2010 11:35 AM
You don't have to because it is control plane traffic and it is automatically given highest QoS values.
12-08-2010 11:35 AM
You don't have to because it is control plane traffic and it is automatically given highest QoS values.
12-08-2010 11:39 AM
Interesting, I have never heard that before. Thanks!
12-08-2010 02:19 PM
cadetalain wrote:
You don't have to because it is control plane traffic and it is automatically given highest QoS values.
Can you explain a bit more about this.
I am aware of routing protocols being given a higher IP Precedence but i'm not sure how this works with BPDUs. BPDUs would have to use a CoS value as they are L2 only. So if you had a switch connected to another switch but not with a trunk, just a regular access port connection how would BPDU's be marked with a CoS value as without an 802.1q tag there can be no 802.1p (CoS) markings ?
Jon
12-08-2010 02:27 PM
I am new to QoS so I am not positive. However, it seems logical to me to assume that even on that access port you could apply QoS to match traffic and then prioritize based on IP precedence or DSCP. I am not sure but I think the only reason why you would need the dot1p markings is if you are trusting the CoS values passed by the trunk. Since you aren't trusting anything you just analyze the traffic, match it, and apply whatever priority you want.
My only thing is that I have never heard of BPDU's automatically being given the higher DSCP value or ip precedence tag. If that is the case then I don't need to worry about finding the appropriate match statement.
12-08-2010 02:33 PM
My only thing is that I have never heard of BPDU's automatically being given the higher DSCP value or ip precedence tag. If that is the case then I don't need to worry about finding the appropriate match statement.
Well they can't be given a DSCP or IP Prec tag because BPDUs don't have an IP header, they are L2 packets only. So they would have to use CoS markings. And the only way to mark a packet with a CoS value is if that packet has an 802.1q tag.
I'm not entirely sure what Cadetalain means which is why i asked for clarification. Some routing protocols are specifically given a higher precedence but with BPDUs as i said you can only use CoS and even then only on a trunk link. With an access port link connecting 2 switches there is no CoS.
So i'm wondering whether he meant the switch itself internally prioritizes BDPUs but the way it was written suggest a QOS/CoS value is written into the BPDU and i don't think it is. I'm not saying he is wrong, just wanted clarification really.
Jon
12-08-2010 02:37 PM
Oh yeah you are right about the IP header thing, I wasn't thinking. He mentioned something about the control-plane, but like I said, I am new to QoS so we will have to wait for him to clarify.
05-15-2019 03:18 AM
Old but gold discussion ( at least for me!). And still, I don't know how BPDU packets, like STP packet, are prioritized without CoS tag. Hope someone knows the answer!
05-15-2019 03:28 AM
05-17-2019 10:17 PM
As a result, there is no standard field in ethernet frame for distinguishing control packets, ya? So, in this way, each vendor has its own way to handle control packets...this is ok? Don't standard protocols like STP need a through and equal behavior from different switches, so that different switches from different vendors be compatible with each other in standard protocols?
05-18-2019 10:23 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