Ok @arinc9
after a longer break, finally have time for test
latest snapshot, unmodified source ...
cat /etc/lldpd.d/lldpd.conf
configure lldp portidsubtype ifname
configure system interface pattern wan
configure system description 'OpenWRT_SNAPSHOT'
cat /etc/config/network
config device
option type 'bridge'
option vlan_filtering '1'
option name 'switch'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
list ports 'wan'
lldpctl
-------------------------------------------------------------------------------
LLDP neighbors:
-------------------------------------------------------------------------------
Interface: wan, via: LLDP, RID: 1, Time: 0 day, 00:10:19
Chassis:
ChassisID: mac c0:06:c3:a1:3f:46
SysName: sw12.netdev.ele
SysDescr: JetStream 8-Port Gigabit L2+ Managed Switch with 2 SFP Slots
Capability: Bridge, on
Capability: Router, on
Port:
PortID: ifname gigabitEthernet 1/0/7
PortDescr: gigabitEthernet 1/0/7
TTL: 120
MFS: 9000
PMD autoneg: supported: yes, enabled: yes
Adv: 10Base-T, HD: yes, FD: yes
Adv: 100Base-TX, HD: yes, FD: yes
Adv: 1000Base-X, HD: yes, FD: yes
Adv: 1000Base-T, HD: yes, FD: yes
MAU oper type: 1000BaseTFD - Four-pair Category 5 UTP, full duplex mode
MDI Power: supported: no, enabled: no, pair control: no
Device type: PD
Power pairs: unknown
Class: unknown
Power type: 2
Power Source: unknown
Power Priority: unknown
PD requested power Value: 0
PSE allocated power Value: 0
VLAN: 1, pvid: yes System-VLAN
PPVID: supported: yes, enabled: no
-------------------------------------------------------------------------------
uname -a
Linux wr103.wrt.ele 6.1.81 #0 SMP Thu Mar 14 19:56:18 2024 mips GNU/Linux
cat /etc/board.json
{
"model": {
"id": "cudy,wr1300-v2",
"name": "Cudy WR1300 v2"
on OpenWRT side, looks like LLDP is working, but ...
on Jetstream, there is no neighborhood record
sw12.netdev.ele#show lldp neighbor-information
Port Device ID Port ID management address Port Description System Name
---- ------------ ------------ ------------ -------------- --------------
Gi1/0/10 E8:28:C1:B8:D3:90 gi1/0/9 169.254.1.11 trk: Peca (p9) sw11.netdev.ele
only upstream switch is shown
ok
then i put 'switch.1' which is VLAN1 in conf
cat /etc/lldpd.d/lldpd.conf
configure lldp portidsubtype ifname
configure system interface pattern switch.1, wan
configure system description 'OpenWRT_SNAPSHOT'
and i get record in Jetstream
lldp neighbor-information
Port Device ID Port ID management address Port Description System Name
---- ------------ ------------ ------------ -------------- --------------
Gi1/0/7 F4:A4:54:81:45:34 wan 169.254.1.103 wan wr103.wrt.ele
Gi1/0/10 E8:28:C1:B8:D3:90 gi1/0/9 169.254.1.11 trk: Peca (p9) sw11.netdev.ele
please take note that WAN port is in same bridge (vlan filtering) with the rest of LAN ports