forked from mirror/openwrt
add option to set management IP pattern also add missing 'unconfigure system hostname' for example pattern '!192.168.1.1' makes it possible that WAN IP is selected instead of LAN IP Signed-off-by: Daniel A. Maierhofer <git@damadmai.at> [grammar and spelling fixes in commit message] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
20 lines
485 B
Text
20 lines
485 B
Text
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
|
|
option lldp_location "2:FR:6:Commercial Rd:3:Roseville:19:4"
|
|
|
|
# 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"
|