Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

How does CDP determine which IP to advertise?

When looking at output from a "show cdp neighbor detail" command, what determines what IP address(es) appear under the Entry address(es) section? Is it something that can be configured, and can you have it advertise all addresses associated with that neighbor? The same goes for the information under Management address(es). I assume because of the "(es)" it is possible to have a situation with multiple entries, yet I have never seen that occur.

3 REPLIES
Cisco Employee

Re: How does CDP determine which IP to advertise?

CDP will use the local interface's IP address by default.  Newer versions of IOS offer the "cdp source-interface" command to specify what interface's IP to use for advertisements.

New Member

Re: How does CDP determine which IP to advertise?

Ok, to be a bit more specific, what happens in the case of a trunked interface, with IPs assigned to multiple VLANs on that trunk? Since posting I did discover that cdp source-interface command, which is helpful. I guess I'm still interersted in how IOS decides in situations where its not explicitly configured.

Cisco Employee

Re: How does CDP determine which IP to advertise?

The IP of the native VLAN is used.

404
Views
0
Helpful
3
Replies