-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
pszulczewski
committed
Apr 12, 2023
1 parent
b0cf842
commit 3e8cb51
Showing
22 changed files
with
1,130 additions
and
0 deletions.
There are no files selected for viewing
145 changes: 145 additions & 0 deletions
145
tests/hp_comware/display_interface/hp_comware_display_interface.raw
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
Vlan-interface2000 | ||
Current state: UP | ||
Line protocol state: UP | ||
Description: Servers | ||
Bandwidth: 10000000 kbps | ||
Maximum transmission unit: 1500 | ||
Internet address: 10.1.1.1/24 (Primary) | ||
IP packet frame type: Ethernet II, hardware address: abab-cdcd-6486 | ||
IPv6 packet frame type: Ethernet II, hardware address: abab-cdcd-6486 | ||
Last clearing of counters: Never | ||
Last 300 seconds input rate: 7 bytes/sec, 56 bits/sec, 0 packets/sec | ||
Last 300 seconds output rate: 16 bytes/sec, 128 bits/sec, 0 packets/sec | ||
Input: 9103 packets, 611444 bytes, 0 drops | ||
Output: 18587 packets, 1143610 bytes, 0 drops | ||
|
||
Bridge-Aggregation20 | ||
Current state: UP | ||
Line protocol state: UP | ||
IP packet frame type: Ethernet II, hardware address: abab-cdcd-6485 | ||
Description: FIRST_BLOCK | ||
Bandwidth: 40000000 kbps | ||
40Gbps-speed mode, full-duplex mode | ||
Link speed type is autonegotiation, link duplex type is autonegotiation | ||
PVID: 1 | ||
Port link-type: Trunk | ||
VLAN Passing: 1(default vlan), 4001-4002 | ||
VLAN permitted: 1(default vlan), 2001-2020, 2190, 4001-4002 | ||
Trunk port encapsulation: IEEE 802.1q | ||
Last clearing of counters: Never | ||
Last 300 seconds input: 3143 packets/sec 929430 bytes/sec 0% | ||
Last 300 seconds output: 5674 packets/sec 5945156 bytes/sec 0% | ||
Input (total): 80274398 packets, 24384580165 bytes | ||
80218843 unicasts, 12 broadcasts, 55543 multicasts, 0 pauses | ||
Input (normal): 80274398 packets, - bytes | ||
80218843 unicasts, 12 broadcasts, 55543 multicasts, 0 pauses | ||
Input: 0 input errors, 0 runts, 0 giants, 0 throttles | ||
0 CRC, 0 frame, - overruns, 0 aborts | ||
- ignored, - parity errors | ||
Output (total): 110103849 packets, 90115617821 bytes | ||
109953707 unicasts, 9 broadcasts, 150133 multicasts, 0 pauses | ||
Output (normal): 110103849 packets, - bytes | ||
109953707 unicasts, 9 broadcasts, 150133 multicasts, 0 pauses | ||
Output: 0 output errors, - underruns, - buffer failures | ||
0 aborts, 0 deferred, 0 collisions, 0 late collisions | ||
0 lost carrier, - no carrier | ||
|
||
GigabitEthernet1/1/0/31 | ||
Current state: DOWN | ||
Line protocol state: DOWN | ||
IP packet frame type: Ethernet II, hardware address: abab-cdcd-6485 | ||
Description: WIFI | ||
Bandwidth: 1000000 kbps | ||
Loopback is not set | ||
Media type is twisted pair, port hardware type is 1000_BASE_T | ||
Unknown-speed mode, unknown-duplex mode | ||
Link speed type is autonegotiation, link duplex type is autonegotiation | ||
Flow-control is not enabled | ||
Maximum frame length: 9216 | ||
Allow jumbo frames to pass | ||
Broadcast max-ratio: 100% | ||
Multicast max-ratio: 100% | ||
Unicast max-ratio: 100% | ||
PVID: 2190 | ||
MDI type: Automdix | ||
Port link-type: Trunk | ||
VLAN Passing: 2000, 3230, 4001-4005, 4049-4052 | ||
VLAN permitted: 2-4094 | ||
Trunk port encapsulation: IEEE 802.1q | ||
Port priority: 0 | ||
Last link flapping: Never | ||
Last clearing of counters: Never | ||
Current system time:2022-12-04 09:59:42 EEST+03:00:00 | ||
Last time when physical state changed to up:- | ||
Last time when physical state changed to down:2022-12-03 14:48:11 EEST+03:00:00 | ||
Peak input rate: 0 bytes/sec, at 2022-12-03 14:48:40 | ||
Peak output rate: 0 bytes/sec, at 2022-12-03 14:48:40 | ||
Last 300 seconds input: 0 packets/sec 0 bytes/sec -% | ||
Last 300 seconds output: 0 packets/sec 0 bytes/sec -% | ||
Input (total): 0 packets, 0 bytes | ||
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses | ||
Input (normal): 0 packets, - bytes | ||
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses | ||
Input: 0 input errors, 0 runts, 0 giants, 0 throttles | ||
0 CRC, 0 frame, - overruns, 0 aborts | ||
- ignored, - parity errors | ||
Output (total): 0 packets, 0 bytes | ||
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses | ||
Output (normal): 0 packets, - bytes | ||
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses | ||
Output: 0 output errors, - underruns, - buffer failures | ||
0 aborts, 0 deferred, 0 collisions, 0 late collisions | ||
0 lost carrier, - no carrier | ||
IPv4 traffic statistics: | ||
Last 300 seconds input rate: 0 packets/sec, 0 bytes/sec | ||
Last 300 seconds output rate: 0 packets/sec, 0 bytes/sec | ||
Input: 0 packets, 0 bytes | ||
Output: 0 packets, 0 bytes | ||
IPv6 traffic statistics: | ||
Last 300 seconds input rate: 0 packets/sec, 0 bytes/sec | ||
Last 300 seconds output rate: 0 packets/sec, 0 bytes/sec | ||
Input: 0 packets, 0 bytes | ||
Output: 0 packets, 0 bytes | ||
|
||
Ten-GigabitEthernet1/0/1 | ||
Current state: DOWN | ||
Line protocol state: DOWN | ||
IP packet frame type: Ethernet II, hardware address: 000c-2963-b767 | ||
Description: Ten-GigabitEthernet1/0/1 Interface | ||
Bandwidth: 100000 kbps | ||
Loopback is not set | ||
Media type is twisted pair, port hardware type is 1000_BASE_T_AN_SFP | ||
Unknown-speed mode, unknown-duplex mode | ||
Link speed type is autonegotiation, link duplex type is autonegotiation | ||
Flow-control is not enabled | ||
Maximum frame length: 9216 | ||
Allow jumbo frame to pass | ||
Broadcast max-ratio: 100% | ||
Multicast max-ratio: 100% | ||
Unicast max-ratio: 100% | ||
PVID: 1 | ||
MDI type: Automdix | ||
Port link-type: Access | ||
Tagged VLANs: None | ||
UnTagged VLANs: 1 | ||
Port priority: 2 | ||
Last link flapping: 6 hours 39 minutes 25 seconds | ||
Last clearing of counters: 14:34:09 Tue 11/01/2011 | ||
Peak input rate: 0 bytes/sec, at 2013-07-17 22:06:19 | ||
Peak output rate: 0 bytes/sec, at 2013-07-17 22:06:19 | ||
Last 300 second input: 0 packets/sec 0 bytes/sec -% | ||
Last 300 second output: 0 packets/sec 0 bytes/sec -% | ||
Input (total): 0 packets, 0 bytes | ||
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses | ||
Input (normal): 0 packets, 0 bytes | ||
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses | ||
Input: 0 input errors, 0 runts, 0 giants, 0 throttles | ||
0 CRC, 0 frame, 0 overruns, 0 aborts | ||
0 ignored, 0 parity errors | ||
Output (total): 0 packets, 0 bytes | ||
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses | ||
Output (normal): 0 packets, 0 bytes | ||
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses | ||
Output: 0 output errors, 0 underruns, 0 buffer failures | ||
0 aborts, 0 deferred, 0 collisions, 0 late collisions | ||
0 lost carrier, 0 no carrier |
79 changes: 79 additions & 0 deletions
79
tests/hp_comware/display_interface/hp_comware_display_interface.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
--- | ||
parsed_sample: | ||
- intf: "Vlan-interface2000" | ||
line_status: "UP" | ||
protocol_status: "UP" | ||
ip_address: | ||
- "10.1.1.1/24" | ||
mtu: "1500" | ||
l2mtu: "" | ||
hw_address: | ||
- "abab-cdcd-6486" | ||
- "abab-cdcd-6486" | ||
description: "Servers" | ||
bandwidth: "10000000 kbps" | ||
duplex: "" | ||
speed: "" | ||
port_link_type: "" | ||
vlan_native: "" | ||
vlan_passing: [] | ||
vlan_permitted: [] | ||
- intf: "Bridge-Aggregation20" | ||
line_status: "UP" | ||
protocol_status: "UP" | ||
ip_address: [] | ||
mtu: "" | ||
l2mtu: "" | ||
hw_address: | ||
- "abab-cdcd-6485" | ||
description: "FIRST_BLOCK" | ||
bandwidth: "40000000 kbps" | ||
duplex: "full-duplex" | ||
speed: "40Gbps-speed" | ||
port_link_type: "Trunk" | ||
vlan_native: "1" | ||
vlan_passing: | ||
- "1(default vlan)" | ||
- "4001-4002" | ||
vlan_permitted: | ||
- "1(default vlan)" | ||
- "2001-2020" | ||
- "2190" | ||
- "4001-4002" | ||
- intf: "GigabitEthernet1/1/0/31" | ||
line_status: "DOWN" | ||
protocol_status: "DOWN" | ||
ip_address: [] | ||
hw_address: | ||
- "abab-cdcd-6485" | ||
mtu: "" | ||
l2mtu: "9216" | ||
description: "WIFI" | ||
bandwidth: "1000000 kbps" | ||
duplex: "unknown-duplex" | ||
speed: "Unknown-speed" | ||
vlan_native: "2190" | ||
port_link_type: "Trunk" | ||
vlan_passing: | ||
- "2000" | ||
- "3230" | ||
- "4001-4005" | ||
- "4049-4052" | ||
vlan_permitted: | ||
- "2-4094" | ||
- intf: "Ten-GigabitEthernet1/0/1" | ||
line_status: "DOWN" | ||
protocol_status: "DOWN" | ||
ip_address: [] | ||
hw_address: | ||
- "000c-2963-b767" | ||
mtu: "" | ||
l2mtu: "9216" | ||
description: "Ten-GigabitEthernet1/0/1 Interface" | ||
bandwidth: "100000 kbps" | ||
duplex: "unknown-duplex" | ||
speed: "Unknown-speed" | ||
vlan_native: "1" | ||
port_link_type: "Access" | ||
vlan_passing: [] | ||
vlan_permitted: [] |
30 changes: 30 additions & 0 deletions
30
tests/hp_comware/display_interface/hp_comware_display_interface1.raw
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Bridge-Aggregation41 | ||
Current state: UP | ||
IP packet frame type: Ethernet II, hardware address: aaaa-bbbb-0200 | ||
Description: Servers | ||
Bandwidth: 160000000 kbps | ||
160Gbps-speed mode, full-duplex mode | ||
Link speed type is autonegotiation, link duplex type is autonegotiation | ||
PVID: 1 | ||
Port link-type: Trunk | ||
VLAN Passing: 2-21, 41-42, 43, 45-46, 47, 49-50, 52-101, 103, 105, 107-109 | ||
111-112, 114-115, 116, 118-119, 121-122, 123-125, 127-129, 131 | ||
VLAN permitted: 2-4094 | ||
Trunk port encapsulation: IEEE 802.1q | ||
Last clearing of counters: 13:42:38 Sun 11/27/2022 | ||
Last 300 seconds input: 653795 packets/sec 620328920 bytes/sec 3% | ||
Last 300 seconds output: 752413 packets/sec 767574527 bytes/sec 3% | ||
Input (total): 1378318211088 packets, 1485686536611046 bytes | ||
1378272321334 unicasts, 43421092 broadcasts, 2468662 multicasts, 0 pauses | ||
Input (normal): 1378318204300 packets, - bytes | ||
1378272321256 unicasts, 43421092 broadcasts, 2468662 multicasts, 0 pauses | ||
Input: 0 input errors, 0 runts, 0 giants, 0 throttles | ||
0 CRC, 0 frame, - overruns, 0 aborts | ||
- ignored, - parity errors | ||
Output (total): 1492615088260 packets, 1670292936644909 bytes | ||
1492073645475 unicasts, 395257295 broadcasts, 146185490 multicasts, 0 pauses | ||
Output (normal): 1492615087837 packets, - bytes | ||
1492073645355 unicasts, 395257296 broadcasts, 146185490 multicasts, 0 pauses | ||
Output: 0 output errors, - underruns, 0 buffer failures | ||
0 aborts, 0 deferred, 0 collisions, 0 late collisions | ||
0 lost carrier, - no carrier |
37 changes: 37 additions & 0 deletions
37
tests/hp_comware/display_interface/hp_comware_display_interface1.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
parsed_sample: | ||
- intf: "Bridge-Aggregation41" | ||
line_status: "UP" | ||
protocol_status: "" | ||
hw_address: | ||
- "aaaa-bbbb-0200" | ||
description: "Servers" | ||
bandwidth: "160000000 kbps" | ||
speed: "160Gbps-speed" | ||
duplex: "full-duplex" | ||
mtu: "" | ||
l2mtu: "" | ||
vlan_native: "1" | ||
ip_address: [] | ||
port_link_type: "Trunk" | ||
vlan_passing: | ||
- "2-21" | ||
- "41-42" | ||
- "43" | ||
- "45-46" | ||
- "47" | ||
- "49-50" | ||
- "52-101" | ||
- "103" | ||
- "105" | ||
- "107-109" | ||
- "111-112" | ||
- "114-115" | ||
- "116" | ||
- "118-119" | ||
- "121-122" | ||
- "123-125" | ||
- "127-129" | ||
- "131" | ||
vlan_permitted: | ||
- "2-4094" |
79 changes: 79 additions & 0 deletions
79
tests/hp_comware/display_interface/hp_comware_display_interface2.raw
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
FortyGigE1/0/49 | ||
Current state: DOWN | ||
Line protocol state: DOWN | ||
IP packet frame type: Ethernet II, hardware address: bcea-fa19-5f8c | ||
Description: FortyGigE1/0/49 Interface | ||
Bandwidth: 40000000 kbps | ||
Loopback is not set | ||
Media type is not sure, port hardware type is No connector | ||
Unknown-speed mode, unknown-duplex mode | ||
Link speed type is autonegotiation, link duplex type is autonegotiation | ||
Flow-control is not enabled | ||
Maximum frame length: 10000 | ||
Allow jumbo frames to pass | ||
Broadcast max-ratio: 100% | ||
Multicast max-ratio: 100% | ||
Unicast max-ratio: 100% | ||
PVID: 1 | ||
MDI type: Automdix | ||
Port link-type: Access | ||
Tagged VLANs: None | ||
Untagged VLANs: 1 | ||
Port priority: 0 | ||
Last link flapping: Never | ||
Last clearing of counters: Never | ||
Peak input rate: 0 bytes/sec, at 2011-01-01 03:03:20 | ||
Peak output rate: 0 bytes/sec, at 2011-01-01 03:03:20 | ||
Last 300 second input: 0 packets/sec 0 bytes/sec -% | ||
Last 300 second output: 0 packets/sec 0 bytes/sec -% | ||
Input (total): 0 packets, 0 bytes | ||
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses | ||
Input (normal): 0 packets, - bytes | ||
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses | ||
Input: 0 input errors, 0 runts, 0 giants, 0 throttles | ||
0 CRC, 0 frame, - overruns, 0 aborts | ||
- ignored, - parity errors | ||
Output (total): 0 packets, 0 bytes | ||
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses | ||
Output (normal): 0 packets, - bytes | ||
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses | ||
Output: 0 output errors, - underruns, - buffer failures | ||
0 aborts, 0 deferred, 0 collisions, 0 late collisions | ||
0 lost carrier, - no carrier | ||
|
||
InLoopBack0 | ||
Current state: UP | ||
Line protocol state: UP(spoofing) | ||
Description: InLoopBack0 Interface | ||
Bandwidth: 0 kbps | ||
Maximum transmission unit: 1536 | ||
Physical: InLoopBack | ||
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec | ||
Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec | ||
Input: 0 packets, 0 bytes, 0 drops | ||
Output: 5 packets, 420 bytes, 0 drops | ||
|
||
M-GigabitEthernet0/0/0 | ||
Current state: DOWN | ||
Line protocol state: DOWN | ||
Description: M-GigabitEthernet0/0/0 Interface | ||
Bandwidth: 1000000 kbps | ||
Maximum transmission unit: 1500 | ||
Internet protocol processing: Disabled | ||
IP packet frame type: Ethernet II, hardware address: bcea-fa19-8bec | ||
IPv6 packet frame type: Ethernet II, hardware address: bcea-fa19-8bec | ||
Last link flapping: Never | ||
Last clearing of counters: Never | ||
Media type is twisted pair, loopback not set | ||
Port hardware type is 1000_BASE_T | ||
Unknown-speed mode, unknown-duplex mode | ||
Link speed type is autonegotiation , Link duplex type is autonegotiation | ||
input: 0 packets, 0 bytes | ||
0 broadcasts,0 multicasts | ||
input: - input errors,- runts,- giants,- throttles,0 CRC | ||
- frame,- overruns,- aborts,- ignored,- parity errors | ||
output: 0 packets, 0 bytes | ||
0 broadcasts,0 multicasts | ||
output: - output errors,- underruns,- buffer failures | ||
- aborts,- deferred,0 collisions,0 late collisions | ||
- lost carrier,- no carrier |
Oops, something went wrong.