08-02-2017 07:12 AM - edited 03-01-2019 05:18 AM
Hi,
Can i make trunk native port on ACI ?
I have a connection problem between leaf with autonomous Access Point.
How can i make a configuration like this in ACI ?
switchport trunk native vlan 10
switchport trunk allowed vlan 10,20
switchport mode trunk
Without native i cannot access the BVI IP.
thanks
Solved! Go to Solution.
08-02-2017 12:41 PM
The closest equivalent of a native VLAN in ACI is disguised as 802.1p. The following is cut-and-pasted from the Cisco Application Infrastructure Fundamentals book
Follow these guidelines to assure that devices that require untagged packets operate as expected when they are connected to access ports of an ACI leaf switch.
When an access port is configured with a single EPG in native 802.1p mode, its packets exit that port untagged.
When an access port is configured with multiple EPGs, one in native 802.1p mode and some with VLAN tags, all packets exiting that access port are tagged in the following manner on the following Cisco Nexus N9K switches:
N9K-C9396PX
N9K-C93128TX
N9K-C9372PX
N9K-C9372TX
N9K-C9372PX-E
N9K-C9372TX-E
N9K-C93120TX
N9K-C9332PQ
Packets on the native VLAN exit the access port tagged as VLAN zero.
Packets from other EPGs exit with their respective VLAN tags.
Note | Certain older network interface cards (NICs) that send traffic on the native VLAN untagged, drop return traffic that is tagged as VLAN 0. This is normally only a problem on interfaces configured as trunk ports. However, if an Attachable Entity Profile (AEP) for an access port is configured to carry the infra VLAN, then it is treated as a trunk port, even though it is confugred as an access port. In these circumstances, packets sent on the native VLAN from the switch with NFE will be tagged as VLAN 0, and older switch NICs may drop them. Options to address this issue include:
|
On switch hardware that is capable of running in ACI mode, other than the models listed above, the 802.1p-mode EPG packets on the native VLAN exit the access port untagged and packets from other EPGs exit with their respective VLAN tags.
When configuring QoS for an EPG, the default value is QoS Class 3. When configuring QoS in a contract, the QoS class must be explicitly set. The QoS tagging explicitly specified in a contract takes precedence over the default EPG QoS tagging.
Note | For any access port, only one native 802.1p EPG is allowed, or only one untagged EPG is allowed. It can be one or the other but not both. When an EPG is deployed as untagged, do not deploy that EPG as tagged on other ports of the same switch. |
*************************
So what does that all mean?
Assuming that VLAN 10 and VLAN 20 are two different EPGs, it means that you should configure the port that connects to the autonomous access point like this:
The Bottom Line
What this will do is make ACI send packets for VLAN 10 with a VLAN tag of 0. That should be good for the AP to recognise the frame as on the native VLAN, BUT if the AP has a problem reading frames with a VLAN tag of 0, you could try setting the Per-Port VLAN attribute on the Access Port Policy Group.
I hope this helps
RedNectar
aka Chris Welsh
Don't forget to mark answers as correct if it solves your problem. This helps others find the correct answer if they search for the same problem
08-02-2017 12:41 PM
The closest equivalent of a native VLAN in ACI is disguised as 802.1p. The following is cut-and-pasted from the Cisco Application Infrastructure Fundamentals book
Follow these guidelines to assure that devices that require untagged packets operate as expected when they are connected to access ports of an ACI leaf switch.
When an access port is configured with a single EPG in native 802.1p mode, its packets exit that port untagged.
When an access port is configured with multiple EPGs, one in native 802.1p mode and some with VLAN tags, all packets exiting that access port are tagged in the following manner on the following Cisco Nexus N9K switches:
N9K-C9396PX
N9K-C93128TX
N9K-C9372PX
N9K-C9372TX
N9K-C9372PX-E
N9K-C9372TX-E
N9K-C93120TX
N9K-C9332PQ
Packets on the native VLAN exit the access port tagged as VLAN zero.
Packets from other EPGs exit with their respective VLAN tags.
Note | Certain older network interface cards (NICs) that send traffic on the native VLAN untagged, drop return traffic that is tagged as VLAN 0. This is normally only a problem on interfaces configured as trunk ports. However, if an Attachable Entity Profile (AEP) for an access port is configured to carry the infra VLAN, then it is treated as a trunk port, even though it is confugred as an access port. In these circumstances, packets sent on the native VLAN from the switch with NFE will be tagged as VLAN 0, and older switch NICs may drop them. Options to address this issue include:
|
On switch hardware that is capable of running in ACI mode, other than the models listed above, the 802.1p-mode EPG packets on the native VLAN exit the access port untagged and packets from other EPGs exit with their respective VLAN tags.
When configuring QoS for an EPG, the default value is QoS Class 3. When configuring QoS in a contract, the QoS class must be explicitly set. The QoS tagging explicitly specified in a contract takes precedence over the default EPG QoS tagging.
Note | For any access port, only one native 802.1p EPG is allowed, or only one untagged EPG is allowed. It can be one or the other but not both. When an EPG is deployed as untagged, do not deploy that EPG as tagged on other ports of the same switch. |
*************************
So what does that all mean?
Assuming that VLAN 10 and VLAN 20 are two different EPGs, it means that you should configure the port that connects to the autonomous access point like this:
The Bottom Line
What this will do is make ACI send packets for VLAN 10 with a VLAN tag of 0. That should be good for the AP to recognise the frame as on the native VLAN, BUT if the AP has a problem reading frames with a VLAN tag of 0, you could try setting the Per-Port VLAN attribute on the Access Port Policy Group.
I hope this helps
RedNectar
aka Chris Welsh
Don't forget to mark answers as correct if it solves your problem. This helps others find the correct answer if they search for the same problem
08-02-2017 04:42 PM
Hi Chris,
I've tried with 802.1p access vlan 10, it works, I can access BVI IP.
but when i add the vlan trunk 20 on the other epg, i lost the connection to the BVI IP.
any suggestion Chris ?
thanks
08-09-2017 07:09 AM
Hi Chris,
I have Configured "port local scope" on the port, And that solves the problem.
thanks Chris.
08-09-2017 01:30 PM
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