07-05-2017 12:51 AM - edited 03-01-2019 05:16 AM
Hello Community,
Our ACI starter-kit was working fine until i decided to do a factory reset and start the config again from the scratch.
My problem now is that our leaf switches are not discovered anymore by the apic did some check and i can confirm that my leaf has the apic as an LLDP neighbor but apic can't see any leaf as lldp neighbor.
My ACI version is 2.2(2i).
The reset has been executed on the apic as well as on all fabric switches
any advice will realy be appreciated
Thanks
Solved! Go to Solution.
07-05-2017 06:11 AM
On the APIC CLI, please run "acidiag restart dhcpd" and then reload the leaf attached to the APIC.
On the CLI of the leaf & spines at the "(none)" prompt, run the following commands:
openssl asn1parse < /securedata/ssl/server.crt | grep PRINTABLESTRING
openssl asn1parse < /securedata/ssl/server.crt | grep UTF8STRING
Let me know what happens
Cheers!
T.
07-06-2017 06:35 AM
Driss,
wiringIssues : infra-vlan-mismatch
This can sometimes happen by connecting a leaf from one fabric to another therefore it having a different vlan and fabric domain. Basically the leaf keeps the same infra VLAN from the fabric it was originally apart of. If you remember doing this, try removing that leaf from the fabric to see if that issue goes away. Before you add an existing switch to a new fabric you need to clean the configuration properly and reload it. My guess is that your APIC and leaf have different infra VLANs. Please verify this.
07-05-2017 04:11 AM
Single APIC or 3 APICs?
T.
07-05-2017 05:39 AM
Hello Thomas,
Thank you for your reply
actually
I have only one APIC.
i have reloaded the leaf and spines many times
the cabling is correct as everything was working fine before i reset the system
set inservice commande is executed but still not discoverd
the leaf can see the apic but the apic can"t see the leaf as lldp neighbor
07-05-2017 06:05 AM
What is leaf/spine firmware version?
07-05-2017 06:26 AM
the version is 2.2(2i)
07-06-2017 06:35 AM
Driss,
wiringIssues : infra-vlan-mismatch
This can sometimes happen by connecting a leaf from one fabric to another therefore it having a different vlan and fabric domain. Basically the leaf keeps the same infra VLAN from the fabric it was originally apart of. If you remember doing this, try removing that leaf from the fabric to see if that issue goes away. Before you add an existing switch to a new fabric you need to clean the configuration properly and reload it. My guess is that your APIC and leaf have different infra VLANs. Please verify this.
07-06-2017 07:13 AM
Hello Michael,
Thank you for your response
the leaf switch dont have any vlan on it as i reset it many times
module-1# show system internal eltmc info vlan summary
VLAN Summary
Control BD: 0
User BD Count: 0
Extrn BD Count: 0
FD Count: 0
FD VXLAN Count: 0
Total: 0
module-1#
module-1# show system internal eltmc info vlan brief | grep BD_CTRL_VLAN
module-1# show system internal eltmc info vlan brief
VLAN-Info
VlanId HW_VlanId Type Access_enc Access_enc Fabric_enc Fabric_enc BD
Vlan
Type Type
================================================================================
==
module-1#
but in the apic i can see that the vlan used is 4001 even if during my configuration i gave 4095, i think the factory reset in the apic is not working properly because the vlan 4001 was the infra_vlan during the first startup.
i will try to give my apic the vlan 4001 again and see what's will happen.
Best regards
07-06-2017 07:59 AM
It's working now, i had to give the the infa vlan 4001 that was used for the first installation.
it means that even if did the reset factory of the apic many times and i gave different infra vlan but the apic kept using the vlan 4001
it might be a bug.
07-06-2017 08:32 AM
Hello,
What process did you take to wipe the switch? setup-clean-config.sh was the old way to wiping and in newer version (2.x and later I believe) you should use "acidiag touch clean" on the leaf (the same as you would on an apic). Can you confirm if you tried wiping the leaf that way as well?
Joe
07-06-2017 08:39 AM
I tried both way but i had the same result
07-06-2017 08:00 AM
Take a look at the output from the following commands run on the APIC:
apic# bash
apic1:~> show lldptool in eth2-1
apic1:~> show lldptool in eth2-2
apic1:~> show lldptool out eth2-1
apic1:~> show lldptool out eth2-2
Look for what value is in the "Cisco Infra VLAN TLV"
T.
07-05-2017 06:11 AM
On the APIC CLI, please run "acidiag restart dhcpd" and then reload the leaf attached to the APIC.
On the CLI of the leaf & spines at the "(none)" prompt, run the following commands:
openssl asn1parse < /securedata/ssl/server.crt | grep PRINTABLESTRING
openssl asn1parse < /securedata/ssl/server.crt | grep UTF8STRING
Let me know what happens
Cheers!
T.
07-05-2017 06:24 AM
I have reloaded the dhcp service and rebooted the leaf with no result
here is the result of the commands
(none)# openssl asn1parse < /securedata/ssl/server.crt | grep PRINTABLESTRING
51:d=5 hl=2 l= 13 prim: PRINTABLESTRING :Cisco Systems
75:d=5 hl=2 l= 22 prim: PRINTABLESTRING :Cisco Manufacturing CA
142:d=5 hl=2 l= 34 prim: PRINTABLESTRING :PID:N9K-C93180YC-EX SN:FDO210721GX
187:d=5 hl=2 l= 11 prim: PRINTABLESTRING :FDO210721xx
(none)# openssl asn1parse < /securedata/ssl/server.crt | grep UTF8STRING
(none)#
07-05-2017 09:59 AM
Ok the CERTs are good.
Please run the "Date" command on the APIC and the Leaf attache to the APIC. The date & time need to be in sync (meaning relatively close, like 60 minutes).
If there is a big difference, set the date on the leaf to match the APIC. Then you will need to SAVE running clock to system clock. And then reboot the leaf.
For Example:
admin@leaf1# date --set="30 JUN 2016 08:39:30"
Thu Jun 30 08:39:30 UTC 2016
admin@leaf1# setup-hwclock.sh
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
Done
Software clock (date) - Thu Jun 30 08:42:02 UTC 2016
Hardware clock (hwclock) - Fri Jun 30 12:42:18 2017 -0.984876 seconds
admin@leaf1# setup-hwclock.sh --systohc
In progress
In progress
In progress
In progress
Done
Software clock (date) - Thu Jun 30 08:43:02 UTC 2016
Hardware clock (hwclock) - Thu Jun 30 08:43:03 2016 -0.500399 seco
07-06-2017 12:31 AM
Hello again Thomas,
actually the clock is in synch
i see something strange when i was looking on the summary of the interface that connect my leaf to the apic,here is the output
(none)# cd /mit/sys/lldp/inst/if-\[eth1--1\]/
(none)# cat summary
# LLDP Interface
id : eth1/1
adminRxSt : enabled
adminSt : enabled
adminTxSt : enabled
childAction :
descr :
dn : sys/lldp/inst/if-[eth1/1]
lcOwn : local
mac : 70:DB:98:32:C7:XX
modTs : 2017-07-06T07:18:19.068+00:00
monPolDn : uni/fabric/monfab-default
name :
operRxSt : enabled
operTxSt : enabled
portDesc :
portMode : normal
portVlan : unspecified
rn : if-[eth1/1]
status :
sysDesc :
wiringIssues : infra-vlan-mismatch
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