Configure LLDP MED TLVs for Transmission on Ports
About this task
Use this procedure to configure organizational-specific TLVs for Link Layer Discovery Protocol (LLDP) Media Endpoint Devices (MED). LLDP MED TLVs are enabled by default.
Procedure
Example
Disable LLDP MED TLVs
Switch:1>enable Switch:1#config Configuring from terminal or network [terminal]? t Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#interface gigabitethernet 1/2 Switch:1(config-if)#no lldp tx-tlv med inventory Switch:1(config-if)#no lldp tx-tlv med location
witch:1#show lldp tx-tlv med ========================================================================== LLDP port med tlvs ========================================================================== -------------------------------------------------------------------------- Port Med Network Location ExtendedPower Inventory Capabilities Policy ViaMDI -------------------------------------------------------------------------- 1/2 disabled enabled enabled enabled disabled
Restore LLDP MED TLVs for transmission to their default value:
Switch:1>enable Switch:1#config Configuring from terminal or network [terminal]? t Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#interface gigabitethernet 1/2 Switch:1(config-if)#default lldp tx-tlv med inventory Switch:1(config-if)#default lldp tx-tlv med med-capabilities
Switch:1#show lldp tx-tlv med ========================================================================== LLDP port med tlvs ========================================================================== -------------------------------------------------------------------------- Port Med Network Location ExtendedPower Inventory Capabilities Policy ViaMDI -------------------------------------------------------------------------- 1/1 enabled enabled enabled enabled enabled 1/2 enabled enabled enabled enabled enabled
Variable Definitions
The following table defines parameters for the lldp tx-tlv med command.
Variable |
Value |
---|---|
extendedPSE |
Specifies the extended power-via-MDI Media Endpoint Device (MED) transmission TLV. This TLV is applilcable for POE-capable switches only. The default is enabled on POE-capable switches only. |
inventory |
Specifies the system capabilities MED transmission TLV. The default is enabled. |
location |
Specifies the system description MED transmission TLV. The default is enabled. |
med-capabilities |
Specifies the system name MED transmission TLV. The default is enabled. |
network-policy |
Specifies the network policy MED transmission TLV. The default is enabled. |