10-28-2016 02:24 AM - edited 03-01-2019 04:32 AM
Hi
How does one add hosts to APIC-EM?
In my case, I have a Linux VM on the same LAN segment as the APIC-EM VM.
I expect that Linux VM to appear as a host, as it seems to fit the definition of what a host should be.
The Linux VM does not appear as a host though.
The Linux VM is detected in the Device Discovery, and it does have SSH access with a cisco/cisco account, and a cisco/cisco account is configured in global credentials, and those global credentials are configured for the discovery job.
Device Control is enabled, but the discovery entry for the Linux VM is reporting that the SNMP is timing out.
Since Device Control is enabled, and the Linux VM can be accessed via the CLI/SSH with global credentials configured for the discovery job, I expect that CLI could be used to enable SNMP as required.
Whether that is even relevant to host discovery, or even if it is relevant, I can't be certain.
Any guidance appreciated.
Many thanks
Nathan
10-28-2016 09:09 AM
The host can be discovered via CDP/LLDP/IP Device Tracking or SNMP Traps (only for wireless hosts).
What is the device this host is supposed to connect to ?
Thanks,
Yawming
10-31-2016 10:09 AM
Thanks Yawming
The host is being seen in the IP range, but that is all. It is not being discovered per se.
The APIC-EM instance and the Linux VM are on the same subnet, if that answers your question?
Regards
Nathan
11-01-2016 03:21 PM
Hi Nathan,
The SNMP/CLI credentials are used to discover the network devices only and not the hosts. As mentioned by Yawming the hosts that are connected to a network device, will be discovered using CDP/LLDP/IP device tracking . For a linux VM to be discovered as a host, it needs to be connected to a switch where you have "ip device tracking" enabled (assuming it is a wired host).
Thanks,
Ashutosh
11-01-2016 10:53 PM
Hi Nathan,
When you log in to the switch and entering the command:
show ip device tracking all
Do you see the IP of the Linux VM?
I had to enable IP device tracking by entering this commands under configuration mode:
ip device tracking
ip device tracking probe delay 10
And I also had to enable device tracking per-interface with a hidden command in enable mode:
ip device tracking interface Fa0/0
ip device tracking interface Fa0/1
....
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