FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

12005 questions

14286 answers

22526 comments

35868 members

0 votes
24 views 0 comments
by
Hi

I need to check the status of the Ethernet ports through SNMP so I can detect if someone removes or connects another device to the router.

Best Regards

Fredrik

1 Answer

0 votes
by

Hello,

Unfortunately, your desired functionality is not available, SNMP tree does not include such options. 

You can find port state using SSH commands below:

  • swconfig dev switch0 show | grep port:
  • ubus call port_events show

Best regards,