LLDP Commands 257
Example
The following example specifies management address that would be advertised from an interface.
lldp med enable
The lldp med enable Interface Configuration mode command enables Link Layer Discovery Protocol
(LLDP) Media Endpoint Discovery (MED) on an interface. Use the no form of this command to disable
LLDP MED on an interface.
Syntax
•
lldp med enable
[
tlv1
…
tlv3
]
• no lldp med enable
•
tlv
— Specifies TLV that should be included. Available TLVs are: network-policy, location, poe-
pse. The capabilities TLV is always included if LLDP–MED is enabled.
Default Configuration
LLDP is disabled.
Command Modes
Interface Configuration (Ethernet) mode.
User Guidelines
There are no user guidelines for this command.
Example
The following example enables Link Layer Discovery Protocol (LLDP) Media Endpoint Discovery
(MED) on an interface as network-policy.
Console(config)# interface ethernet g1
Console(config-if)# lldp management-address 192.168.0.1
Console(config)# interface ethernet g1
Console(config-if)# lldp med enable network-policy
book.book Page 257 Thursday, December 18, 2008 7:40 PM