09-26-2024 07:08 AM - edited 09-26-2024 08:06 AM
Say I will have 6 compute leaf switches (101-106) in the ACI fabric which will have three tenants (T-A, T-B and T-C). I do not have any VLAN overlap between tenants.
To keep the post simple, I would do the static port binding for EPGs/VLANs to ports.
So what would be the best practices to map/assign leaf switch(es) and/or port(s) to individual tenant? Or do I even need to care about the mapping/assignments?
Whatif I do have VLAN overlapping between Tenants?
Thanks in advance!
Solved! Go to Solution.
10-17-2024 12:22 PM
Hi @SIMMN ,
So will these VLAN overlapping scenarios work? I got VLAN 100 in both Tenant A and Tenant B with 2nd gen or newer leaf switches.
#1, can I have Leaf 101 Port eth1/1 trunk for VLAN 100 under Tenant A and Leaf 101 port eth1/10 trunk for VLAN 100 under Tenant B?
#2, can I have Leaf 101 Port eth1/1 trunk for VLAN 100 under Tenant A and Leaf 101 port eth1/10 access for VLAN 100 under Tenant B?
#3, can I have Leaf 101 Port eth1/1 access for VLAN 100 under Tenant A and Leaf 101 port eth1/10 access for VLAN 100 under Tenant B?
The answer to all 3 of these questions is:
YES - but you'll need to configure the Interface Policy for put ports to include a L2 Interface Policy that enables Port Local Scope. And also remember that if any port is configured as an access port, it cannot carry tagged traffic as well. Should you require an access port to carry tagged traffic, configure it as an 802.1p port.
10-17-2024 02:36 AM
So what would be the best practices to map/assign leaf switch(es) and/or port(s) to individual tenant? Or do I even need to care about the mapping/assignments?
Map as you like.
Whatif I do have VLAN overlapping between Tenants?
VLANs in ACI have local significance. Different Tenants can use the same VLAN IDs without any confliction. So no worries here too.
Check:
10-17-2024 04:50 AM
So will these VLAN overlapping scenarios work? I got VLAN 100 in both Tenant A and Tenant B with 2nd gen or newer leaf switches.
#1, can I have Leaf 101 Port eth1/1 trunk for VLAN 100 under Tenant A and Leaf 101 port eth1/10 trunk for VLAN 100 under Tenant B?
#2, can I have Leaf 101 Port eth1/1 trunk for VLAN 100 under Tenant A and Leaf 101 port eth1/10 access for VLAN 100 under Tenant B?
#3, can I have Leaf 101 Port eth1/1 access for VLAN 100 under Tenant A and Leaf 101 port eth1/10 access for VLAN 100 under Tenant B?
10-17-2024 12:22 PM
Hi @SIMMN ,
So will these VLAN overlapping scenarios work? I got VLAN 100 in both Tenant A and Tenant B with 2nd gen or newer leaf switches.
#1, can I have Leaf 101 Port eth1/1 trunk for VLAN 100 under Tenant A and Leaf 101 port eth1/10 trunk for VLAN 100 under Tenant B?
#2, can I have Leaf 101 Port eth1/1 trunk for VLAN 100 under Tenant A and Leaf 101 port eth1/10 access for VLAN 100 under Tenant B?
#3, can I have Leaf 101 Port eth1/1 access for VLAN 100 under Tenant A and Leaf 101 port eth1/10 access for VLAN 100 under Tenant B?
The answer to all 3 of these questions is:
YES - but you'll need to configure the Interface Policy for put ports to include a L2 Interface Policy that enables Port Local Scope. And also remember that if any port is configured as an access port, it cannot carry tagged traffic as well. Should you require an access port to carry tagged traffic, configure it as an 802.1p port.
10-17-2024 12:41 PM
Thanks for the info but why? Is it just because the overlapping VLAN between Tenants is on the same Leaf? I guess I am just too familiar with the use case of Port Local Scope.
10-17-2024 06:00 PM
Hi @SIMMN ,
I'm struggling to remember the reason why per=port VLAN scope is NOT the default - but I suspect it has something to do with either
10-17-2024 11:55 PM
VLAN Scope: Port Local scope
As per Cisco APIC Online Help:
Port Local scope—Allows allocation of separate (Port, Vlan) translation entries in both ingress and egress directions. This configuration is not valid when the EPGs belong to a single bridge domain.
From the Search:
In Cisco Application Centric Infrastructure (ACI) and specifically within the Application Policy Infrastructure Controller (APIC), configuring the VLAN scope as "Port Local" has a specific meaning and purpose.
When you configure a VLAN with a "Port Local" scope, it means that the VLAN is only significant and unique to the specific port (or interface) on which it is configured. In other words, the VLAN ID is only locally significant to that particular port and does not need to be unique across the entire fabric or even across other ports on the same switch.
The primary purpose of using a "Port Local" VLAN scope is to provide flexibility and simplify VLAN management in scenarios where VLAN IDs do not need to be globally unique across the entire ACI fabric. This can be particularly useful in the following scenarios:
Simplified VLAN Management: By using port-local VLANs, you can reuse the same VLAN ID on different ports without worrying about VLAN ID conflicts across the fabric. This can simplify the configuration and management of VLANs, especially in large environments.
Support for Overlapping VLANs: In multi-tenant environments or when integrating with legacy networks, you might encounter overlapping VLAN IDs. Port-local VLANs allow you to handle these overlaps without requiring a global VLAN ID renumbering.
Ease of Migration: When migrating from a traditional network to ACI, you might have existing VLAN configurations that you want to preserve. Using port-local VLANs can make this transition smoother by allowing you to maintain the same VLAN IDs on specific ports.
Enhanced Security and Isolation: By limiting the scope of a VLAN to a specific port, you can enhance security and isolation. Traffic within a port-local VLAN is confined to that port, reducing the risk of VLAN hopping attacks and unintended traffic leakage.
Consider a scenario where you have multiple tenants, each with their own VLANs, and you want to ensure that the VLAN IDs used by one tenant do not interfere with those used by another tenant. By configuring VLANs with a port-local scope, you can assign the same VLAN ID to different tenants on different ports without any conflict.
In Cisco ACI, you typically configure VLAN scope as part of the EPG (Endpoint Group) configuration. When defining the VLAN for an EPG, you can specify the scope as "Port Local" to achieve the desired behavior.
Configuring VLAN scope as "Port Local" in Cisco ACI APIC allows VLAN IDs to be locally significant to individual ports, providing flexibility, simplifying management, and supporting scenarios with overlapping VLANs or multi-tenant environments. This approach can be particularly beneficial in large-scale deployments, migrations, and environments requiring enhanced security and isolation.
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