tlv-select
Syntax
tlv-select tlv-name;
Hierarchy Level
[edit protocols lldp], [edit protocols lldp-med], [edit protocols lldp interface interface-name], [edit protocols lldp-med interface interface-name]
Description
Select the type, length, and value (TLV) messages that should be advertised by Link Layer Discovery Protocol (LLDP) or LLDP Media Endpoint Discovery (LLDP-MED) protocol. LLDP-capable devices transmit information in type, length, and value (TLV) messages to neighbor devices. Device information can include information such as chassis and port identification and system name and system capabilities.
In multi-vendor networks, it might not be desirable to send TLV messages because they can contain sensitive information about a network device. You can configure LLDP or LLDP-MED to choose which non-mandatory TLV messages to advertise. (These mandatory TLVs are always advertised: chassis-id, port-id, and time-to-live.)
When you configure the tlv-select statement, you specify the TLVs that LLDP or LLDP-MED should advertise. All other non-mandatory TLVs are disabled. This is useful when you want to disable most, but not all, TLVs.
You can also disable TLVs using the tlv-filter statement. When you configure the tlv-filter statement, you specify the TLVs that should be disabled.
The tlv-select
and tlv-filter
statements
are mutually exclusive and cannot be used on the same configuration
stanza at the same time.
Default
All TLVs for LLDP and LLDP-MED are enabled by default.
Options
tlv-name | Specify the non-mandatory TLV message that you want to advertise.
|
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 18.3.