tlv-filter
Syntax
tlv-filter 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 not be advertised by the 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 disable any non-mandatory TLV message. (These mandatory TLVs are always advertised: chassis-id, port-id, and time-to-live.)
When you configure the tlv-filter
statement, you
specify the TLVs that you want to disable. This is useful when you
want to allow most, but not all, TLVs.
You can also disable TLVs using the tlv-select
statement.
When you configure the tlv-select statement, you specify the TLVs
that you want to be advertised by LLDP or LLDP-MED. All other non-mandatory
TLVs are 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 disable.
|
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.