#22024: RTL8366S switch hang
-----------------------+------------------------
  Reporter:  bolvan    |      Owner:  developers
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:
 Component:  packages  |    Version:  Trunk
Resolution:            |   Keywords:
-----------------------+------------------------

Comment (by bolvan):

 I found reliable way of detecting switch hang without relying on presence
 of nearby hosts.
 After reset MIB counters are zero.
 Port 5 is bound to router's CPU.
 Try sending something out. It can be broadcast ping.
 Wait a few seconds.

 swconfig dev switch0 port 5 get mib | grep -q '^IfOutOctets[[:space:]]*:
 0$' || { SWITCH WORKS }

 if IfOutOctets remains zero then switch is hang

--
Ticket URL: <https://dev.openwrt.org/ticket/22024#comment:15>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to