aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/lldpd/files/lldpd.config
diff options
context:
space:
mode:
authorDaniel A. Maierhofer <git@damadmai.at>2020-02-26 21:44:45 +0100
committerStijn Tintel <stijn@linux-ipv6.be>2020-05-08 05:54:39 +0300
commit128250e8fc615aebe05642f023375dd7902808e1 (patch)
treef17d0b6e7a4ec6c6bd2f01b291edf674aaa506d6 /package/network/services/lldpd/files/lldpd.config
parent73fa1aba94f5cf566007ac18cee3ef08b3ae64bc (diff)
downloadupstream-128250e8fc615aebe05642f023375dd7902808e1.tar.gz
upstream-128250e8fc615aebe05642f023375dd7902808e1.tar.bz2
upstream-128250e8fc615aebe05642f023375dd7902808e1.zip
lldpd: add management IP setting
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>
Diffstat (limited to 'package/network/services/lldpd/files/lldpd.config')
-rw-r--r--package/network/services/lldpd/files/lldpd.config4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/network/services/lldpd/files/lldpd.config b/package/network/services/lldpd/files/lldpd.config
index e16643c1f7..5e7c51ba7e 100644
--- a/package/network/services/lldpd/files/lldpd.config
+++ b/package/network/services/lldpd/files/lldpd.config
@@ -5,7 +5,7 @@ config lldpd config
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"
@@ -13,6 +13,8 @@ config lldpd config
#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"