LLDP Commands 259
lldp med network-policy (interface)
The lldp med network-policy Interface Configuration (Ethernet) mode command attaches a LLDP
MED network policy to a port. Use the no form of this command to remove an LLDP MED network
policy from a port.
Syntax
•
lldp med network-policy
{
add / remove
}
number
•
no lldp med network-policy
number
•
number
— Network policy sequential number.
•
add
— Specifies
attach
to a port.
•
remove
— Specifies
remove
from a porty.
Default Configuration
No network policy is attached.
Command Mode
Interface Configuration (Ethernet) mode.
User Guidelines
There are no guidelines for this command.
Example
The following example attaches a LLDP MED network policy to a port.
lldp med location
The lldp med location Interface Configuration mode command configures location information for the
Link Layer Discovery Protocol (LLDP) Media Endpoint Discovery (MED) for an interface. Use the no
form of this command to delete location information for an interface.
Syntax
•
lldp med location coordinate
data
• no lldp med location coordinate
•
lldp med location civic-address
data
• no lldp med location civic-address
Console(config)# interface ethernet 1/e1
Console(config-if)# lldp med enable
book.book Page 259 Thursday, December 18, 2008 7:40 PM