Last active
September 15, 2024 09:41
-
-
Save 2-click/1bab797c6b2afbb2af9ee84cf8389c32 to your computer and use it in GitHub Desktop.
Exxample response UniFi switch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "port_table": [ | |
| { | |
| "port_idx": 1, | |
| "media": "SFP+", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048928, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": false, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 0, | |
| "rx_broadcast": 0, | |
| "rx_bytes": 0, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 0, | |
| "rx_packets": 0, | |
| "satisfaction": 90, | |
| "satisfaction_reason": 9, | |
| "sfp_compliance": "10GBase-SR", | |
| "sfp_current": "6.000", | |
| "sfp_found": true, | |
| "sfp_part": "UF-RJ45-10G", | |
| "sfp_rev": "2", | |
| "sfp_rxfault": true, | |
| "sfp_rxpower": "-40.00", | |
| "sfp_serial": "<REDACTED>", | |
| "sfp_temperature": "33.250", | |
| "sfp_txfault": false, | |
| "sfp_txpower": "-3.01", | |
| "sfp_vendor": "UBNT", | |
| "sfp_voltage": "3.323", | |
| "speed": 10000, | |
| "stp_pathcost": 0, | |
| "stp_state": "disabled", | |
| "tx_broadcast": 66579, | |
| "tx_bytes": 31248919, | |
| "tx_dropped": 59, | |
| "tx_errors": 0, | |
| "tx_multicast": 264558, | |
| "tx_packets": 333834, | |
| "up": false, | |
| "tx_bytes-r": 13.98845139477873, | |
| "rx_bytes-r": 0, | |
| "bytes-r": 13.98845139477873, | |
| "name": "SFP+ 1", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 2, | |
| "media": "SFP+", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048928, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": false, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 0, | |
| "rx_broadcast": 0, | |
| "rx_bytes": 0, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 0, | |
| "rx_packets": 0, | |
| "satisfaction": 100, | |
| "satisfaction_reason": 0, | |
| "sfp_found": false, | |
| "speed": 10000, | |
| "stp_pathcost": 0, | |
| "stp_state": "disabled", | |
| "tx_broadcast": 0, | |
| "tx_bytes": 0, | |
| "tx_dropped": 0, | |
| "tx_errors": 0, | |
| "tx_multicast": 0, | |
| "tx_packets": 0, | |
| "up": false, | |
| "tx_bytes-r": 0, | |
| "rx_bytes-r": 0, | |
| "bytes-r": 0, | |
| "name": "SFP+ 2", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 3, | |
| "media": "SFP+", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048928, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": false, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 0, | |
| "rx_broadcast": 0, | |
| "rx_bytes": 0, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 0, | |
| "rx_packets": 0, | |
| "satisfaction": 100, | |
| "satisfaction_reason": 0, | |
| "sfp_found": false, | |
| "speed": 10000, | |
| "stp_pathcost": 0, | |
| "stp_state": "disabled", | |
| "tx_broadcast": 0, | |
| "tx_bytes": 0, | |
| "tx_dropped": 0, | |
| "tx_errors": 0, | |
| "tx_multicast": 0, | |
| "tx_packets": 0, | |
| "up": false, | |
| "tx_bytes-r": 0, | |
| "rx_bytes-r": 0, | |
| "bytes-r": 0, | |
| "name": "SFP+ 3", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 4, | |
| "media": "SFP+", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048928, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": false, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 0, | |
| "rx_broadcast": 0, | |
| "rx_bytes": 0, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 0, | |
| "rx_packets": 0, | |
| "satisfaction": 100, | |
| "satisfaction_reason": 0, | |
| "sfp_found": false, | |
| "speed": 10000, | |
| "stp_pathcost": 0, | |
| "stp_state": "disabled", | |
| "tx_broadcast": 0, | |
| "tx_bytes": 0, | |
| "tx_dropped": 0, | |
| "tx_errors": 0, | |
| "tx_multicast": 0, | |
| "tx_packets": 0, | |
| "up": false, | |
| "tx_bytes-r": 0, | |
| "rx_bytes-r": 0, | |
| "bytes-r": 0, | |
| "name": "SFP+ 4", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 5, | |
| "media": "SFP+", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048928, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": false, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 0, | |
| "rx_broadcast": 0, | |
| "rx_bytes": 0, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 0, | |
| "rx_packets": 0, | |
| "satisfaction": 100, | |
| "satisfaction_reason": 0, | |
| "sfp_found": false, | |
| "speed": 10000, | |
| "stp_pathcost": 0, | |
| "stp_state": "disabled", | |
| "tx_broadcast": 0, | |
| "tx_bytes": 0, | |
| "tx_dropped": 0, | |
| "tx_errors": 0, | |
| "tx_multicast": 0, | |
| "tx_packets": 0, | |
| "up": false, | |
| "tx_bytes-r": 0, | |
| "rx_bytes-r": 0, | |
| "bytes-r": 0, | |
| "name": "SFP+ 5", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 6, | |
| "media": "SFP+", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048928, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": false, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 0, | |
| "rx_broadcast": 0, | |
| "rx_bytes": 0, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 0, | |
| "rx_packets": 0, | |
| "satisfaction": 100, | |
| "satisfaction_reason": 0, | |
| "sfp_found": false, | |
| "speed": 10000, | |
| "stp_pathcost": 0, | |
| "stp_state": "disabled", | |
| "tx_broadcast": 0, | |
| "tx_bytes": 0, | |
| "tx_dropped": 0, | |
| "tx_errors": 0, | |
| "tx_multicast": 0, | |
| "tx_packets": 0, | |
| "up": false, | |
| "tx_bytes-r": 0, | |
| "rx_bytes-r": 0, | |
| "bytes-r": 0, | |
| "name": "SFP+ 6", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 7, | |
| "media": "SFP+", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048928, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": false, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 0, | |
| "rx_broadcast": 0, | |
| "rx_bytes": 0, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 0, | |
| "rx_packets": 0, | |
| "satisfaction": 100, | |
| "satisfaction_reason": 0, | |
| "sfp_found": false, | |
| "speed": 10000, | |
| "stp_pathcost": 0, | |
| "stp_state": "disabled", | |
| "tx_broadcast": 0, | |
| "tx_bytes": 0, | |
| "tx_dropped": 0, | |
| "tx_errors": 0, | |
| "tx_multicast": 0, | |
| "tx_packets": 0, | |
| "up": false, | |
| "tx_bytes-r": 0, | |
| "rx_bytes-r": 0, | |
| "bytes-r": 0, | |
| "name": "SFP+ 7", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 8, | |
| "media": "SFP+", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048928, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": false, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 0, | |
| "rx_broadcast": 0, | |
| "rx_bytes": 0, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 0, | |
| "rx_packets": 0, | |
| "satisfaction": 100, | |
| "satisfaction_reason": 0, | |
| "sfp_found": false, | |
| "speed": 10000, | |
| "stp_pathcost": 0, | |
| "stp_state": "disabled", | |
| "tx_broadcast": 0, | |
| "tx_bytes": 0, | |
| "tx_dropped": 0, | |
| "tx_errors": 0, | |
| "tx_multicast": 0, | |
| "tx_packets": 0, | |
| "up": false, | |
| "tx_bytes-r": 0, | |
| "rx_bytes-r": 0, | |
| "bytes-r": 0, | |
| "name": "SFP+ 8", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 9, | |
| "media": "SFP+", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048928, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": false, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 0, | |
| "rx_broadcast": 0, | |
| "rx_bytes": 0, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 0, | |
| "rx_packets": 0, | |
| "satisfaction": 100, | |
| "satisfaction_reason": 0, | |
| "sfp_found": false, | |
| "speed": 10000, | |
| "stp_pathcost": 0, | |
| "stp_state": "disabled", | |
| "tx_broadcast": 0, | |
| "tx_bytes": 0, | |
| "tx_dropped": 0, | |
| "tx_errors": 0, | |
| "tx_multicast": 0, | |
| "tx_packets": 0, | |
| "up": false, | |
| "tx_bytes-r": 0, | |
| "rx_bytes-r": 0, | |
| "bytes-r": 0, | |
| "name": "SFP+ 9", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 10, | |
| "media": "SFP+", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048928, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": false, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 0, | |
| "rx_broadcast": 0, | |
| "rx_bytes": 0, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 0, | |
| "rx_packets": 0, | |
| "satisfaction": 100, | |
| "satisfaction_reason": 0, | |
| "sfp_found": false, | |
| "speed": 10000, | |
| "stp_pathcost": 0, | |
| "stp_state": "disabled", | |
| "tx_broadcast": 0, | |
| "tx_bytes": 0, | |
| "tx_dropped": 0, | |
| "tx_errors": 0, | |
| "tx_multicast": 0, | |
| "tx_packets": 0, | |
| "up": false, | |
| "tx_bytes-r": 0, | |
| "rx_bytes-r": 0, | |
| "bytes-r": 0, | |
| "name": "SFP+ 10", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 11, | |
| "media": "SFP+", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048928, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": false, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 0, | |
| "rx_broadcast": 0, | |
| "rx_bytes": 0, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 0, | |
| "rx_packets": 0, | |
| "satisfaction": 95, | |
| "satisfaction_reason": 8, | |
| "sfp_compliance": "10GBase-LR", | |
| "sfp_current": "28.032", | |
| "sfp_found": true, | |
| "sfp_part": "UF-SM-10G", | |
| "sfp_rev": "", | |
| "sfp_rxfault": true, | |
| "sfp_rxpower": "-40.00", | |
| "sfp_serial": "<REDACTED>", | |
| "sfp_temperature": "39.503", | |
| "sfp_txfault": false, | |
| "sfp_txpower": "-2.49", | |
| "sfp_vendor": "UBNT", | |
| "sfp_voltage": "3.205", | |
| "speed": 10000, | |
| "stp_pathcost": 0, | |
| "stp_state": "disabled", | |
| "tx_broadcast": 0, | |
| "tx_bytes": 0, | |
| "tx_dropped": 0, | |
| "tx_errors": 0, | |
| "tx_multicast": 0, | |
| "tx_packets": 0, | |
| "up": false, | |
| "tx_bytes-r": 0, | |
| "rx_bytes-r": 0, | |
| "bytes-r": 0, | |
| "name": "SFP+ 11", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 12, | |
| "media": "SFP+", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048928, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": false, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": true, | |
| "jumbo": false, | |
| "mac_table_count": 3, | |
| "rx_broadcast": 1411713, | |
| "rx_bytes": 207702355302, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 2746963, | |
| "rx_packets": 298191609, | |
| "satisfaction": 100, | |
| "satisfaction_reason": 0, | |
| "sfp_compliance": "10GBase-LR", | |
| "sfp_current": "23.814", | |
| "sfp_found": true, | |
| "sfp_part": "UF-SM-10G", | |
| "sfp_rev": "", | |
| "sfp_rxfault": false, | |
| "sfp_rxpower": "-3.09", | |
| "sfp_serial": "<REDACTED>", | |
| "sfp_temperature": "33.984", | |
| "sfp_txfault": false, | |
| "sfp_txpower": "-1.91", | |
| "sfp_vendor": "UBNT", | |
| "sfp_voltage": "3.221", | |
| "speed": 10000, | |
| "stp_pathcost": 2000, | |
| "stp_state": "forwarding", | |
| "tx_broadcast": 800790, | |
| "tx_bytes": 326486668739, | |
| "tx_dropped": 0, | |
| "tx_errors": 0, | |
| "tx_multicast": 413613, | |
| "tx_packets": 373551229, | |
| "up": true, | |
| "tx_bytes-r": 467552.3927919973, | |
| "rx_bytes-r": 200249.3290423023, | |
| "bytes-r": 667801.7218342996, | |
| "name": "SFP+ 12", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 13, | |
| "media": "10GE", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048864, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": true, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 1, | |
| "rx_broadcast": 182036, | |
| "rx_bytes": 8797140454, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 59862, | |
| "rx_packets": 13019189, | |
| "satisfaction": 90, | |
| "satisfaction_reason": 1, | |
| "speed": 10000, | |
| "stp_pathcost": 2000, | |
| "stp_state": "forwarding", | |
| "tx_broadcast": 856178, | |
| "tx_bytes": 26282694772, | |
| "tx_dropped": 1, | |
| "tx_errors": 0, | |
| "tx_multicast": 1160403, | |
| "tx_packets": 25103586, | |
| "up": true, | |
| "tx_bytes-r": 32947.7524369416, | |
| "rx_bytes-r": 9490.955141685354, | |
| "bytes-r": 42438.707578626956, | |
| "name": "Port 13", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 14, | |
| "media": "10GE", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048864, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": true, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 1, | |
| "rx_broadcast": 37885, | |
| "rx_bytes": 8592408697, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 62847, | |
| "rx_packets": 17405076, | |
| "satisfaction": 100, | |
| "satisfaction_reason": 0, | |
| "speed": 10000, | |
| "stp_pathcost": 2000, | |
| "stp_state": "forwarding", | |
| "tx_broadcast": 1450429, | |
| "tx_bytes": 31167133242, | |
| "tx_dropped": 0, | |
| "tx_errors": 0, | |
| "tx_multicast": 1955327, | |
| "tx_packets": 31813900, | |
| "up": true, | |
| "tx_bytes-r": 47984.10614492687, | |
| "rx_bytes-r": 3524.8922401273367, | |
| "bytes-r": 51508.998385054205, | |
| "name": "Port 14", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 15, | |
| "media": "10GE", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048864, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": true, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 1, | |
| "rx_broadcast": 53785, | |
| "rx_bytes": 6297837777, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 45675, | |
| "rx_packets": 13364511, | |
| "satisfaction": 90, | |
| "satisfaction_reason": 1, | |
| "speed": 1000, | |
| "stp_pathcost": 20000, | |
| "stp_state": "forwarding", | |
| "tx_broadcast": 1031059, | |
| "tx_bytes": 15927522347, | |
| "tx_dropped": 53787, | |
| "tx_errors": 0, | |
| "tx_multicast": 1220834, | |
| "tx_packets": 19087613, | |
| "up": true, | |
| "tx_bytes-r": 10264.30505048158, | |
| "rx_bytes-r": 4093.875986104495, | |
| "bytes-r": 14358.181036586075, | |
| "name": "Port 15", | |
| "masked": false, | |
| "aggregated_by": false | |
| }, | |
| { | |
| "port_idx": 16, | |
| "media": "10GE", | |
| "port_poe": false, | |
| "poe_caps": 0, | |
| "speed_caps": 1048864, | |
| "op_mode": "switch", | |
| "forward": "all", | |
| "anomalies": 0, | |
| "autoneg": true, | |
| "dot1x_mode": "unknown", | |
| "dot1x_status": "disabled", | |
| "enable": true, | |
| "flowctrl_rx": false, | |
| "flowctrl_tx": false, | |
| "full_duplex": true, | |
| "is_uplink": false, | |
| "jumbo": false, | |
| "mac_table_count": 6, | |
| "rx_broadcast": 487270, | |
| "rx_bytes": 339013646922, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 249037, | |
| "rx_packets": 371362590, | |
| "satisfaction": 100, | |
| "satisfaction_reason": 0, | |
| "speed": 10000, | |
| "stp_pathcost": 2000, | |
| "stp_state": "forwarding", | |
| "tx_broadcast": 1725207, | |
| "tx_bytes": 171630510569, | |
| "tx_dropped": 0, | |
| "tx_errors": 0, | |
| "tx_multicast": 2912752, | |
| "tx_packets": 272031599, | |
| "up": true, | |
| "tx_bytes-r": 153556.80775173983, | |
| "rx_bytes-r": 492184.951958267, | |
| "bytes-r": 645741.7597100069, | |
| "name": "Port 16", | |
| "masked": false, | |
| "aggregated_by": false | |
| } | |
| ], | |
| "required_version": "3.7.19", | |
| "license_state": "registered", | |
| "type": "usw", | |
| "board_rev": 13, | |
| "hw_caps": 0, | |
| "reboot_duration": 90, | |
| "config_network": { | |
| "ip": "<REDACTED>", | |
| "type": "dhcp" | |
| }, | |
| "syslog_key": "<REDACTED>", | |
| "model": "USXG", | |
| "slimcfg_caps": 0, | |
| "manufacturer_id": 2, | |
| "ip": "<REDACTED>", | |
| "fw2_caps": 512, | |
| "jumboframe_enabled": false, | |
| "last_connection_network_name": "LAN", | |
| "unsupported_reason": 0, | |
| "version": "7.0.50.15613", | |
| "adoption_completed": true, | |
| "anon_id": "b0650a37-7721-4880-8945-03a7de361d42", | |
| "stp_version": "rstp", | |
| "last_connection_network_id": "64ec4820845d94028c8d6564", | |
| "site_id": "64ec481e845d94028c8d5478", | |
| "fw_caps": -1488265691, | |
| "_id": "64ec4820845d94028c8d6626", | |
| "internet": true, | |
| "gateway_mac": "<REDACTED>", | |
| "stp_priority": "32768", | |
| "connected_at": 1716844382, | |
| "two_phase_adopt": false, | |
| "inform_ip": "<REDACTED>", | |
| "cfgversion": "bbb97cb66af2fbad", | |
| "mac": "<REDACTED>", | |
| "provisioned_at": 1716844457, | |
| "ethernet_table": [ | |
| { | |
| "num_port": 16, | |
| "name": "eth0", | |
| "mac": "<REDACTED>" | |
| }, | |
| { | |
| "name": "srv0", | |
| "mac": "<REDACTED>" | |
| } | |
| ], | |
| "inform_url": "<REDACTED>", | |
| "upgrade_duration": 230, | |
| "flowctrl_enabled": false, | |
| "sys_error_caps": 0, | |
| "unsupported": false, | |
| "ble_caps": 0, | |
| "dot1x_portctrl_enabled": false, | |
| "last_uplink": { | |
| "port_idx": 12, | |
| "uplink_mac": "<REDACTED>", | |
| "uplink_remote_port": 50, | |
| "type": "wire" | |
| }, | |
| "disconnected_at": 1716844370, | |
| "architecture": "armv7l", | |
| "has_fan": true, | |
| "model_incompatible": false, | |
| "satisfaction": 96, | |
| "anomalies": -1, | |
| "model_in_eol": false, | |
| "has_temperature": true, | |
| "switch_caps": { | |
| "max_aggregate_sessions": 8, | |
| "feature_caps": 3714046, | |
| "max_custom_ip_acls": 128, | |
| "max_custom_mac_acls": 128, | |
| "max_global_acls": 128, | |
| "max_reserved_routes": 0, | |
| "vlan_caps": 7, | |
| "max_vlan_count": 1000, | |
| "max_static_routes": 0, | |
| "max_mirror_sessions": 1, | |
| "max_l3_intf": 0 | |
| }, | |
| "kernel_version": "3.6.5", | |
| "model_in_lts": false, | |
| "serial": "<REDACTED>", | |
| "power_source_ctrl_enabled": false, | |
| "adopted": true, | |
| "hash_id": "<REDACTED>", | |
| "device_id": "<REDACTED>", | |
| "uplink": { | |
| "full_duplex": true, | |
| "ip": "<REDACTED>", | |
| "mac": "<REDACTED>", | |
| "name": "eth0", | |
| "netmask": "255.255.255.0", | |
| "num_port": 16, | |
| "rx_bytes": 207702355302, | |
| "rx_dropped": 0, | |
| "rx_errors": 0, | |
| "rx_multicast": 0, | |
| "rx_packets": 298191609, | |
| "speed": 10000, | |
| "tx_bytes": 326486668739, | |
| "tx_dropped": 0, | |
| "tx_errors": 0, | |
| "tx_packets": 373551229, | |
| "up": true, | |
| "port_idx": 12, | |
| "media": "SFP+", | |
| "max_speed": 10000, | |
| "uplink_mac": "<REDACTED>", | |
| "uplink_source": "lldp_uplink", | |
| "uplink_remote_port": 50, | |
| "type": "wire", | |
| "tx_bytes-r": 467552.3927919973, | |
| "rx_bytes-r": 200249.3290423023, | |
| "uplink_device_name": "US-48-G1" | |
| }, | |
| "state": 1, | |
| "start_disconnected_millis": 1716844370242, | |
| "start_connected_millis": 1716844382812, | |
| "last_seen": 1717580068, | |
| "next_interval": 63, | |
| "disconnection_reason": "MISSED_INFORM, last_seen '1716844289', considered_lost '1716844352', state: 1", | |
| "min_inform_interval_seconds": 30, | |
| "upgradable": false, | |
| "adoptable_when_upgraded": false, | |
| "rollupgrade": false, | |
| "known_cfgversion": "bbb97cb66af2fbad", | |
| "uptime": 2362822, | |
| "_uptime": 2362822, | |
| "locating": false, | |
| "prev_non_busy_state": 1, | |
| "connect_request_ip": "<REDACTED>", | |
| "connect_request_port": "<REDACTED>", | |
| "sys_stats": { | |
| "loadavg_1": "0.08", | |
| "loadavg_15": "0.17", | |
| "loadavg_5": "0.18", | |
| "mem_buffer": 0, | |
| "mem_total": 510894080, | |
| "mem_used": 130658304 | |
| }, | |
| "system-stats": { | |
| "cpu": "10.8", | |
| "mem": "25.6", | |
| "uptime": "2362822" | |
| }, | |
| "ssh_session_table": [], | |
| "lldp_table": [ | |
| { | |
| "chassis_id": "<REDACTED>", | |
| "is_wired": true, | |
| "local_port_idx": 12, | |
| "local_port_name": "SFP_ 12", | |
| "port_id": "Port 50" | |
| }, | |
| { | |
| "chassis_id": "<REDACTED>", | |
| "is_wired": true, | |
| "local_port_idx": 13, | |
| "local_port_name": "Port 13", | |
| "port_id": "<REDACTED>" | |
| }, | |
| { | |
| "chassis_id": "<REDACTED>", | |
| "is_wired": true, | |
| "local_port_idx": 14, | |
| "local_port_name": "Port 14", | |
| "port_id": "<REDACTED>" | |
| }, | |
| { | |
| "chassis_id": "<REDACTED>", | |
| "is_wired": true, | |
| "local_port_idx": 15, | |
| "local_port_name": "Port 15", | |
| "port_id": "<REDACTED>" | |
| }, | |
| { | |
| "chassis_id": "<REDACTED>", | |
| "is_wired": true, | |
| "local_port_idx": 16, | |
| "local_port_name": "Port 16", | |
| "port_id": "<REDACTED>" | |
| } | |
| ], | |
| "displayable_version": "7.0.50", | |
| "connection_network_id": "64ec4820845d94028c8d6564", | |
| "connection_network_name": "LAN", | |
| "startup_timestamp": 1715217246, | |
| "is_access_point": false, | |
| "safe_for_autoupgrade": true, | |
| "fan_level": 57, | |
| "general_temperature": 50, | |
| "overheating": false, | |
| "total_max_power": 0, | |
| "downlink_table": [], | |
| "uplink_depth": 2, | |
| "downlink_lldp_macs": [ | |
| "<REDACTED>", | |
| "<REDACTED>", | |
| "<REDACTED>", | |
| "<REDACTED>" | |
| ], | |
| "dhcp_server_table": [], | |
| "name": "US-16-XG", | |
| "stat": { | |
| "sw": { | |
| "site_id": "64ec481e845d94028c8d5478", | |
| "o": "sw", | |
| "oid": "<REDACTED>", | |
| "sw": "<REDACTED>", | |
| "time": 1711385400000, | |
| "datetime": "2024-03-25T16:50:00Z", | |
| "rx_packets": 1926404118, | |
| "rx_bytes": 1560031719399, | |
| "rx_errors": 0, | |
| "rx_dropped": 0, | |
| "rx_crypts": 0, | |
| "rx_frags": 0, | |
| "tx_packets": 1949287235, | |
| "tx_bytes": 1563158646981, | |
| "tx_errors": 0, | |
| "tx_dropped": 168958, | |
| "tx_retries": 0, | |
| "rx_multicast": 8876287, | |
| "rx_broadcast": 6189907, | |
| "tx_multicast": 21444220, | |
| "tx_broadcast": 15811325, | |
| "bytes": 3123190366380, | |
| "duration": 6194060000, | |
| "port_1-tx_packets": 917188, | |
| "port_1-tx_bytes": 90228400, | |
| "port_1-tx_multicast": 709341, | |
| "port_1-tx_broadcast": 187512, | |
| "port_12-rx_packets": 778145744, | |
| "port_12-rx_bytes": 510027551633, | |
| "port_12-tx_packets": 1046248698, | |
| "port_12-tx_bytes": 960566670918, | |
| "port_12-rx_multicast": 7852415, | |
| "port_12-rx_broadcast": 3959797, | |
| "port_12-tx_multicast": 1014522, | |
| "port_12-tx_broadcast": 2318506, | |
| "port_16-rx_packets": 1039656307, | |
| "port_16-rx_bytes": 989515960118, | |
| "port_16-tx_packets": 709206037, | |
| "port_16-tx_bytes": 412960334581, | |
| "port_16-rx_multicast": 554916, | |
| "port_16-rx_broadcast": 1441813, | |
| "port_16-tx_multicast": 8315305, | |
| "port_16-tx_broadcast": 4836803, | |
| "port_1-tx_dropped": 199, | |
| "port_13-tx_packets": 72786464, | |
| "port_13-tx_bytes": 75664125537, | |
| "port_13-tx_multicast": 3532492, | |
| "port_13-rx_packets": 37994879, | |
| "port_13-rx_bytes": 25634481008, | |
| "port_13-rx_multicast": 203562, | |
| "port_13-tx_broadcast": 2550801, | |
| "port_13-rx_broadcast": 529105, | |
| "port_14-tx_packets": 63782502, | |
| "port_14-tx_bytes": 66558827492, | |
| "port_14-tx_multicast": 3861409, | |
| "port_14-tx_broadcast": 2961402, | |
| "port_14-rx_packets": 31410397, | |
| "port_14-rx_bytes": 14053283404, | |
| "port_14-rx_multicast": 108208, | |
| "port_14-rx_broadcast": 62049, | |
| "port_15-tx_packets": 56346346, | |
| "port_15-tx_bytes": 47318460053, | |
| "port_15-tx_multicast": 4011151, | |
| "port_15-rx_packets": 39196791, | |
| "port_15-rx_bytes": 20800443236, | |
| "port_15-rx_multicast": 157186, | |
| "port_15-tx_broadcast": 2956301, | |
| "port_15-rx_broadcast": 197143, | |
| "port_15-tx_dropped": 168758, | |
| "port_13-tx_dropped": 1 | |
| } | |
| }, | |
| "tx_bytes": 207702355302, | |
| "rx_bytes": 326486668739, | |
| "bytes": 534189024041, | |
| "num_sta": 4, | |
| "user-num_sta": 4, | |
| "guest-num_sta": 0 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment