lldp advertise port-description

Identifies the port from which the Link Layer Discovery Protocol (LLDP) agent transmitted the advertisement.
Syntax
lldp advertise port-description ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
no lldp advertise port-description ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
Command Default

The port description is automatically advertised when LLDP is enabled on a global basis.

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

Global configuration mode

Usage Guidelines

The port description is taken from the ifDescr MIB object from MIB-II.

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 the port description on a range of Ethernet ports.

device(config)# lldp advertise port-description ports ethernet 1/1/4 to 1/1/9