Users Guide

Table Of Contents
Advertise VLAN Name TLVs
You can configure the system to advertise the names of VLANs in LLDPDUs. Configure the VLAN names before you configure
the system to advertise VLAN names.
By default, this feature is disabled. After you enable this feature, the system starts sending LLDPDUs with the configured name
of the default VLAN. If the default VLAN does not have a configured name, the system does not send an LLDPDU with a VLAN
name TLV.
Transmit VLAN name of the default VLAN
1. Enter INTERFACE mode from CONFIGURATION mode.
interface ethernet 1/1/1
2. Enable the vlan-name option in INTERFACE mode.
lldp tlv-select dot1-tlv vlan-name
3. Enter INTERFACE VLAN mode from CONFIGURATION mode.
interface vlan 1
4. Specify a name for VLAN 1 in INTERFACE VLAN mode.
vlan-name vlan1
Transmit the VLAN names of a specific set of VLANs
When you configure the interface to send the names of specific VLANs using lldp vlan-name-tlv allowed vlan
command, the interface can transmit a maximum of eight VLAN names. If you specify 10 VLANs and the default VLAN has a
name, the interface transmits LLDPDUs with VLAN names of the default VLAN and the first seven VLANs configured with a
name. If the default VLAN does not have a name, the interface transmits the VLAN names of the first eight VLANs that have a
name.
1. Create a VLAN in CONFIGURATION mode.
interface vlan vlan-id
2. Specify a name for the required VLANs in INTERFACE mode.
vlan-name vlan-name
3. Configure Port mode as trunk from INTERFACE mode.
switchport mode trunk
4. Enable the vlan-name option in INTERFACE mode.
lldp tlv-select dot1-tlv vlan-name
5. Configure the interface to be an untagged member of the created VLANs in INTERFACE mode.
switchport trunk allowed vlan vlan-range
6. Configure the interface to send the names of specific VLANs in PDUs in INTERFACE mode.
lldp vlan-name-tlv allowed vlan vlan-ids
Examples for configuring the system to transmit VLAN name in TLVs
Specify names for VLANs from 1 to 10 and configure ethernet 1/1/1 interface to transmit the names of nine VLANs. The
interface is not explicitly configured to transmit the name of the default VLAN which is VLAN 1.
OS10# configure terminal
OS10(config)# interface vlan 1
OS10(conf-if-vl-1)#vlan-name vlan1
OS10(conf-if-vl-1)# exit
OS10(config)# interface vlan 2
OS10(conf-if-vl-2)#vlan-name vlan2
OS10(config)# interface vlan 3
566
Layer 2