mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
497fafb8ae
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>
23 lines
572 B
Plaintext
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"
|