PDA

View Full Version : 7th Edition - Page 312 regarding CDP


Lion66six
06-11-2011, 06:16 PM
Hi all,

I'm reviewing the CDP sections in the 7th edition. Working on Figure 7.2, which shows how to map the IP addresses of the routers around the main router via CDP commands. The problem I have is on Page 313, near the bottom when it shows the output from the "Show CDP Neighbors" command.

This command shows the type of routers around the main router, and what interface they are on. However the book then assumes that because an interfaces IP address is 192.168.21.1, then the other side would be 192.168.21.2 (aka 1 ip up). Surely assuming this IP address could be dangerous, or is there something else in the text that suggests this is how the network is configured?

From another angle, the top section of Page 314 states "we can now create the topology in Figure 7.3". You can, but not the IP addresses of the remote routers?

DonB
06-11-2011, 08:23 PM
Show cdp neighbors detail will give you the ip address

Big Evil
06-12-2011, 01:59 AM
Show cdp neighbors detail will give you the ip address

Show cdp neighbor details ;)

lammle
07-03-2011, 01:53 PM
Certainly show cdp neighbors detail will give us that information, and Cisco wants you to know that (you can also use "show cdp entry *), but we can also assume in this question as these are point to point links, so the address is typically the next one in the host range.
Todd

Lion66six
07-04-2011, 04:11 AM
Cheers Todd, thats what I was hoping would be the answer. :-)