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

One-way CDP neighborship

Hi,

On trunks between some routers and switches, the routers are visible on the switches, but the routers cannot see the switches in CDP. The trunks are otherwise working fine.

It looks like the routers only supports cdp v1, so I've tried to disable v2-advertising on the switches as well.

Any ideas?

Thanks

7 REPLIES
Cisco Employee

Re: One-way CDP neighborship

Hi Friend,

Can you please confirm if cdp is not disable on switch interface on which router is connected? CDP can be enabled globally and can be disabled on interface level as well.

HTH

Ankur

New Member

Re: One-way CDP neighborship

Thanks for answering

CDP is enabled on all routerinterfaces. The router can see other routers on other interfaces. This also occurs on routers supporting cdp v2.

Can there be an issue with CDP and trunking/native-VLAN?

--

Anders

Cisco Employee

Re: One-way CDP neighborship

Hi Anders,

As you mentioned in your original post routers are visible on switches means router is sending CDP information and switch reveives and displays but routers cannot see switches and what I am presuming is CDP can be disabled on switch interface level.

If CDP is enabled on the switch interfaces also is it possible for you to sniff the switch interface and see if switch is sending CDP information?

Regards,

Ankur

New Member

Re: One-way CDP neighborship

Hi Ankur

Sorry i didn't answer your last question completely.

CDP is enabled on every switch-trunk interface, and CDP is working fine on interswitch-links. The problem seems to be only on the routers. I have no doubt that CDP is enabled, and hope to avoid sniffing the interfaces as long as possible.

Thanks again,

Anders

New Member

Re: One-way CDP neighborship

cdp (and udld) uses the "native" untagged VLAN. You may want to create a Gig/FastEthernet subinterface just for cdp :

interface GigabitEthernet0/1.1

description tpk-vlan1-cdp-only

encapsulation dot1Q 1 native

end

New Member

Re: One-way CDP neighborship

is it possible to get the config for the router interfaces and the swith port?

New Member

Re: One-way CDP neighborship

Hi,

This seems reasonable and I will try this on the routers that are supporting this command.

Some routers however are running IOS 12.0.(xx).S which doesn't seem to accept the keyword native.

Thanks,

Anders

1562
Views
0
Helpful
7
Replies
CreatePlease to create content