GS1200 - ability to show port error statistics?

Options
devsec
devsec Posts: 1
edited August 2023 in Switch

Is there any ability to show port error statistics with the GS1200 switches? I imagine that this basic statistic has to be buried somewhere.

Thanks!

Edit: I've noticed some interesting things in /link_data.js. Example:

var Stats = [
['65432',0,0,0,'256','65432',0,0,0,'256',0],

Is one of these packet errors?

Accepted Solution

  • Zyxel_Nami
    Zyxel_Nami Posts: 563  Zyxel Employee
    First Anniversary 10 Comments Friend Collector First Answer
    Answer ✓
    Options

    Hello @devsec

    Currently, the Switch GS1200 doesn't have the error counter functions as per its defined design.

    As for the Stats array you found in the /link_data.js file, it doesn't represent packet errors. Instead, it likely corresponds to the Per Port Status section of the switch's interface.

    For instance, consider the following data:

    var portstatus = ['Down','Up','Down','Down','Down','Down','Down','Down'];
    var speed = ['0 Mbps','1000 Mbps','0 Mbps','0 Mbps','0 Mbps','0 Mbps','0 Mbps','0 Mbps'];
    var Stats = [
    ['65432',0,0,0,'256','65432',0,0,0,'256',0],
    ['65432',891,0,0,'256','65432',658,0,0,'256',0],
    ['65432',0,0,0,'256','65432',0,0,0,'256',0],
    ['65432',0,0,0,'256','65432',0,0,0,'256',0],
    ['65432',0,0,0,'256','65432',0,0,0,'256',0],
    ['65432',0,0,0,'256','65432',0,0,0,'256',0],
    ['65432',0,0,0,'256','65432',0,0,0,'256',0],
    ['65432',0,0,0,'256','65432',0,0,0,'256',0]];

    In this data, the second sub-array in Stats corresponds to Port 2, and the '891' and '658' values in this sub-array likely represent the number of transmitted (TX) and received (RX) packets, respectively.

    Please see the screenshot of the Switch GS1200-8 HPv2 Web GUI below, which shows 891 TX packets and 658 RX packets on Port 2.

    I hope this helps clarify your question. If you need further clarification, please don't hesitate to ask.

    Share your now! https://bit.ly/4aO0BMF

    Nami

All Replies

  • Zyxel_Nami
    Zyxel_Nami Posts: 563  Zyxel Employee
    First Anniversary 10 Comments Friend Collector First Answer
    Answer ✓
    Options

    Hello @devsec

    Currently, the Switch GS1200 doesn't have the error counter functions as per its defined design.

    As for the Stats array you found in the /link_data.js file, it doesn't represent packet errors. Instead, it likely corresponds to the Per Port Status section of the switch's interface.

    For instance, consider the following data:

    var portstatus = ['Down','Up','Down','Down','Down','Down','Down','Down'];
    var speed = ['0 Mbps','1000 Mbps','0 Mbps','0 Mbps','0 Mbps','0 Mbps','0 Mbps','0 Mbps'];
    var Stats = [
    ['65432',0,0,0,'256','65432',0,0,0,'256',0],
    ['65432',891,0,0,'256','65432',658,0,0,'256',0],
    ['65432',0,0,0,'256','65432',0,0,0,'256',0],
    ['65432',0,0,0,'256','65432',0,0,0,'256',0],
    ['65432',0,0,0,'256','65432',0,0,0,'256',0],
    ['65432',0,0,0,'256','65432',0,0,0,'256',0],
    ['65432',0,0,0,'256','65432',0,0,0,'256',0],
    ['65432',0,0,0,'256','65432',0,0,0,'256',0]];

    In this data, the second sub-array in Stats corresponds to Port 2, and the '891' and '658' values in this sub-array likely represent the number of transmitted (TX) and received (RX) packets, respectively.

    Please see the screenshot of the Switch GS1200-8 HPv2 Web GUI below, which shows 891 TX packets and 658 RX packets on Port 2.

    I hope this helps clarify your question. If you need further clarification, please don't hesitate to ask.

    Share your now! https://bit.ly/4aO0BMF

    Nami