04-04-2016 02:05 PM - edited 03-01-2019 04:56 AM
Ok, I set my infra vlan about 4 months ago and I cant remember what number I used.
I'm working on another fabric in our 2nd Datacenter and I dont want to overlap the vlans (or do I?)
I cannot find the infrastructure vlan anywhere in the GUI or via SSH to the APIC. I'm a tad NIX illiterate so not much chance of finding it in shell without some hand-holding.
Anyone know where to find this info on a running fabric?
Solved! Go to Solution.
04-04-2016 02:18 PM
Hi Dan,
The simplest way to check the infrastructure VLAN is to issue the "ifconfig | grep bond0." command. This will show you the VLAN configured for the APIC interfaces going to the fabric, which is the infra VLAN.
e.x.
admin@apic1:~> ifconfig | grep bond0.
bond0 Link encap:Ethernet HWaddr 58:F3:9C:5A:B9:62
bond0.4093 Link encap:Ethernet HWaddr 58:F3:9C:5A:B9:62
On this fabric the infra VLAN is 4093
Let me know if that works for you.
04-04-2016 02:18 PM
Hi Dan,
The simplest way to check the infrastructure VLAN is to issue the "ifconfig | grep bond0." command. This will show you the VLAN configured for the APIC interfaces going to the fabric, which is the infra VLAN.
e.x.
admin@apic1:~> ifconfig | grep bond0.
bond0 Link encap:Ethernet HWaddr 58:F3:9C:5A:B9:62
bond0.4093 Link encap:Ethernet HWaddr 58:F3:9C:5A:B9:62
On this fabric the infra VLAN is 4093
Let me know if that works for you.
04-04-2016 02:21 PM
Go figure it is the vlan I thought it was. Turns out the memory isnt so bad after all.
THANKS lpember !
07-12-2021 11:29 PM
Can you tell me if we can find using:
#acidiag avread command
07-13-2021 02:52 AM - edited 08-03-2022 01:33 PM
[Edit: 2022.08.04 after seeing @Amjad Hashim 's suggestion]
The easiest way to find the infrastructure VLAN is to use the show lldp
command on the APIC
apic1# show lldp Device-ID Local-Intf Port-ID Infra-Vlan -------------------- ---------- ------------- ------ Leaf2202 eth2/2* Eth1/1 3962 Leaf2201 eth2/1 Eth1/1 3962
[end edit]
Hi @AshishSehgal91267 ,
@AshishSehgal91267 wrote:
Can you tell me if we can find using:
#acidiag avread command
No - you can't find the infrastructure VLAN using the
acidiag avread
command. As mentioned above, the command
ifconfig | grep bond0
is the one way to find the infrastructure VLAN.
BTW - if you do wish to see the output of acidiag avread formatted better, use the avread command (without acidiag). It may not have ALL the information, but at least you can read it. |
Another way to find the infrastructure VLAN is to use the route command from bash - here I can see the infrastructure VLAN is 3962. (VLAN 203 is for inband management)
apic1# bash admin@apic1:~> route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 172.16.12.1 0.0.0.0 UG 16 0 0 oobmgmt 0.0.0.0 192.168.10.254 0.0.0.0 UG 32 0 0 bond0.203 10.2.0.0 10.2.0.30 255.255.0.0 UG 0 0 0 bond0.3962 10.2.0.30 0.0.0.0 255.255.255.255 UH 0 0 0 bond0.3962 10.10.3.0 192.168.10.254 255.255.255.0 UG 0 0 0 bond0.203 10.10.6.15 192.168.10.254 255.255.255.255 UGH 0 0 0 bond0.203 169.254.1.0 0.0.0.0 255.255.255.0 U 0 0 0 teplo-1 169.254.254.0 0.0.0.0 255.255.255.0 U 0 0 0 lxcbr0 172.16.12.0 0.0.0.0 255.255.255.0 U 0 0 0 oobmgmt 192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0.203 192.168.10.254 0.0.0.0 255.255.255.255 UH 0 0 0 bond0.203
08-05-2022 12:52 AM
What if in-band connectivity is also configured, then we would see a second bond0.xx subinterface with the command "ifconfig | grep bond0". How could then one distinguish it from the infrastructure VLAN?
08-06-2022 03:02 AM
Hi @Wassim Aouadi ,
Wow. I hate convoluted threads that continue after the original question is answered. Much better to ask a NEW question with reference to this old thread - that's how your question can help MORE PEOPLE
But back to "How could then one distinguish it from the infrastructure VLAN?"
The answer is show lldp
- like I said in my update a couple of days ago.
apic1# show lldp Device-ID Local-Intf Port-ID Infra-Vlan -------------------- ---------- ------------- ------ Leaf2202 eth2/2* Eth1/1 3962 Leaf2201 eth2/1 Eth1/1 3962
08-02-2022 07:48 AM
09-26-2024 02:43 AM
I'm working on another fabric in our 2nd Datacenter and I dont want to overlap the vlans (or do I?)You should have the same Vlan ID on all Pods.
I have an issue ATM since we want to deploy OpneShift cluster that straches over multiple Pods. It needs the infra Vlan ID to be the same over all pods. On one Pod, somehow the infra Vlan is different from others. Now I am preforming Fabric Rebuild for the pod to provision the sam Vlan ID
09-26-2024 03:51 AM
This post is already answered. If the answer didn't answer your question, ask a new one (with reference to this one if necessary)
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