Created
December 16, 2020 18:03
-
-
Save damex/4d2687c5056569f368d4861b15db9c97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@OpenWrt:~# cat /etc/config/lldpd | |
config lldpd config | |
option enable_cdp 1 | |
option enable_fdp 1 | |
option enable_sonmp 1 | |
option enable_edp 1 | |
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[lldpcli] # show interfaces | |
------------------------------------------------------------------------------- | |
LLDP interfaces: | |
------------------------------------------------------------------------------- | |
Interface: br-lan, via: unknown, Time: 0 day, 01:14:28 | |
Chassis: | |
ChassisID: mac 12:43:68:5b:db:62 | |
SysName: OpenWrt | |
SysDescr: OpenWrt SNAPSHOT @ OpenWrt | |
MgmtIP: 178.89.24.71 | |
MgmtIface: 3 | |
MgmtIP: fe80::4a8f:5aff:fed6:3557 | |
MgmtIface: 3 | |
Capability: Bridge, on | |
Capability: Router, on | |
Capability: Wlan, off | |
Capability: Station, off | |
Port: | |
PortID: mac 48:8f:5a:d6:35:52 | |
PortDescr: br-lan | |
TTL: 120 | |
------------------------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment