- 05 Jul 2023
- 10 Minutes to read
- Contributors
- Print
- PDF
Enabling IEEE 802.1 Organizationally Specific TLVs
- Updated on 05 Jul 2023
- 10 Minutes to read
- Contributors
- Print
- PDF
This section explains the configuration for enabling IEEE 802.1 Organizationally Specific TLVs for transmission
Note: By default, transmission status is set to Disabled.
The following are the basic optional TLVs in LLDP:
- Port VLAN ID TLV
- Port and Protocol VLAN ID TLV
- VLAN name TLV
Note: Configure the LLDP module status as Enabled. See Configuring LLDP Module Status.
- Configure the VLAN name as vlan1 by executing the following commands.
your product# configure terminal
your product(config)# switch default
your product(config-switch)# vlan 1
your product(config-switch-vlan)# ports gigabitethernet 0/1 name vlan1
your product(config-switch-vlan)# end
- Enable IEEE 802.1 Organizationally Specific TLVs by executing the following commands.
- Enter the Global Configuration mode.
your product# configure terminal
- Enable IEEE 802.1 Organizationally Specific TLVs on port P1.
your product(config)# interface gigabitethernet 0/1
your product(config-if)# lldp tlv-select dot1tlv port-vlan-id protocol-vlan-id all vlan-name all
- Exit from the Global Configuration mode.
your product(config)# end
- View the local system information by executing the following commands
your product# show lldp local gigabitethernet 0/1
Port Id SubType : Interface Alias
Port Id : Slot0/1
Port Description : Ethernet Interface
Enabled Tx Tlvs : Port Vlan
Extended 802.3 TLV Info
-MAC PHY Configuration & Status
Auto-Neg Support & Status : Not Supported, Disabled
Advertised Capability Bits : 0000
Operational MAU Type : 0
-Link Aggregation
Capability & Status : Not Capable, Not In Aggregation
Aggregated Port Id : 1
-Maximum Frame Size : 1500
Extended 802.1 TLV Info
-Port VLAN Id : 1
-Port & Protocol VLAN Id
Protocol VLAN Id Support Protocol VLAN Status TxStatus
---------------- ------- -------------------- --------
0 Supported Enabled Enabled
-Vlan Name
Vlan Id Vlan Name TxStatus
------- --------- --------
1 vlan1 Enabled
------------------------------------------------------
Note: When the switch comes UP, initially no protocol group is mapped to VLAN, and hence no entry is present in the VLAN module for PPVID (Port and Protocol VLAN ID). As a result, Port and Protocol VLAN entry is created in LLDP with Protocol VLAN ID value as 0, and the entry is transmitted when the user enables PPVID TLV transmission.
Enabling Particular VLAN Name
VLAN name TLV transmission status is Disabled by default. That is if a new VLAN with a VLAN name is configured or the existing VLAN name is changed, the TLV transmission status of the VLAN name is Disabled by default.
Scenario 1:
If a new VLAN is configured with a VLAN name, the VLAN name is not transmitted by default (that is the TLV transmission status of the newly configured VLAN is Disabled).
- Create VLAN with VLAN ID as 2 and interface gigabitethernet 0/1 as member port. Configure the VLAN name as vlan2.
your product# configure terminal
your product(config)# switch default
your product(config-switch)# vlan 2
your product(config-switch-vlan)# ports gigabitethernet 0/1 name vlan2
your product(config-switch-vlan)# end
- View the TLV transmission status of the VLAN names in the local system information by executing the following command.
your product# show lldp local gigabitethernet 0/1
Port Id SubType : Interface Alias
Port Id : Slot0/1
Port Description : Ethernet Interface
Enabled Tx Tlvs : Port Description, System Name, System Description, System Capability, Management Address, Port Vlan
Extended 802.3 TLV Info
-MAC PHY Configuration & Status
Auto-Neg Support & Status : Not Supported, Disabled
Advertised Capability Bits : 0000
Operational MAU Type : 0
-Link Aggregation
Capability & Status : Not Capable, Not In Aggregation
Aggregated Port Id : 1
-Maximum Frame Size : 1500
Extended 802.1 TLV Info
-Port VLAN Id : 1
-Port & Protocol VLAN Id
Protocol VLAN Id Support Protocol VLAN Status TxStatus
---------------- ------- -------------------- --------
0 Supported Enabled Enabled
-Vlan Name
Vlan Id Vlan Name TxStatus
------- --------- --------
1 vlan1 Enabled
2 vlan2 Disabled
----------------------------------------------
Note: TxStatus for VLAN2 is disabled.
Enable the configured VLAN name (vlan2) for transmission by executing the following commands.
Enter the Global Configuration mode.
your product# configure terminal
- Enable LLDP.
your product(config)# interface gigabitethernet 0/1
your product(config-if)# lldp tlv-select dot1tlv vlan-name 2
- Exit from the Global Configuration mode.
your product(config)# end
- View the TLV transmission status of the configured VLAN names by executing the following command.
your product# show lldp local gigabitethernet 0/1
Port Id SubType : Interface Alias
Port Id : Slot0/1
Port Description : Ethernet Interface
Enabled Tx Tlvs : Port Description, System Name, System Description, System Capability, Management Address, Port Vlan
Extended 802.3 TLV Info
-MAC PHY Configuration & Status
Auto-Neg Support & Status : Not Supported, Disabled
Advertised Capability Bits : 0000
Operational MAU Type : 0
-Link Aggregation
Capability & Status : Not Capable, Not In Aggregation
Aggregated Port Id : 1
-Maximum Frame Size : 1500
Extended 802.1 TLV Info
-Port VLAN Id : 1
-Port & Protocol VLAN Id
Protocol VLAN Id Support Protocol VLAN Status TxStatus
---------------- ------- -------------------- --------
0 Supported Enabled Enabled
-Vlan Name
Vlan Id Vlan Name TxStatus
------- --------- --------
1 vlan1 Enabled
2 vlan2 Enabled
-------------------------------------------
Scenario 2:
VLAN name TLV transmission status of a VLAN whose name is enabled for transmission is disabled after deleting and recreating the VLAN.
- Delete VLAN whose name is enabled for transmission, and view the local system information and neighbor’s detail.
- Delete VLAN 2 by executing the following commands.
your product# configure terminal
your product(config)# switch default
your product(config-switch)# no vlan 2
your product(config-switch)# end
- View the local system information by executing the following command.
your product# show lldp local gigabitethernet 0/1
Port Id SubType : Interface Alias
Port Id : Slot0/1
Port Description : Ethernet Interface
Enabled Tx Tlvs : Port Description, System Name,System Description, System Capability,Management Address, Port Vlan
Extended 802.3 TLV Info
-MAC PHY Configuration & Status
Auto-Neg Support & Status : Not Supported, Disabled
Advertised Capability Bits : 0000
Operational MAU Type : 0
-Link Aggregation
Capability & Status : Not Capable, Not In Aggregation
Aggregated Port Id : 1
-Maximum Frame Size : 1500
Extended 802.1 TLV Info
-Port VLAN Id : 1
-Port & Protocol VLAN Id
Protocol VLAN Id Support Protocol VLAN Status TxStatus
---------------- ------- -------------------- --------
0 Supported Enabled Enabled -Vlan Name
Vlan Id Vlan Name TxStatus
------- --------- --------
1 vlan1 Enabled
------------------------------------------------
Note: The Entry corresponding to VLAN 2 is not displayed.
- Recreate VLAN with VLAN ID as 2 and interface gigabitethernet 0/1 as member port, and configure VLAN name as vlan2 by executing the following commands.
your product# configure terminal
your product(config)# switch default
your product(config-switch)# vlan 2
your product(config-switch-vlan)# ports gigabitethernet 0/1 name vlan2
your product(config-switch-vlan)# end
- View the TLV transmission status of the VLAN names in the local system information by executing the following command.
your product# show lldp local gigabitethernet 0/1
Port Id SubType : Interface Alias
Port Id : Slot0/1
Port Description : Ethernet Interface
Enabled Tx Tlvs : Port Description, System Name, System Description, System Capability, Management Address, Port Vlan
Extended 802.3 TLV Info
-MAC PHY Configuration & Status
Auto-Neg Support & Status : Not Supported, Disabled
Advertised Capability Bits : 0000
Operational MAU Type : 0
-Link Aggregation
Capability & Status : Not Capable, Not In Aggregation
Aggregated Port Id : 1
-Maximum Frame Size : 1500
Extended 802.1 TLV Info
-Port VLAN Id : 1
-Port & Protocol VLAN Id
Protocol VLAN Id Support Protocol VLAN Status TxStatus
---------------- ------- -------------------- --------
0 Supported Enabled Enabled
-Vlan Name Vlan Id Vlan Name TxStatus
------- --------- --------
1 vlan1 Enabled
2 vlan2 Disabled
------------------------------------------------
Enabling Specific PPVID
PPDVID TLV transmission status is Disabled by default. That is to say, if a new PPVID is configured, the TLV transmission status of the VLAN name is Disabled by default.
Note: If a new Port and Protocol VLAN ID is configured, the Port and Protocol VLAN ID is not transmitted by default (the TLV transmission status of the newly configured Port and Protocol VLAN ID is Disabled).
- Create and Map protocol group to VLAN 2.
- Create and Map Protocol group 10 to VLAN 2 and view the TLV transmission status of the newly configured PPVID TLV in the local system information by executing the following commands.
your product# configure terminal
your product(config)# map protocol ip enet-v2 protocols-group 10
your product(config)# interface gigabitethernet 0/1
your product(config-if)# switchport map protocols-group 10 vlan 2
your product(config-if)# end
- View the local system information by executing the following command:
your product# show lldp local gigabitethernet 0/1
Port Id SubType : Interface Alias
Port Id : Slot0/1
Port Description : Ethernet Interface
Enabled Tx Tlvs : Port Description, System Name,System Description, System Capability, Management Address, Port Vlan
Extended 802.3 TLV Info
-MAC PHY Configuration & Status
Auto-Neg Support & Status : Not Supported, Disabled
Advertised Capability Bits : 0000
Operational MAU Type : 0
-Link Aggregation
Capability & Status : Not Capable, Not In Aggregation
Aggregated Port Id : 1
-Maximum Frame Size : 1500
Extended 802.1 TLV Info
-Port VLAN Id : 1
-Port & Protocol VLAN Id
Protocol VLAN Id Support Protocol VLAN Status TxStatus
---------------- ------- -------------------- --------
2 Supported Enabled Disabled
-Vlan Name
Vlan Id Vlan Name TxStatus
------- --------- --------
1 vlan1 Enabled
2 vlan2 Disabled
-----------------------------------------------
Enable the transmission VLAN ID TLV protocol by executing the following commands.
Enter the Global Configuration mode.
your product# configure terminal
- Enable LLDP.
your product(config)# interface gigabitethernet 0/1
your product(config-if)# lldp tlv-select dot1tlv protocol-vlan-id 2
- Exit from the Global Configuration mode.
your product(config)# end
- View the local system information by executing the following command.
your product# show lldp local gigabitethernet 0/1
Port Id SubType : Interface Alias
Port Id : Slot0/1
Port Description : Ethernet Interface
Enabled Tx Tlvs : Port Description, System Name,
System Description,
System Capability,
Management Address, Port Vlan
Extended 802.3 TLV Info
-MAC PHY Configuration & Status
Auto-Neg Support & Status : Not Supported, Disabled
Advertised Capability Bits : 0000
Operational MAU Type : 0
-Link Aggregation
Capability & Status : Not Capable, Not In Aggregation
Aggregated Port Id : 1
-Maximum Frame Size : 1500
Extended 802.1 TLV Info
-Port VLAN Id : 1
-Port & Protocol VLAN Id
Protocol VLAN Id Support Protocol VLAN Status TxStatus
---------------- ------- -------------------- -------
2 Supported Enabled Enabled
-Vlan Name
Vlan Id Vlan Name TxStatus
------- --------- --------
1 vlan1 Enabled
2 vlan2 Disabled
------------------------------------------------
- UnMap the protocol group 10 in interface gigabitethernet 0/1 by executing the following commands.
your product# configure terminal
your product(config)# interface gigabitethernet 0/1
your product(config-if)# no switchport map protocols-group 10
your product(config-if)# end
- View the local system information by executing the following command.
your product# show lldp local gigabitethernet 0/1
Port Id SubType : Interface Alias
Port Id : Slot0/1
Port Description : Ethernet Interface
Enabled Tx Tlvs : Port Description,
System Name,
System Description,
System Capability,
Management Address, Port Vlan
Extended 802.3 TLV Info
-MAC PHY Configuration & Status
Auto-Neg Support & Status : Not Supported, Disabled
Advertised Capability Bits : 0000
Operational MAU Type : 0
-Link Aggregation
Capability & Status : Not Capable, Not In Aggregation
Aggregated Port Id : 1
-Maximum Frame Size : 1500
Extended 802.1 TLV Info
-Port VLAN Id : 1
-Port & Protocol VLAN Id
Protocol VLAN Id Support Protocol VLAN Status TxStatus
---------------- ------- -------------------- --------
0 Supported Enabled Disabled
-Vlan Name
Vlan Id Vlan Name TxStatus
------- --------- --------
1 vlan1 Enabled
2 vlan2 Disabled
------------------------------------------------
Note: No entry is displayed for Port and Protocol VLAN ID.
- Create and Map Protocol group 10 to VLAN 2 by executing the following commands.
your product# configure terminal
your product(config)# switch default
your product(config-switch)# map protocol ip enet-v2 protocols-group 10
your product(config-switch)# exit
your product(config)# interface gigabitethernet 0/1
your product(config-if)# switchport map protocols-group 10 vlan 2
your product(config-if)# end
- View the local system information by executing the following command.
your product# show lldp local gigabitethernet 0/1
Port Id SubType : Interface Alias
Port Id : Slot0/1
Port Description : Ethernet Interface
Enabled Tx Tlvs : Port Description,
System Name,
System Description,
System Capability,
Management Address, Port Vlan
Extended 802.3 TLV Info
-MAC PHY Configuration & Status
Auto-Neg Support & Status : Not Supported, Disabled
Advertised Capability Bits : 0000
Operational MAU Type : 0
-Link Aggregation
Capability & Status : Not Capable, Not In Aggregation
Aggregated Port Id : 1
-Maximum Frame Size : 1500
Extended 802.1 TLV Info
-Port VLAN Id : 1
-Port & Protocol VLAN Id
Protocol VLAN Id Support Protocol VLAN Status TxStatus
---------------- ------- -------------------- --------
2 Supported Enabled Disabled
-Vlan Name
Vlan Id Vlan Name TxStatus
------- --------- --------
1 vlan1 Enabled
2 vlan2 Disabled
----------------------------------------------------------
© 2024 Cisco and/or its affiliates. All rights reserved.
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms
For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks