Welcome, Guest. Please login or register.

Author Topic: cdp contra lldp in dis protocol  (Read 6189 times)

oxo

  • Guest
cdp contra lldp in dis protocol
« on: January 04, 2010, 10:24:10 AM »
The check for type of discovery protocol may need to be changed: instead of only allowing  CDP or LLDP per device it probably should be LLDP|CDP ...
We now have cases in our nets for this due to other than cisco devices supporting only LLDP
- so a cisco has to LLDP|CDP
« Last Edit: January 04, 2010, 12:26:14 PM by oxo »

steffen1

  • Guest
Re: cdp contra lldp in dis protocol
« Reply #1 on: January 06, 2010, 01:04:16 AM »
I would suggest to make a global setting in nedi.conf to can overwrite the discover protocol from the device specific defs, because usually you use one discover protocol for the whole network. Either you use LLDP in heterogeneous networks or the properitery vendor dependend pendant. B.t.w., one of the properitary discover protocol I miss in NeDi is Autotopology for Nortel networks.

oxo

  • Guest
Re: cdp contra lldp in dis protocol
« Reply #2 on: January 23, 2010, 11:53:06 PM »
I am thinking:
General nedi.conf and/or command line option: LLDP&CDP or CDP or LLDP or ...
Specific device attribute for dis prot: LLCP&CDP or etc

(For the moment, wait with def files)

If one has a network, and don't know anything except community name of def gw:
start a discovery with LLDP&CDP
those devices that answer to the dis protocol are saved with LLDP&CDP or etc

Now one has a number of devices with dis protocl set "correctly".

However, if one knows which dis prot is used throughout the net, only use the correct one in nedi.conf or cmd line option.

If one latter needs to enable LLDP on a CDP device (or vice versa), then enable it per device or net dependant on needs.

My needs are a small number of Cisco's connected to Juniper core boxes
- Juniper is only(?) LLDP, Cisco is "normally" CDP but supports LLDP

And the def file, hmm ...
« Last Edit: January 23, 2010, 11:55:10 PM by oxo »

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2763
    • View Profile
    • NeDi
Re: cdp contra lldp in dis protocol
« Reply #3 on: January 26, 2010, 06:43:12 PM »
A  ProCurve device can handle multiple protocols (e.g. receiving CDP and LLDP, but only sends LLDP). It even populates the CDP Mib. Yet it makes no sense to use it, since it copies CDP neighbours into the LLDP Mib as well...

It's usually not the problem of which protocol is being used, but how (well) it's implented...

steffen, Nortel also supports LLDP. Is Autotopology something else? E.g. accessible in another Mib?
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

steffen1

  • Guest
Re: cdp contra lldp in dis protocol
« Reply #4 on: February 10, 2010, 01:37:05 AM »
Yes, nortel supports LLDP as well but most common, because the default, is Autotopology in Nortel networks.

Here the OID's after enterprise

[!AutoTopology]
Slot=         s5EnMsTopNmmSlot.*         45.1.6.13.2.1.1.1   INTEGER
Port=         s5EnMsTopNmmPort.*         45.1.6.13.2.1.1.2   INTEGER
SegmentID=   s5EnMsTopNmmSegId.*         45.1.6.13.2.1.1.4   INTEGER
RemoteIP=      s5EnMsTopNmmIpAddr.*      45.1.6.13.2.1.1.3   IpAddress
RemoteChassis=   s5EnMsTopNmmChassisType.*   45.1.6.13.2.1.1.6   INTEGER