LLDP protocol is used to discover neighboring network devices. Running "lldp neighbor"…
- User
LLDP protocol is used to discover neighboring network devices. Running "lldp neighbor" command on a computer, which is connected to a normal managed switch, allows discovering which switch port is used to connect the computer, making it possible to detect computers plugged to wrong or unexpected ports. OpenWRT firmware for router/switch allows running lldp server, but by default, running lldp neighbor on a computer connected to OpenWRT does not show which OpenWRT router's port is used for the connection. OpenWRT router usually has a SOC with one or two ethernet ports, majorty of physical ports are handled by internal managed switch which is configuer using "swconfig" or "DSA" from OpenWRT firmware running on the switch. Is there a way to configure OpenWRT router/switch to reply to lldp request with information about which physical port was used to receive that lldp request ?
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.