lldp advertise med-capabilities

Advertises information about Link Layer Discovery Protocol-Media Endpoint Discovery (LLDP-MED) capabilities.
Syntax
lldp advertise med-capabilities ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
no lldp advertise med-capabilities ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
Command Default

LLDP-MED information is automatically advertised when LLDP-MED is enabled.

Parameters
ports
Advertises LLDP-MED capabilities information for the specified ports.
all
Advertises LLDP-MED capabilities information for all LLDP-capable ports.
ethernet unit/slot/port
Advertises LLDP-MED capabilities information for a specific Ethernet port.
to unit/slot/port
Advertises LLDP-MED capabilities information for a range of Ethernet ports.
Modes

Global configuration mode

Usage Guidelines

The LLDP-MED capabilities advertisement includes the following information:

  • The supported LLDP-MED TLVs
  • The device type (network connectivity device or endpoint [Class 1, 2, or 3])
Note: Disabling the LLDP-MED capabilities disables LLDP-MED.

You can specify a list of ports, separated by a space, or a range of ports, or you can combine lists and ranges.

The command cannot support LAG virtual interfaces. Attempting to configure them will have no effect.

The no form of the command disables the advertisement.

Examples

The following example enables the advertisement of LLDP-MED capabilities information on a range of Ethernet ports.

device(config)# lldp advertise med-capabilities ports ethernet 1/1/1 to 1/1/6