cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1965
Views
15
Helpful
7
Replies

Cisco router can detect cdp neighbor if the two routers are configured with vrf interface?

wfqk
Level 5
Level 5

Cisco router can detect cdp neighbor if the two routers are configured with vrf interface? thank you

1 Accepted Solution

Accepted Solutions

Only one interface g0/0/0 can show cdp neighbor. then i found there is command "cdp enable" under the interface, while other interface cannot see cdp neighbor where there are not "cdp enable" under all other interfaces. that might be its reason. but I cannot see "% CDP is not enabled" if we do not enable cdp

That is the correct behavior. CDP is globally diable.  So, if you enable only for an interface that is the only interface that can be used.  If you enable it globally then you will see it enabled for all interfaces.

BTW, if there is a device, for example, riverbed(might be layer2) located between two Cisco devices(cdp enabled), do you think these two Cisco device can see cdp neighbor of each other? 

No, the devices have to be directly connected.

HTH

 

View solution in original post

7 Replies 7

rasmus.elmholt
Level 7
Level 7
Yes, CDP is a Layer 2 thing and bound to the interface and not the VRF.

Reza Sharifi
Hall of Fame
Hall of Fame

Yes, CDP should still work with no issues.

HTH

Thanks for your reply. It looks like cdp is disabled by default in asr1k

Hi,

I think your statement is correct for all ASRs.

If you do a sh cdp nei and you see this

% CDP is not enabled

then it is disabled.

HTH

Only one interface g0/0/0 can show cdp neighbor. then i found there is command "cdp enable" under the interface, while other interface cannot see cdp neighbor where there are not "cdp enable" under all other interfaces. that might be its reason. but I cannot see "% CDP is not enabled" if we do not enable cdp

 

BTW, if there is a device, for example, riverbed(might be layer2) located between two Cisco devices(cdp enabled), do you think these two Cisco device can see cdp neighbor of each other? 

 

 

Only one interface g0/0/0 can show cdp neighbor. then i found there is command "cdp enable" under the interface, while other interface cannot see cdp neighbor where there are not "cdp enable" under all other interfaces. that might be its reason. but I cannot see "% CDP is not enabled" if we do not enable cdp

That is the correct behavior. CDP is globally diable.  So, if you enable only for an interface that is the only interface that can be used.  If you enable it globally then you will see it enabled for all interfaces.

BTW, if there is a device, for example, riverbed(might be layer2) located between two Cisco devices(cdp enabled), do you think these two Cisco device can see cdp neighbor of each other? 

No, the devices have to be directly connected.

HTH

 

Great, Thank you!