openwrt/package/network/services/lldpd/files/lldpd.config
Paul Donald 497fafb8ae lldpd: implement lldp_policy parameter
For certain lldp_class scenarios (2 & 3) a policy must be set also.
Class 4 is default, although it's good to handle the policy eventuality.

Here, set a default lldp_policy for all lldp_class scenarios. Any
lldp_policy can now be set.

Depends on PR #14584 (which introduced an `if` block)

Tested on 22.03.5, 22.03.6

Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-03-12 20:39:06 +01:00

23 lines
572 B
Plaintext

config lldpd config
option enable_cdp 1
option enable_fdp 1
option enable_sonmp 1
option enable_edp 1
option agentxsocket /var/run/agentx.sock
option lldp_class 4
# lldp_policy only needed for lldp_class 2-3
# option lldp_policy 'application streaming-video unknown'
option lldp_location "address country EU"
# if empty, the distribution description is sent
#option lldp_description "OpenWrt System"
#option lldp_hostname "Modified Hostname"
#option lldp_mgmt_ip "!192.168.1.1"
# interfaces to listen on
list interface "loopback"
list interface "lan"