Link Layer Discovery Protocol - Media Endpoint Discovery (LLDP-MED) (ANSI-TIA-1057) provides an extension to the LLDP standard. Specifically, LLDP-MED provides extensions for network configuration and policy, device location, Power over Ethernet (PoE) management and inventory management.
lldp med
Use this command to enable MED on an interface or a range of interfaces. By enabling MED, you will be effectively enabling the transmit and receive function of LLDP.
Default: disabled
Format: lldp med
Mode: Interface Config
no lldp med
Use this command to disable MED.
Format: no lldp med
Mode: Interface Config
lldp med confignotification
Use this command to configure an interface or a range of interfaces to send the topology change notification.
Default: disabled
Format: lldp med confignotification
Mode: Interface Config
no ldp med confignotification
Use this command to disable notifications.
Format: no lldp med confignotification
Mode: Interface Config
lldp med transmit-tlv
Use this command to specify which optional Type Length Values (TLVs) in the LLDP MED set will be transmitted in the Link Layer Discovery Protocol Data Units (LLDPDUs) from this interface or a range of interfaces.
Default: By default, the capabilities and network policy TLVs are included.
Format: lldp med transmit-tlv [capabilities] [ex-pd] [ex-pse] [inventory] [location] [network-policy]
Mode: Interface Config
capabilities: Transmit the LLDP capabilities TLV.
ex-pd: Transmit the LLDP extended PD TLV.
ex-pse: Transmit the LLDP extended PSE TLV.
inventory: Transmit the LLDP inventory TLV.
location: Transmit the LLDP location TLV.
network-policy: Transmit the LLDP network policy TLV.
no lldp med transmit-tlv
Use this command to remove a TLV.
Format: no lldp med transmit-tlv [capabilities] [network-policy] [ex-pse] [ex-pd] [location] [inventory]
Mode: Interface Config
lldp med all
Use this command to configure LLDP-MED on all the ports.
Format: lldp med all
Mode: Global Config
lldp med confignotification all
Use this command to configure all the ports to send the topology change notification.
Format: lldp med confignotification all
Mode: Global Config
lldp med faststartrepeatcount
Use this command to set the value of the fast start repeat count. [count] is the number of LLDP PDUs that will be transmitted when the product is enabled. The range is 1 to 10.
Default: 3
Format: lldp med faststartrepeatcount [count]
Mode: Global Config
no lldp med faststartrepeatcount
Use this command to return to the factory default value.
Format: no lldp med faststartrepeatcount
Mode: Global Config
lldp med transmit-tlv all
Use this command to specify which optional Type Length Values (TLVs) in the LLDP MED set will be transmitted in the Link Layer Discovery Protocol Data Units (LLDPDUs).
Default: By default, the capabilities and network policy TLVs are included.
Format: lldp med transmit-tlv all [capabilities] [ex-pd] [ex-pse] [inventory] [location] [network-policy]
Mode: Global Config
capabilities: Transmit the LLDP capabilities TLV.
ex-pd: Transmit the LLDP extended PD TLV.
ex-pse: Transmit the LLDP extended PSE TLV.
inventory: Transmit the LLDP inventory TLV.
location: Transmit the LLDP location TLV.
network-policy: Transmit the LLDP network policy TLV.
no lldp med transmit-tlv
Use this command to remove a TLV.
Format: no lldp med transmit-tlv [capabilities] [network-policy] [ex-pse] [ex-pd] [location] [inventory]
Mode: Global Config
show lldp med
Use this command to display a summary of the current LLDP MED configuration.
Format: show lldp med
Mode: Privileged Exec
show lldp med interface
Use this command to display a summary of the current LLDP MED configuration for a specific interface. unit/slot/port indicates a specific physical interface. all indicates all valid LLDP interfaces.
Format: show lldp med interface {unit/slot/port | all}
Mode: Privileged Exec
show lldp med local-device detail
Use this command to display detailed information about the LLDP MED data that a specific interface transmits. unit/slot/port indicates a specific physical interface.
Format: show lldp med local-device detail <unit/slot/port>
Mode: Privileged EXEC
show lldp med remote-device
Use this command to display the summary information about remote devices that transmit current LLDP MED data to the system. You can show information about LLDP MED remote data received on all valid LLDP interfaces or on a specific physical interface.
Format: show lldp med remote-device {unit/slot/port | all}
Mode: Privileged EXEC
The display parameters for above command are:
Local Interface: The interface that received the LLDPDU from the remote device.
Remote ID: An internal identifier to the switch to mark each remote device to the system.
Device Class: Device classification of the remote device.
show lldp med remote-device detail
Use this command to display detailed information about remote devices that transmit current LLDP MED data to an interface on the system.
Format: show lldp med remote-device detail <unit/slot/port>