Add support and tests for SG250

This commit is contained in:
Petr Klima committed 2024-04-24 16:09:07 +02:00
1 parent b217d9f891
commit 7b731c0330
56 files changed
+2304 -51

No files matched your search

@@ -0,0 +1 @@
{"fqdn": "Unknown", "hostname": "switch-no-2548-1", "interface_list": ["GigabitEthernet1", "GigabitEthernet2", "GigabitEthernet3", "GigabitEthernet4", "GigabitEthernet5", "GigabitEthernet6", "GigabitEthernet7", "GigabitEthernet8", "GigabitEthernet9", "GigabitEthernet10", "Port-channel1", "Port-channel2", "Port-channel3", "Port-channel4"], "model": "SG250-10P-K9", "os_version": "2.4.5.71", "serial_number": "ABC12234XYZ", "uptime": 10687167.0, "vendor": "Cisco"}
@@ -0,0 +1,38 @@
Name/address lookup is enabled
Domain Timeout: 2 seconds
Domain Retry: 1 times
Domain Polling Interval: 8 seconds
Default Domain Table
Domain Source Interface Preference
-------------------------------------------- ------- --------- ----------
Domain name is not configured
Name Server Table
IP Address Source Interface Preference
-------------------------------------------- ------- --------- ----------
30.70.3.33 static 1
Cache Table
Flags: (STA/DYN, OK/NE/??)
STA - Static, DYN - Dynamic
OK - Okay, NE - Negative Cache, ?? - No Response
Remaining
Host Addresses Type State TTL
------------------------- ------------------------ ---- ------ ----------
tftp 30.70.3.33 IPv4 STA,OK
ntp.examples.com 30.70.3.33 IPv4 DYN,OK 0003:38:43
ntp.examples.com no resolution IPv6 DYN,??
ntp.ph.examp.com 30.30.3.33 IPv4 DYN,OK 0003:38:43
ntp.ph.examp.com no resolution IPv6 DYN,??
pnpserver.qqq.aa no resolution IPv6 DYN,NE 0020:55:13
pnpserver.qqq.aa no resolution IPv4 DYN,NE 0020:55:13
pingu.examples.com 30.70.3.33 IPv4 DYN,OK 0003:38:43
ns-cb-1.examples.com 30.70.3.300 IPv4 DYN,OK 0003:38:43
ns-cb-2.examples.com 30.70.3.300 IPv4 DYN,OK 0003:38:43
@@ -0,0 +1,21 @@
Flow Link Back Mdix
Port Type Duplex Speed Neg ctrl State Pressure Mode
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
gi1 1G-Copper Half 10 Enabled Off Up Disabled On
gi2 1G-Copper Half 10 Enabled Off Up Disabled On
gi3 1G-Copper Full 1000 Enabled Off Up Disabled Off
gi4 1G-Copper Full 100 Enabled Off Up Disabled On
gi5 1G-Copper Full 100 Enabled Off Up Disabled On
gi6 1G-Copper Full 100 Enabled Off Up Disabled On
gi7 1G-Copper Half 10 Enabled Off Up Disabled On
gi8 1G-Copper Full 100 Enabled Off Up Disabled Off
gi9 1G-Combo-C -- -- -- -- Down -- --
gi10 1G-Combo-C Full 100 Enabled Off Up Disabled Off
Flow Link
Ch Type Duplex Speed Neg control State
-------- ------- ------ ----- -------- ------- -----------
Po1 -- -- -- -- -- Not Present
Po2 -- -- -- -- -- Not Present
Po3 -- -- -- -- -- Not Present
Po4 -- -- -- -- -- Not Present
@@ -0,0 +1,2 @@
NAME: "1" DESCR: "SG250-10P 10-Port Gigabit PoE Smart Switch"
PID: SG250-10P-K9 VID: V04 SN: ABC12234XYZ
@@ -0,0 +1,21 @@
System Description: SG250-10P 10-Port Gigabit PoE Smart Switch
System Up Time (days,hour:min:sec): 123,16:39:27
System Contact:
System Name: switch-no-2548-1
System Location: Something;Somewhere;Somestreet;others
atnice;0;vratnice
System MAC Address: aa:aa:a0:22:2a:a2
System Object ID: 2.2.8.4.4.1.9.6.1.97.10.5
Unit Type
---- ----------------------
1 SG250-10P
Unit Fans Status
---- -------------------------------------
1 Fans status is N/A
Unit Temperature (Celsius) Status
---- --------------------- ----------
1 65 OK
@@ -0,0 +1,10 @@
Active-image: flash://system/images/sg250_image_tesla_250_2.4.5.71.bin
Version: 2.4.5.71
MD5 Digest: ABCD1234abcdABCD1234abcdABCD121c
Date: 04-Nov-2018
Time: 19:46:16
Inactive-image: flash://system/images/image1.bin
Version: 2.2.8.4
MD5 Digest: ABCD1234abcdABCD1234abcdABCD12f1
Date: 21-Dec-2016
Time: 22:03:09