lldp advertise system-name

Advertises the name assigned to the system.
Syntax
lldp advertise system-name ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
no lldp advertise system-name ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
Command Default

The system name is automatically advertised when Link Layer Discovery Protocol (LLDP) is enabled on a global basis.

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

Global configuration mode

Usage Guidelines

The system name is the name that is administratively assigned to the system and is taken from the sysName MIB object in MIB-II. The sysName MIB object corresponds to the name defined with the CLI command hostname.

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 advertises the system name information.

device(config)# lldp advertise system-name ports ethernet 1/1/1 to 1/1/0