24 April 2010

lldp in Nortel switches

SynOptics Network Management Protocol (SONMP) --> Bay Network Management Protocol (BNMP) or Bay Discovery Protocol (BDP) --> Nortel Discovery Protocol (NDP)

Nortel switch 425 and 55x0 series support LLDP with a 5.x firmware.
show lldp neighbors
SONMP is supported only on Nortel switches and routers and is enabled by default. The Network Management Module table shows the slot number and port number of the remote device used to send out the topology packet.
show autotopology nmm-table
LLDP frames are sent by equipments on each port at a fixed frequency.
LLDP-MED (Media Endpoint Discovery) is an enhancement of LLDP.
Sample LLDP packets captured are: lldp.minimal.pcap, lldp.detailed.pcap, lldpmed_civicloc.pcap

Steps to install LLDP agent in a Linux machine:
download lldp demon from here.
./configure
make
make install

mkdir /var/run/lldpd
useradd _lldpd

lldpd
# lldpctl
LLDP neighbors:
Interface: eth0, via: LLDP, RID: 1, Time: 0 day, 19:20:38
Chassis:
ChassisID: mac AA:BB:CC:DD:EE:00
SysName: Not received
SysDescr: Not received
Port:
PortID: mac AA:BB:CC:DD:EE:15
PortDescr: Not received
This means eth0 of the current linux machine is connected to the port 15 of the switch with mac address AA:BB:CC:DD:EE:00.

Reference:
https://trac.luffy.cx/lldpd/wiki/CompatibleHardware#SONMP
https://trac.luffy.cx/lldpd/wiki/CompatibleHardware#Nortel
http://wiki.wireshark.org/SampleCaptures

No comments:

Post a Comment