lldp advertise link-aggregation

Advertises link-aggregation information.
Syntax
lldp advertise link-aggregation ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
no lldp advertise link-aggregation ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] ... ] }
Command Default

Link-aggregation information is automatically advertised when Link Layer Discovery Protocol (LLDP) is enabled on a global basis.

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

Global configuration mode

Usage Guidelines

The devices advertise link-aggregation information about standard link aggregation (LACP) as well as static Link Aggregation (LAG) configuration.

The link-aggregation time, length, value (TLV) indicates the following:

  • Whether the link is capable of being aggregated
  • Whether the link is currently aggregated

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 link-aggregation advertisement.

Examples

The following example enables advertisement of link-aggregation information for a specific Ethernet port.

device(config)# lldp advertise link-aggregation ports ethernet 1/1/1