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

cdp neighbours command

ersin erol
Level 1
Level 1

Hi all

When "#show cdp neighbours detail"  command run,appear an IP. This ip other switche's Vlan2  IP, is it normal ?

When this command run i should see neighbour's Vlan1 ip, right ?

 

King Regards

2 Replies 2

InayathUlla Sharieff
Cisco Employee
Cisco Employee

Ersin,

The CDP neighbor should show vlan 1 ip address under the show cdp neighbor details.

 

But:-

1- When you dont have any ip address configured on the vlan 1 ==> You will see the next vlan(ie the vlan which is been configured with ip.)

 

2- Vlan 1 is shut down at both the ends.

 

Next Action:

=========

1- Do you have ip address under the vlan 1?

2- show int vlan 1-- does it show you as up state?

 

HTH

Regards

Inayath

****Please do not forget to rate all usefull post*********

 

Here is the example:-

interface Vlan1
 ip address 1.1.1.2 255.255.255.0
!
interface Vlan2
 ip address 2.2.2.2 255.255.255.0
!

Switch#sh cdp ne de

Device ID: Switch
Entry address(es): 
  IP address : 1.1.1.1 >>>>>>>>>>>>>>>..  Other end ip address.
Platform: cisco 3560, Capabilities: 
Interface: FastEthernet0/1, Port ID (outgoing port): FastEthernet0/1
Holdtime: 175

 

 

2- Now I will shut down the vlan 1 both the ends.

Switch(config)#int vlan 1
Switch(config-if)#shut

 

Switch#sh cdp ne de

Device ID: Switch
Entry address(es): 
  IP address : 2.2.2.1 >>>>>>>>> Now you can see here it has picked vlan 2 ip address.

 

HTH

regards

Inayath

Review Cisco Networking for a $25 gift card