cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
927
Views
10
Helpful
4
Replies

Hosts

Nathan Sowatskey
Cisco Employee
Cisco Employee

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

4 Replies 4

yawming
Cisco Employee
Cisco Employee

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

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

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

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

....