Merge pull request #1601 from vyos/lldp-T7165

lldp: T7165: add support to enable only rx or tx on specific interface
This commit is contained in:
Christian Breunig 2025-02-25 17:06:43 +01:00 committed by GitHub
commit 7438e6ad14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,10 +49,16 @@ Configuration
Enable transmission of LLDP information on given `<interface>`. You can also Enable transmission of LLDP information on given `<interface>`. You can also
say ``all`` here so LLDP is turned on on every interface. say ``all`` here so LLDP is turned on on every interface.
.. cfgcmd:: set service lldp interface <interface> disable .. cfgcmd:: set service lldp interface <interface> mode [disable|rx-tx|rx|tx]
Disable transmit of LLDP frames on given `<interface>`. Useful to exclude Configure the administrative status of the given port.
certain interfaces from LLDP when ``all`` have been enabled.
By default, all ports are configured to be in rx-tx mode. This means they
can receive and transmit LLDP frames.
In rx mode, they won't emit any frames. In tx mode, they won't receive
any frames. In disabled mode, no frame will be sent and any incoming frame
will be discarded.
.. cfgcmd:: set service lldp snmp .. cfgcmd:: set service lldp snmp