-
-
Notifications
You must be signed in to change notification settings - Fork 175
Compatible switches and routers
Here is a list of compatible hardware. Feel free to extend it.
LLDP is enabled by default on HP Procurve switches and routers. There is nothing to do. If you want to see LLDP neighbors from your HP switch, use the following command:
show lldp info remote-device
Nortel switch 425 and 55x0 series support LLDP with a 5.x firmware. This is not enabled by default. Here is the set of command to enable LLDP:
5510-24T(config)#interface FastEthernet ALL
5510-24T(config-if)#lldp tx-tlv port ALL port-desc
5510-24T(config-if)#lldp tx-tlv port ALL sys-name
5510-24T(config-if)#lldp tx-tlv port ALL sys-desc
5510-24T(config-if)#lldp tx-tlv port ALL local-mgmt-addr
5510-24T(config-if)#lldp tx-tlv port ALL dot1 vlan-name ALL
5510-24T(config-if)#lldp tx-tlv port ALL dot3 link-aggregation
5510-24T(config-if)#lldp tx-tlv port ALL dot3 mac-phy
Depending on your firmware version, some options may be unrecognized. For VLAN, unfortunately, you need to issue the command each time you add a VLAN. When using MLT, IST or SMLT, you may want to disable ingress filtering:
vlan ports ALL filter-unregistered-frames disable
To see the neighbors, use:
show lldp neighbors
For Nortel ERS 8600, there is no support for LLDP. For Nortel Switch for IBM Bladecenter (Nortel Layer 2-3 and 2-7), you need version 5.1 or more recent.
ExtremeOS and ExtremeWare supports LLDP with recent firmwares. You need to enabled it with:
enable lldp ports all
configure lldp ports all avertise management-address
configure lldp ports all avertise port-description
configure lldp ports all avertise system-capabilities
configure lldp ports all avertise system-description
configure lldp ports all avertise system-name
configure lldp ports all avertise vendor-specific dot1 vlan-name
configure lldp ports all avertise vendor-specific dot3 link-aggregation
configure lldp ports all avertise vendor-specific dot3 mac-phy
To see the neighbors, use:
show lldp neighbors
show lldp neighbors detailed
Starting from IOS 12.2(33)SXH, LLDP is supported. Use the following command to enable it:
lldp run
On each interface, you may need to accept LLDP:
interface GigabitEthernet1/7
lldp transmit
Then, you can see the neighbors with:
show lldp neighbors
Numerous platforms from Juniper support LLDP and LLDP-MED. The Juniper platforms are:
- EX series of switches (starting from JunOS 9.0)
- MX series of routers (starting from JunOS 9.6)
- M series of routers (starting from JunOS 9.6)
- J series of routers (starting from JunOS 10.1)
- SRX series of security devices (starting from JunOS 10.1)
Use:
set protocols lldp
On capable and configured devices, you can see LLDP information with:
show lldp <detail>
Where detail is optional and can include:
-
detail
(for detailed LLDP information) -
neighbors
(for LLDP neighbor information) -
statistics
(for LLDP statistics)
Dell supports LLDP on at least it's Power Connect 6200 range of layer 3 gig-switches. LLDP is globally enabled by default, but needs to be configured for each interface by doing the following, from within the global configuration context:
! This can be done for multiple ports by using the range command, e.g. "interface range ethernet all".
interface ethernet 1/g1
! Transmit the switch's hostname, other options are port-desc, sys-desc, and sys-cap (for capabilities).
lldp transmit-tlv sys-name
! Also, you can transmit information about the device's management address.
lldp transmit-mgmt
exit
Neighbours can be viewed in privileged mode with the following:
show lldp remote-device all
! Or more specifically.
show lldp remote-device 1/g1
! Or with more info.
show lldp remote-device detail 1/g1
Similar commands can be used for device introspection, by replacing
remote-device
with local-device
.
Matrix-Series and Secure-Stacks also support LLDP.
H3C switches (and any HP based on an H3C system) support lldp and runs well. One thing to understand is that bpdu-drop also drops incoming lldp packages!
SONMP is /SynOptics Network Management Protocol/. It can be used as a discovery protocol. You get far less information with SONMP than with LLDP. Stick with LLDP if possible. SONMP is supported only on Nortel switches and routers and is enabled by default, except on AlteonOS. To see neighbors, you use:
show autotopology nmm-table
To enable SONMP on Alteon:
/c/sys/mmgmt/sonmp mgmt
/c/sys/sonmp/on
CDP is only supported by Cisco (it was supported by HP Procurve but not with a recent firmware). It contains far less information than LLDP.
You can enable it with:
cdp run
You might have to enable it on each interface:
interface GigabitEthernet1/8
cdp enable
You can see the neighbors with:
show cdp neighbors
If lldpd is not able to see your Cisco equipment, retry with {{{-v}}} option. This allows to listen on VLAN as well. If your Cisco is not able to see your system with lldpd, drop me a note.
EDP is only supported by Extreme switches. It is enabled by default. You can view neighbors with:
show edp neighbors