lldp advertise vlan-name

Advertises the name and VLAN ID of a VLAN configured on a port.
Syntax
lldp advertise vlan-name vlan vlan-id ports { all | [ ethernet unit/slot/port [ to unit/slot/port]... ] }
no lldp advertise vlan-name vlan vlan-id ports { all | [ ethernet unit/slot/port [ to unit/slot/port]... ] }
Command Default

The VLAN name is not automatically advertised.

Parameters
vlan vlan-id
Specifies the VLAN ID of a VLAN configured on the port for which the VLAN name TLV is advertised
ports
Advertises the VLAN name TLV for the specified ports.
all
Advertises the VLAN name TLV for all LLDP-capable ports.
ethernet unit/slot/port
Advertises the VLAN name TLV for a specific Ethernet port.
to unit/slot/port
Advertises the VLAN name TLV for a range of Ethernet ports.
Modes

Global configuration mode

Usage Guidelines

An LLDPDU may include multiple VLAN name TLVs, with each TLV identifying a different VLAN.

The no form of the command disables the advertisement.

Examples

The following example enables advertisement of the VLAN name TLV for VLAN 99 on a range of Ethernet ports.

device# configure terminal
device(config)# lldp advertise vlan-name vlan 99 ports ethernet 1/2/4 to 1/2/12