Symptom
The 'show cdp neighbor' and 'show cdp neighbor detail' commands return less than expected neighbors when run from ibash.
Conditions
Running an affected ACI version while connected to a neighbor device that contains double quotes in its System Location field.
Workaround
Run the 'show cdp neighbor' comand from vsh
OR
Remove the double quotes from the System Location of the neighboring device. This value can be seen when running "show cdp neighbor detail" from vsh.
Further Problem Description
As an example, from ibash there are only two cdp neigbhors (unexpected):
Leaf1# show cdp neighbors
Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
S - Switch, H - Host, I - IGMP, r - Repeater,
V - VoIP-Phone, D - Remotely-Managed-Device,
s - Supports-STP-Dispute
Device-ID Local Intrfce Hldtme Capability Platform Port ID
Device1
Eth1/40 146 R S s N7K-C7010 Eth4/8
Device2
Eth1/41 151 R S s N7K-C7010 Eth4/8
=====
However, from vsh/techsupport, there are four neighbors (expected):
`show cdp neighbors`
Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
S - Switch, H - Host, I - IGMP, r - Repeater,
V - VoIP-Phone, D - Remotely-Managed-Device,
s - Supports-STP-Dispute
Device-ID Local Intrfce Hldtme Capability Platform Port ID
Device1
Eth1/40 167 R S s N7K-C7010 Eth4/8
Device2
Eth1/41 172 R S s N7K-C7010 Eth4/8
Device3
Eth1/46 170 R S s N77-C7710 Eth1/20
Device4
Eth1/47 170 R S s N77-C7710 Eth1/20