cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1601
Views
0
Helpful
2
Replies

ARP and CDP

Hi All,

 

Does the below 2 commands are used for same purpose?

1. Sh ip arp 

2. sh cdp neighbors

 

Both will show the list of connected devices. Please correct me if I am wrong.

 

Thanks.

1 Accepted Solution

Accepted Solutions

Mark Malone
VIP Alumni
VIP Alumni
Hi
sh ip arp is the table where all IPs are stored and where they are resolved from MAC to ARP l2 to l3 , they may not be directly connected though as this is held on the L3 switch and can show ips from devices connected to layer 2 switches it has resolved in its own switch , the layer 2 switch if pure l2 will not have the full arp table

CDP is directly attached Cisco devices a discovery feature , it only sees Cisco and some other vendors devices which allow it but it wont see all connected devices like a HP pc or some 3rd party printer etc , LLDP can see most of those though as its open standard

View solution in original post

2 Replies 2

Mark Malone
VIP Alumni
VIP Alumni
Hi
sh ip arp is the table where all IPs are stored and where they are resolved from MAC to ARP l2 to l3 , they may not be directly connected though as this is held on the L3 switch and can show ips from devices connected to layer 2 switches it has resolved in its own switch , the layer 2 switch if pure l2 will not have the full arp table

CDP is directly attached Cisco devices a discovery feature , it only sees Cisco and some other vendors devices which allow it but it wont see all connected devices like a HP pc or some 3rd party printer etc , LLDP can see most of those though as its open standard

Thanks Mark.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: