Merge pull request #36 from KIT-IAI/f-tests-sx300

add missing tests for sg300-10
This commit is contained in:
Petr Klíma authored and GitHub committed 2020-11-06 07:42:35 +01:00
commit cfcb69a7ca
25 files changed
+426

No files matched your search

@@ -0,0 +1,11 @@
System capability legend:
B - Bridge; R - Router; W - Wlan Access Point; T - telephone;
D - DOCSIS Cable Device; H - Host; r - Repeater;
TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other
Port Device ID Port ID System Name Capabilities TTL
--------- ----------------- ------------- ----------------- ------------ -----
gi7 00:a5:bf:ff:ee:dd gi8 switchcffeedd B, R 96
gi8 f2:18:98:aa:bb:cc 9c:eb:e8:c3:b test-pc1 B, W 118
2:a1
@@ -0,0 +1,3 @@
Jumbo frames are disabled
Jumbo frames will be disabled after reset
+1
View File
@@ -10,6 +10,7 @@ show version
show system
show interfaces status
show interfaces description
show ports jumbo-frame
# choose any physical interface on your device
show lldp local GigabitEthernet1
@@ -0,0 +1,29 @@
{
"fqdn": "switchaabbcc.",
"hostname": "switchaabbcc",
"interface_list": [
"gi1",
"gi2",
"gi3",
"gi4",
"gi5",
"gi6",
"gi7",
"gi8",
"gi9",
"gi10",
"Po1",
"Po2",
"Po3",
"Po4",
"Po5",
"Po6",
"Po7",
"Po8"
],
"model": "SG300-10 10-Port Gigabit Managed Switch",
"os_version": "1.4.11.5",
"serial_number": "AAAABBBBCCC",
"uptime": 607990,
"vendor": "Cisco"
}
@@ -0,0 +1,33 @@
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
-------------------------------------------- ------- --------- ----------
Name server is not configured
Cache Table
Flags: (STA/DYN, OK/NE/??)
STA - Static, DYN - Dynamic
OK - Okay, NE - Negative Cache, ?? - No Response
Remaining
Host Addresses Type State TTL
------------------------- ------------------------ ---- ------ ----------
No hostname is mapped to an IP address
@@ -0,0 +1,25 @@
Flow Link Back Mdix
Port Type Duplex Speed Neg ctrl State Pressure Mode
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
gi1 1G-Copper -- -- -- -- Down -- --
gi2 1G-Copper -- -- -- -- Down -- --
gi3 1G-Copper -- -- -- -- Down -- --
gi4 1G-Copper -- -- -- -- Down -- --
gi5 1G-Copper -- -- -- -- Down -- --
gi6 1G-Copper -- -- -- -- Down -- --
gi7 1G-Copper Full 1000 Enabled Off Up Disabled Off
gi8 1G-Copper Full 1000 Enabled Off Up Disabled On
gi9 1G-Combo-C -- -- -- -- Down -- --
gi10 1G-Combo-C -- -- -- -- Down -- --
Flow Link
Ch Type Duplex Speed Neg control State
-------- ------- ------ ----- -------- ------- -----------
Po1 -- -- -- -- -- Not Present
Po2 -- -- -- -- -- Not Present
Po3 -- -- -- -- -- Not Present
Po4 -- -- -- -- -- Not Present
Po5 -- -- -- -- -- Not Present
Po6 -- -- -- -- -- Not Present
Po7 -- -- -- -- -- Not Present
Po8 -- -- -- -- -- Not Present
@@ -0,0 +1,4 @@
NAME: "1" DESCR: "SG300-10 10-Port Gigabit Managed Switch"
PID: SRW2008-K9 VID: V05 SN: AAAABBBBCCC
@@ -0,0 +1,10 @@
System Description: SG300-10 10-Port Gigabit Managed Switch
System Up Time (days,hour:min:sec): 07,00:53:10
System Contact:
System Name: switchaabbcc
System Location:
System MAC Address: 50:f7:22:aa:bb:cc
System Object ID: 1.3.6.1.4.1.9.6.1.83.10.1
Fans Status: N/A
@@ -0,0 +1,3 @@
SW version 1.4.11.5 ( date 08-Apr-2020 time 13:49:34 )
Boot version 1.3.5.06 ( date 21-Jul-2013 time 15:12:10 )
HW version V05
@@ -0,0 +1,92 @@
{
"gi1": {
"description": "test1",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
},
"gi10": {
"description": "",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
},
"gi2": {
"description": "test2",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
},
"gi3": {
"description": "",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
},
"gi4": {
"description": "",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
},
"gi5": {
"description": "test5",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
},
"gi6": {
"description": "",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
},
"gi7": {
"description": "",
"is_enabled": true,
"is_up": true,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 1000
},
"gi8": {
"description": "",
"is_enabled": true,
"is_up": true,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 1000
},
"gi9": {
"description": "",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
}
}
@@ -0,0 +1,23 @@
Port Description
------- -----------
gi1 test1
gi2 test2
gi3
gi4
gi5 test5
gi6
gi7
gi8
gi9
gi10
Ch Description
------- -----------
Po1
Po2
Po3
Po4
Po5
Po6
Po7
Po8
@@ -0,0 +1,25 @@
Flow Link Back Mdix
Port Type Duplex Speed Neg ctrl State Pressure Mode
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
gi1 1G-Copper -- -- -- -- Down -- --
gi2 1G-Copper -- -- -- -- Down -- --
gi3 1G-Copper -- -- -- -- Down -- --
gi4 1G-Copper -- -- -- -- Down -- --
gi5 1G-Copper -- -- -- -- Down -- --
gi6 1G-Copper -- -- -- -- Down -- --
gi7 1G-Copper Full 1000 Enabled Off Up Disabled Off
gi8 1G-Copper Full 1000 Enabled Off Up Disabled On
gi9 1G-Combo-C -- -- -- -- Down -- --
gi10 1G-Combo-C -- -- -- -- Down -- --
Flow Link
Ch Type Duplex Speed Neg control State
-------- ------- ------ ----- -------- ------- -----------
Po1 -- -- -- -- -- Not Present
Po2 -- -- -- -- -- Not Present
Po3 -- -- -- -- -- Not Present
Po4 -- -- -- -- -- Not Present
Po5 -- -- -- -- -- Not Present
Po6 -- -- -- -- -- Not Present
Po7 -- -- -- -- -- Not Present
Po8 -- -- -- -- -- Not Present
@@ -0,0 +1,19 @@
Device ID: 50:f7:22:aa:bb:cc
Port ID: gi1
Capabilities: Bridge
System Name: switchaabbcc
802.3 EEE:
17
17
17
17
802.1 PVID: 1
802.1 PPVID:
802.1 VLAN:
802.1 Protocol:
@@ -0,0 +1,3 @@
Jumbo frames are disabled
Jumbo frames will be disabled after reset
@@ -0,0 +1 @@
{"vlan": {"ipv4": {"192.168.1.254": {"prefix_length": 24}}}}
@@ -0,0 +1,14 @@
IP Address I/F I/F Status Type Redirect Status
admin/oper
------------------ --------- ---------- ------- -------- ------
0.0.0.0/32 vlan 1 UP/UP DHCP enable Not
receiv
ed
192.168.1.254/24 vlan 1 UP/UP Default enable Valid
Gateway IP Address Activity status Type
----------------------- ----------------------- --------
@@ -0,0 +1,14 @@
{
"gi7": [
{
"hostname": "switchcffeedd",
"port": "gi8"
}
],
"gi8": [
{
"hostname": "test-pc1",
"port": "9c:eb:e8:c3:b2:a1"
}
]
}
@@ -0,0 +1,11 @@
System capability legend:
B - Bridge; R - Router; W - Wlan Access Point; T - telephone;
D - DOCSIS Cable Device; H - Host; r - Repeater;
TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other
Port Device ID Port ID System Name Capabilities TTL
--------- ----------------- ------------- ----------------- ------------ -----
gi7 00:a5:bf:ff:ee:dd gi8 switchcffeedd B, R 96
gi8 f2:18:98:aa:bb:cc 9c:eb:e8:c3:b test-pc1 B, W 118
2:a1
@@ -0,0 +1,14 @@
{
"gi7": [
{
"hostname": "switchcffeedd",
"port": "gi8"
}
],
"gi8": [
{
"hostname": "test-pc1",
"port": "en1"
}
]
}
@@ -0,0 +1,10 @@
System capability legend:
B - Bridge; R - Router; W - Wlan Access Point; T - telephone;
D - DOCSIS Cable Device; H - Host; r - Repeater;
TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other
Port Device ID Port ID System Name Capabilities TTL
--------- ----------------- ------------- ----------------- ------------ -----
gi7 00:a5:bf:ff:ee:dd gi8 switchcffeedd B, R 96
gi8 f2:18:98:aa:bb:cc en1 test-pc1 B, W 118
@@ -0,0 +1,20 @@
{
"gi7": [
{
"parent_interface": "N/A",
"remote_chassis_id": "00:a5:bf:ff:ee:dd",
"remote_port": "gi8",
"remote_port_description": "",
"remote_system_capab": [
"B",
"R"
],
"remote_system_description": "",
"remote_system_enable_capab": [
"B",
"R"
],
"remote_system_name": "switchcffeedd"
}
]
}
@@ -0,0 +1,9 @@
System capability legend:
B - Bridge; R - Router; W - Wlan Access Point; T - telephone;
D - DOCSIS Cable Device; H - Host; r - Repeater;
TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other
Port Device ID Port ID System Name Capabilities TTL
--------- ----------------- ------------- ----------------- ------------ -----
gi7 00:a5:bf:ff:ee:dd gi8 switchcffeedd B, R 96
@@ -0,0 +1,27 @@
Device ID: 00:a5:bf:ff:ee:dd
Port ID: gi8
Capabilities: Bridge, Router
System Name: switchcffeedd
System description:
Port description:
Management Address: 192.168.1.253
Management Address: 254.128.0.0.0.0
Time To Live: 118
802.3 EEE:
17
17
17
17
802.1 PVID: 1
802.1 PPVID:
802.1 VLAN:
802.1 Protocol:
@@ -0,0 +1,3 @@
{
"1.2.3.4": {}
}
@@ -0,0 +1,22 @@
Clock is unsynchronized
Unicast servers:
Server : 1.2.3.4
Source : Static
Stratum : 255
Status : unknown
Last Response : 00:00:00.0 Jan 1 1900
Offset : 0.0000000 mSec
Delay : 0 mSec
Anycast server:
Broadcast: