有网线插入

root@Widora:/etc/hotplug.d/firmware# swconfig dev switch0 port 0 show
Port 0:
        disable: 0
        doubletag: 1
        untag: 1
        led: 5
        lan: 1
        recv_bad: 0
        recv_good: 180
        tr_bad: 0
        tr_good: 63
        pvid: 0
        link: port:0 link:up speed:100baseT full-duplex 

拔掉

root@Widora:/etc/hotplug.d/firmware# swconfig dev switch0 port 0 show 
Port 0:
        disable: 0
        doubletag: 1
        untag: 1
        led: 5
        lan: 1
        recv_bad: 0
        recv_good: 276
        tr_bad: 0
        tr_good: 67
        pvid: 0
        link: port:0 link:down
  • Last modified: 6 weeks ago
  • (external edit)