How about a universal device poller using OID 18.104.22.168.22.214.171.124.126.96.36.199.1.6.*
You could also in a round of bout sort of way also get the same information from the "Network Connectivity" resource, then you wouldn't have to write a UDP and you would also clearly have the interfaces they connect on. Where as with a UDP you get the interface OID's which can be cryptic if you have a lot of neighbors.
do you know if i can get also the information about Avaya Ip Phone connected to the switch port?
With CDP i can get only cisco's device information and i need to view all the devices (included the type) connected to the switch.
For Avaya phones, you could have a look at Solarwinds Switch Port Mapper included in the Engineer toolset to give you a better idea of what is plugged where.
Avaya / Nortel typically uses LLDP.
Cisco will support LLDP messages if you configure it.
1.0.8802.1.1.2.1.5.32962 LLDP-EXT-DOT1-MIB (LLDP-EXT-DOT1-MIB.mib)
1.0.8802.1.1.2.1.5.4623 LLDP-EXT-DOT3-MIB (LLDP-EXT-DOT3-MIB.mib)
1.0.8802.1.1.2.1.5.4795 LLDP-EXT-MED-MIB (LLDP-EXT-MED-MIB.mib)
1.0.8802.1.1.2 LLDP-MIB (LLDP-MIB.mib
I saw these at: http://www.mibdepot.com/cgi-bin/vendor_index.cgi?r=avaya