diff options
author | Christian Breunig <christian@breunig.cc> | 2025-02-24 21:16:03 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-02-24 21:16:03 +0100 |
commit | 4036e6c90748419bf29fc44ee30960ea44b9e768 (patch) | |
tree | 438b72ebf36dda0b8a82c114d7409fd11c764e0a /docs | |
parent | d615588b4aecb4a9adea7449c5410448a79c1bce (diff) | |
download | vyos-documentation-lldp-T7165.tar.gz vyos-documentation-lldp-T7165.zip |
lldp: T7165: add support to enable only rx or tx on specific interfacelldp-T7165
LLDP is a stateless protocol which does not necessitate sending to receive
advertisements. There are multiple scenarios such as provider peering links in
which it is advantageous to receive LLDP but not disclose internal information
to the provider.
Add new CLI command:
* set service lldp interface <name> mode [disable|rx-tx|rx|tx]
The default is unchanged and will be rx-tx.
Furthermore if an interface has an explicit LLDP disable configured under
"set service lldp interface <name> disable" this will be migrated to
"set service lldp interface <name> mode disable"
Diffstat (limited to 'docs')
-rw-r--r-- | docs/configuration/service/lldp.rst | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/configuration/service/lldp.rst b/docs/configuration/service/lldp.rst index 12a9e0b6..8aee6183 100644 --- a/docs/configuration/service/lldp.rst +++ b/docs/configuration/service/lldp.rst @@ -49,10 +49,16 @@ Configuration Enable transmission of LLDP information on given `<interface>`. You can also 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 - certain interfaces from LLDP when ``all`` have been enabled. + Configure the administrative status of the given port. + + 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 |