- 05 Jul 2023
- 3 Minutes to read
- Contributors
- Print
- PDF
Enabling LLDP Basic Optional TLVs
- Updated on 05 Jul 2023
- 3 Minutes to read
- Contributors
- Print
- PDF
This section explains the configuration for enabling basic optional TLVs for transmission.
Note: By default, transmission status is set to Disabled.
The following are the basic optionally TLVs in LLDP
- Port Description TLV
- System Name TLV
- System Description TLV
- System Capabilities TLV
Note: Configure the LLDP module status as Enabled. See Configuring LLDP Module Status.
- Enable basic optional TLVs by executing the following commands.
- Enter the Global Configuration mode
your product# configure terminal
- Enable Basic Optional TLVs on port P1.
your product(config)# interface gigabitethernet 0/1
your product(config-if)# lldp tlv-select basic-tlv port-descr sys-name sys-descr sys-capab mgmt-addr 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 Description, System Name, System Description, System Capability, Management Address
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 Disabled
------------------------------------------------------
your product# show lldp local mgmt-addr
Management Address TxEnabledPorts
------------------ --------------
12.0.0.1 Gi0/1 Output
Enabling Specific Management Address
Management address TLV transmission status is Disabled by default; if a management address is configured for the system or the existing management address is changed, the TLV transmission status of the management address is Disabled.
Scenario 1:
If a new IP address is configured for the system, the address is not transmitted by default (the TLV transmission status of the newly configured IP address is Disabled).
- Create VLAN 2 with IP address 15.0.0.1 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
your product(config-switch-vlan)# end
your product# configure terminal
your product(config)# interface vlan 2
your product(config-if)# ip address 15.0.0.1 255.255.255.0
your product(config-if)# no shutdown
your product(config-if)# end
- View the IP addresses that are configured for the system and the TLV transmission status of the addresses by executing the following command.
your product# show lldp local mgmt-addr
Management Address TxEnabledPorts
------------------ --------------
12.0.0.1 Gi0/1
15.0.0.1
Note: TxEnabledPorts for Management address 15.0.0.1 does not display any interface.
Enable the newly configured management address (15.0.0.1) 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 basic-tlv mgmt-addr ipv4 15.0.0.1
- Exit from the Global Configuration mode.
your product(config)# end
- View the IP addresses that are configured for the system and TLV transmission status of the addresses by executing the following command.
your product# show lldp local mgmt-addr
Management Address TxEnabledPorts
------------------ --------------
12.0.0.1 Gi0/1
15.0.0.1 Gi0/1
Scenario 2:
If the IP address for the existing IP interface is changed, the address is treated as deletion of one management address and addition of new management address by LLDP.
Note: VLAN 2 is configured with IP address 15.0.0.1 and is enabled for interface gigabitethernet 0/1.
- Change the IP address of VLAN 2 as 16.0.0.1 by executing the following commands
your product# configure terminal
your product(config)# interface vlan 2
your product(config-if)# shutdown
your product(config-if)# ip address 16.0.0.1 255.255.255.0
your product(config-if)# no shutdown
your product(config-if)# end
Note: The following is the impact of the change in the IP address of VLAN 2 as 16.0.0.1.
The entry corresponding to the old IP address of VLAN 2 is deleted from the LLDP management address table.
The entry corresponding to 16.0.0.1 is created.
The TLV transmission status of 16.0.0.1 is disabled by default.
- View the IP addresses that are configured for the system and the TLV transmission status of the addresses by executing the following command.
your product# show lldp local mgmt-addr
Management Address TxEnabledPorts
------------------ --------------
12.0.0.1 Gi0/1
16.0.0.1
Note: TxEnabledPorts for Management address 16.0.0.1 does not display any interfaces; the newly configured IP address 16.0.0.1 is not advertised through interface gigabitethernet 0/1, and the entry corresponding to IP address 15.0.0.1 is deleted from remote table.
© 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