Log link up/down count in XS1930-12HP

peos42
peos42 Posts: 38 image  Freshman Member
First Comment Friend Collector
edited October 6 in Switch

Hi

I can see in my syslog that my XS1930-12HP has logged two 10Gbit fiber link down events on SFP+ port 12. I guess my ISP patched or did reboot by any reason.

My question here is if it is possible to see in the switch how many link down events that has occurred since port stats was cleared. I cannot see/find it. Looking around in the CLI but cannot find anything related to this. I can in the "show interfaces status" see the port uptime, but not how many link down events if there were more than one. Is it only possible to count manually by looking into the switch log or do the following from my syslog server:

 egrep "interface: Port 12.*link down" /var/log/switch0|wc -l

Usually it should be possible to see on an interface statistics.

Tnx
Peo

All Replies

  • Zyxel_Melen
    Zyxel_Melen Posts: 3,916 image  Guru Member
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate

    Hi @peos42

    After checking, the current method we can do is to count by the event logs.

    I have created the idea post of this requirement:

    We will monitor the comments and votes of this idea to evaluate.

    Zyxel Melen


  • peos42
    peos42 Posts: 38 image  Freshman Member
    First Comment Friend Collector

    Tnx for your reply @Zyxel_Melen Ok, so according to your answer I guess it is not possible today? My question was because most other switches have "Number of link down events" or similar on the port statistics.

    Just thought is was there, somewhere, but that I did now how to retrieve it. But now I see it is not possible…

    Would be a "nice to have" info in the port stats in the future…. Not a priority thing though as it is possible to "solve the issue" without it (as I showed in my question post above).