02-18-2025 02:03 AM
Hello all,
asking for a help and consultation. We need to connect a remote office to different ACI PODs (using different paths). As i searched for information on that what i found that EPG with 801.2p static port bindings are needed and that's all. We did that and created loop.
Maybe someone have solution like this and can share config details on ACI and External switch? See scheme attached.
02-18-2025 11:28 PM
Hi @raisuotis
Are you sure about using IEEE 802.1P?
A small understanding about IEEE 802.1P:
Please check for IEEE 802.1q as well. Probably you may be refering to the this standard protocol.
HTH
AshSe
02-18-2025 11:37 PM
Hi @AshSe what i wanted to to say that we used port type access (802.1P)
"Access 802.1P = Trunk mode, but the VLAN assigned will be untagged/native. Allows other EPGs to use this port with other tagged VLAN IDs."
02-19-2025 10:17 PM
@AshSe ,
You need to learn the difference between IEEE standard terminology and Cisco's abuse of some of the IEEE's terms.
You are absolutely correct in saying that 802.1p describes a way of enabling QoS. But if we are going to be pedantic, 802.1p is NOT a standard (the lowercase "p" actually means that it is NOT a standard - all IEEE 803.n standards have UPPERCASE letters)
But when @raisuotis referred to "801.2p static port bindings" he was referring to the setting for a port when applying a static binding, where the choices are:
Notice Cisco's first abuse is that they have referred to 802.1p as 802.1P - indicating that it IS a standard. Furthermore, they refer to the encapsulation mode as Access (802.1P) when in fact the port will be in trunk mode. They have gone to a lot of trouble to confuse users.
So - what's the story?
Well, the 802.1p working group worked with the 802.1Q standard (which was later incorporated into the good old 802.1D standard)
The 802.1Q standard described a way of adding a 12bit field to a frame to carry a VLAN tag, and 3 more bits to give the 802.1p working group some scope to carry a "Priority Code Point" of 3 bits. One more bit called the Canonical Frame Indicator (which has an even more interesting history involving Token Ring VLANs was eventually changed to the "Drop Eligibility Indicator") made a total of 16 bits or two bytes that could be added to a frame. And of course, so that the frame could be identified as a tag-carrying frame and therefore potentially longer than the previously maximum frame size, another 2 bytes (carrying 0x8100) were added.
So - 802.1Q defined a way that you could
But - what if you had a frame that was UNTAGGED but you wanted to add the PCP value? (and/or the DEI)?
Well, the standard allowed for that - you just had to put the entire 802.1Q header on, but leave the VLAN tag field as all zeros (remember you can't have a VLAN 0, so this all works)
Now when it came to implementing all this, Cisco decided that there would be:
ACI needed a way of saying that a port was a Trunk Port, and that Untagged frames arriving on that port were to be classified into a VLAN - in Cisco speak - the Native VLAN - but Cisco decided they didn't want to use the term Native VLAN in ACI, and instead created the confusing term Access (802.1P) to define:
RedNectar Rant
I can kind of see why the term 802.1P was used (even if people immediately think of QoS and PCP bits), but why it was ever called an Access Port I'll never understand.
Sidenotes
fvRsPathAtt
, you'll see the mode listed as nativefvRsDomAtt
attribute for the EPG (the link to the Physical Domain) you'll see the switchingMode listed as native and the untagged attribute shown as no
02-19-2025 12:23 AM
Hi @raisuotis ,
Not easy to explain here all the options and considerations when it comes to STP loop handling with ACI in between (STP? MST? TCN? Access config? MCP? Scale?...), but to summarize, that is a quite common migration scenario. ACI transparently forwards BPDU in the related EPG by default so you have to detect and handle the loop on your external switches.
By the way, @RedNectar already described it quite well in posts like that one:
Regards
02-19-2025 03:07 AM
Thanks @Remi-Astruc for the reference link. It is well explained and useful. We did everything as it is written but we caused a loop.
Now the idea is to test the setup ACI + Legacy switch running MSTP. But i am struggling finding how i can spin ACI lab. Maybe you have some ideas?
02-19-2025 09:03 PM
i @raisuotis ,
I see from your diagram that there are two ACI sites - so it could be multi-site (two sets of APICs + MSO NDO or multi-pod (one set of APICs)
It would be nice to know which it is.
You mentioned 802.1p static ports. Why? Is that a hint to suggest you are using IEEE MST rather than the Cisco proprietary PVRSTP? (Your later post suggesting testing on "Legacy switch running MSTP" would indicate the former)
And a final tip (I repeat this so often I have it stored as a macro):
When posting on the forum, add your pictures inline - i.e. PASTE your picture right where you want it. If it is a screenshot, you'll probably then want to click on the image and make the image large - like this.
This means you pictures are actually SEEN (a) in the email that gets sent to subscribers and (b) anyone who looks at this post in the future. Adding pictures as attachments... puts your submission into the TL;DR category.
So - back to your problem. Let's start by getting the diagram where it can be seen:
Assuming that this is Multi-pod rather than multi-site, the principles explained in the links to my earlier posts remain the same:
To successfully run MST, you'll have to ensure
Some things that can go wrong:
spanning-tree link-type shared
If you haven't looked at it already, Cisco Live presentation BRK-3101 has some good stuff
If I've assumed wrongly and you are running multi-site, rather than multi-pod then I'm not 100% sure that the topology shown is supported - although I'd be happy (delighted even) to be told that I'm wrong.
02-19-2025 11:11 PM
Hi @RedNectar, thanks for answer.
Yes, we are running multi-pod setup.
What we missed, we didn't configured MST part in ACI and didn't changed stp link types to shared. Could that caused a loop?
02-20-2025 12:52 AM
Hi @raisuotis ,
Not configuring the MST part in ACI can definitely cause a loop. See Cisco Live presentation BRK-3101 for an explanation. I haven't thought through the consequences of not having link0type shared - but I think that is also covered in the same reference.
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