lldp advertise mac-phy-config-status

Advertises the MAC/PHY configuration and status.
Syntax
lldp advertise mac-phy-config-status ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
no lldp advertise mac-phy-config-status ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
Command Default

The MAC/PHY configuration and status are automatically advertised when Link Layer Discovery Protocol (LLDP) is enabled on a global basis.

Parameters
ports
Advertises MAC/PHY configuration and status for the specified ports.
all
Advertises MAC/PHY configuration and status 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 MAC and PHY configuration and status of time, length, and value (TLV) includes the following information:

  • Auto-negotiation capability and status.
  • Speed and duplex mode.
  • Flow control capabilities for auto-negotiation.
  • Maximum port speed advertisement.
  • If applicable, whether the preceding settings are the result of auto-negotiation during link initiation or a manual set override action.

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 MAC/PHY advertisement.

Examples

The following example enables the advertisement of MAC/PHY configuration and status for a specific Ethernet port.

device(config)# lldp advertise mac-phy-config-status ports ethernet 1/1/1