show cdp neighbor detail

It's the very first line!
"Device ID: Server_Room_Switch"
Reply to
Brian V
Loading thread data ...

All
In the boson test there is a question that states the following
Which of the following would be displayed by the command "SHOW CDP NEIGHBOR
DETAIL"
a) The incomming/outgoing port
b)The routers hostname
c) Ammount of Flash Memory Available
d) The Subnet Mask , if IP is configured
e) The hardware platform
f) One address per protocol
Now I know that A ,E and F are correct however they say it also shows the
hosthname, see below output from a router at work and let me know where I am
going wrong
Telehouse-1>sho cdp neighbor detail
-------------------------
Device ID: Server_Room_Switch
Entry address(es):
IP address: 10.0.70.20
Platform: cisco WS-C2950T-24, Capabilities: Switch IGMP
Interface: FastEthernet2/0, Port ID (outgoing port): FastEthernet0/1
Holdtime : 135 sec
Version :
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(19)EA1c, RELEASE
SOFTWARE (fc2)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 02-Feb-04 23:29 by yenanh
advertisement version: 2
Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27,
value=00000000FFFFFFFF010221FF000000000000001121816B40FF0000
VTP Management Domain: ''
Native VLAN: 1
Duplex: full
-------------------------
Device ID: Hydro_2950t
Entry address(es):
IP address: 10.0.77.20
Platform: cisco WS-C2950T-24, Capabilities: Switch IGMP
Interface: FastEthernet0/1.1, Port ID (outgoing port): FastEthernet0/2
Holdtime : 179 sec
Version :
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(19)EA1c, RELEASE
SOFTWARE (fc2)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 02-Feb-04 23:29 by yenanh
advertisement version: 2
Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27,
value=00000000FFFFFFFF010221FF000000000000000FF79F6E40FF0000
VTP Management Domain: ''
Native VLAN: 1
Duplex: full
Telehouse-1>
At no point in there other than at the command line do I see the routers
name
Can anyone advise at all?
Reply to
CK
Thats the Device ID the hostname is
version 12.1 service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname I-netlink_Cisco
Reply to
CK
Thats because you set a device ID in the SNMP community. That over rides the host name as showing in the CDP table.
To prove it, remove the snmp ID setting. Clear CDP info. Wait about 30seconds and you'll see the table populated with the hostnames as opposed to the device ID's.
-Brian
Reply to
Brian V
Thanks I have done that and your right, thanks alot much appreciated
Reply to
CK
The "Device ID" field is the device hostname (i.e. "Server_Room_Switch", "Hydro_2950t"). It is listed at the beginning of the "show cdp nei detail" output.
Tony
Reply to
Tony

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.