From 8eb554c2f0f14da8c5427aa3d72335afb1b62a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Fri, 9 Dec 2022 03:00:03 +0100 Subject: [PATCH] Add Huawei VRP display interface template (#1202) --- .../huawei_vrp_display_interface.textfsm | 74 +++ ntc_templates/templates/index | 1 + .../huawei_vrp_display_interface.raw | 440 ++++++++++++++++++ .../huawei_vrp_display_interface.yml | 308 ++++++++++++ .../huawei_vrp_display_interface_dialer_1.raw | 23 + .../huawei_vrp_display_interface_dialer_1.yml | 36 ++ ..._vrp_display_interface_gigabitethernet.raw | 241 ++++++++++ ..._vrp_display_interface_gigabitethernet.yml | 104 +++++ 8 files changed, 1227 insertions(+) create mode 100644 ntc_templates/templates/huawei_vrp_display_interface.textfsm create mode 100644 tests/huawei_vrp/display_interface/huawei_vrp_display_interface.raw create mode 100644 tests/huawei_vrp/display_interface/huawei_vrp_display_interface.yml create mode 100644 tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.raw create mode 100644 tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.yml create mode 100644 tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.raw create mode 100644 tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.yml diff --git a/ntc_templates/templates/huawei_vrp_display_interface.textfsm b/ntc_templates/templates/huawei_vrp_display_interface.textfsm new file mode 100644 index 0000000000..05266b6db6 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_interface.textfsm @@ -0,0 +1,74 @@ +Value Required INTERFACE (\S*) +Value LINK_STATUS (.*) +Value PROTOCOL_STATUS (\S*|\S*\s+\(\w+\)) +Value INTERFACE_DESCRIPTION (.*) +Value PORT_TYPE (\S*) +Value PVID (\d+) +Value INTERNET_ADDRESS (\S*) +Value INTERNET_PROTOCOL (disabled|enabled) +Value HARDWARE_ADDRESS (\S{4}-\S{4}-\S{4}) +Value LAST_PHYSICAL_UP_TIME (\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}|-) +Value LAST_PHYSICAL_DOWN_TIME (\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}|-) +Value CURRENT_SYSTEM_TIME (\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}) +Value PORT_MODE ([\S\s]*) +Value SPEED (\d*) +Value LOOPBACK (\S*) +Value DUPLEX (HALF|FULL) +Value NEGOTIATION (DISABLE|ENABLE) + +Start + ^\S*\s+current\s+state\s+:.*$$ -> Continue.Record + ^${INTERFACE}\s+current\s+state\s+:\s+${LINK_STATUS}\s*$$ + ^Line\s+protocol\s+current\s+state\s+:\s+${PROTOCOL_STATUS}\s*$$ + ^Last\sline\sprotocol\sup\stime\s*:\s+(\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}|-)\s*$$ + ^Description:${INTERFACE_DESCRIPTION}\s*$$ + ^${PORT_TYPE}\s+Port(,\s+PVID\s+:\s*${PVID},)?.*$$ + ^Internet\s+Address\s+is\s+negotiated,\s+${INTERNET_ADDRESS}\s*$$ + ^Internet\s+Address\s+is\s+${INTERNET_ADDRESS}\s*$$ + ^.*,\s+Hardware\s+address\s+is\s+${HARDWARE_ADDRESS}\s*$$ + ^Internet\s+protocol\s+processing\s+:\s+${INTERNET_PROTOCOL}\s*$$ + ^Last\s+physical\s+up\s+time\s*:\s+${LAST_PHYSICAL_UP_TIME}\s* + ^Last\s+physical\s+down\s+time\s+:\s+${LAST_PHYSICAL_DOWN_TIME}\s* + ^IP\sSending\sFrames'\sFormat\sis\s\S+\s*,\sHardware\saddress\sis\s\S+\s*$$ + ^Current\s+system\s+time:\s+${CURRENT_SYSTEM_TIME}\s* + ^Modem\sState:\s+\S+\s*$$ + ^Model\s=\s+\S+\s*$$ + ^Current\sNetwork\sConnection\s=\sLTE\(LTE\)\s*$$ + ^Current\sNetwork\sConnection\s=\sUnknown\s*$$ + ^Current\sRSSI\s Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 59d6c6db8b..b15db59b51 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -488,6 +488,7 @@ huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, dis[[play]] tem[[peratur huawei_vrp_display_nat_server.textfsm, .*, huawei_vrp, dis[[play]] na[[t]] ser[[ver]] huawei_vrp_display_sn_license.textfsm, .*, huawei_vrp, dis[[play]] sn l[[icence]] huawei_vrp_display_arp_brief.textfsm, .*, huawei_vrp, dis[[play]] arp br[[ief]] +huawei_vrp_display_interface.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]]\s*((?!brief|counters|description).)*$ huawei_vrp_display_port_vlan.textfsm, .*, huawei_vrp, dis[[play]] port vl[[an]] huawei_vrp_display_acl_all.textfsm, .*, huawei_vrp, dis[[play]] acl(\si[[pv6]])? a[[ll]] huawei_vrp_display_startup.textfsm, .*, huawei_vrp, dis[[play]] star[[tup]] diff --git a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.raw b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.raw new file mode 100644 index 0000000000..b4cdf3b47c --- /dev/null +++ b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.raw @@ -0,0 +1,440 @@ +Cellular0/0/0 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, Cellular0/0/0 Interface +Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec) +Internet protocol processing : disabled +Last physical up time : - +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:09 +Modem State: Present +Model = ME909s-120 +Current Network Connection = LTE(LTE) +Current RSSI = -75 dBm +Current SINR = -1 dB (weak) +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 + Unicast: 0, Ununicast: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Ununicast: 0 + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +Dialer1 current state : UP +Line protocol current state : UP (spoofing) +Description:HUAWEI, AR Series, Dialer1 Interface +Route Port,The Maximum Transmit Unit is 1492, Hold timer is 10(sec) +Internet Address is negotiated, 192.214.198.156/32 +Link layer protocol is PPP +LCP initial +Physical is Dialer +Current system time: 2022-10-13 08:58:09 + Input bandwidth utilization : -- + Output bandwidth utilization : -- +Bound to Dialer1:0: +Dialer1:0 current state : UP , +Line protocol current state : UP + +Link layer protocol is PPP +LCP opened, IPCP opened, IP6CP opened +Packets statistics: + Input packets:396, 39552 bytes + Output packets:560, 41892 bytes + FCS error packets:0 + Address error packets:0 + Control field control error packets:0 + + +Ethernet0/0/0 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, Ethernet0/0/0 Interface +Route Port,The Maximum Transmit Unit is 1500 +Internet protocol processing : disabled +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601f +Last physical up time : - +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:11 + +Port PHY type : VDSL +Last 300 seconds input rate 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec + +Input: 0 packets, 0 bytes + OAM Cells: 0, ASM Cells: 0 + Packet Errors: 0, Packet Discards: 0 + Cell Errors: 0 + +Output: 0 packets, 0 bytes + OAM Cells: 0, ASM Cells: 0 + Packet Errors: 0, Packet Discards: 0 + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +GigabitEthernet0/0/0 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/0 Interface +Switch Port, PVID : 1, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : - +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:12 +Port Mode: COMMON COPPER +Speed : 10, Loopback: NONE +Duplex: HALF, Negotiation: DISABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 0 bits/sec,Record time: - +Output peak rate 0 bits/sec,Record time: - + +Input: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +GigabitEthernet0/0/1 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/1 Interface +Switch Port, PVID : 2, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : - +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:12 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 0 bits/sec,Record time: - +Output peak rate 0 bits/sec,Record time: - + +Input: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +GigabitEthernet0/0/2 current state : UP +Line protocol current state : UP +Description:HUAWEI, AR Series, GigabitEthernet0/0/2 Interface +Switch Port, PVID : 100, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : 2022-10-12 15:44:44 +Last physical down time : 2022-10-12 15:44:43 +Current system time: 2022-10-13 08:58:12 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: PHY +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 488 bits/sec, 0 packets/sec +Last 300 seconds output rate 488 bits/sec, 0 packets/sec +Input peak rate 592 bits/sec,Record time: 2022-10-13 06:18:16 +Output peak rate 592 bits/sec,Record time: 2022-10-13 06:18:16 + +Input: 31012 packets, 3690428 bytes + Unicast: 0, Multicast: 31012 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 31012 packets, 3690428 bytes + Unicast: 0, Multicast: 31012 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0.01% + Output bandwidth utilization : 0.01% + +GigabitEthernet0/0/3 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/3 Interface +Switch Port, PVID : 1, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : - +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:12 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 0 bits/sec,Record time: - +Output peak rate 0 bits/sec,Record time: - + +Input: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +GigabitEthernet0/0/4 current state : UP +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/4 Interface +Route Port,The Maximum Transmit Unit is 1500 +Internet protocol processing : disabled +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601d +Last physical up time : 2022-10-12 15:44:47 +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:13 +Port Mode: AUTO COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 4816 bits/sec, 7 packets/sec +Last 300 seconds output rate 7656 bits/sec, 6 packets/sec +Input peak rate 32008 bits/sec,Record time: 2022-10-13 08:57:06 +Output peak rate 69384 bits/sec,Record time: 2022-10-13 08:57:06 + +Input: 108577 packets, 8303469 bytes + Unicast: 63802, Multicast: 32377 + Broadcast: 12398, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 59573 packets, 5607838 bytes + Unicast: 59572, Multicast: 0 + Broadcast: 1, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0.01% + Output bandwidth utilization : 0.01% + +GigabitEthernet0/0/5 current state : UP +Line protocol current state : DOWN +Description:VirtualPort +Route Port,The Maximum Transmit Unit is 1500 +Internet protocol processing : disabled +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601e +Last physical up time : 2022-10-12 15:44:46 +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:13 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 36064 bits/sec, 13 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 121600 bits/sec,Record time: 2022-10-12 17:00:42 +Output peak rate 0 bits/sec,Record time: - + +Input: 8758 packets, 2960204 bytes + Unicast: 0, Multicast: 0 + Broadcast: 8758, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +NULL0 current state : UP +Line protocol current state : UP (spoofing) +Description:HUAWEI, AR Series, NULL0 Interface +Route Port,The Maximum Transmit Unit is 1500 +Internet protocol processing : disabled +Physical is NULL DEV +Current system time: 2022-10-13 08:58:13 + Last 300 seconds input rate 0 bits/sec, 0 packets/sec + Last 300 seconds output rate 0 bits/sec, 0 packets/sec + Realtime 80 seconds input rate 0 bits/sec, 0 packets/sec + Realtime 80 seconds output rate 0 bits/sec, 0 packets/sec + Input: 0 bytes + Output:0 bytes + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Vlanif1 current state : UP +Line protocol current state : UP +Last line protocol up time : 2022-10-12 15:44:10 +Description:HUAWEI, AR Series, Vlanif1 Interface +Route Port,The Maximum Transmit Unit is 1500 +Internet Address is 192.168.1.1/24 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Current system time: 2022-10-13 08:58:13 + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Vlanif2 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, Vlanif2 Interface +Route Port,The Maximum Transmit Unit is 1500 +Internet Address is 192.168.120.1/24 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Current system time: 2022-10-13 08:58:13 + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Vlanif100 current state : UP +Line protocol current state : UP +Last line protocol up time : 2022-10-12 15:44:44 +Description:DMZ +Route Port,The Maximum Transmit Unit is 1500 +Internet Address is 100.95.15.241/30 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Current system time: 2022-10-13 08:58:13 + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Wlan-Bss1 current state : UP +Line protocol current state : UP +Description:HUAWEI, AR Series, Wlan-Bss1 Interface +Switch Port, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Physical is WLAN_BSS +Current system time: 2022-10-13 08:58:14 + Last 300 seconds input rate 0 bits/sec, 0 packets/sec + Last 300 seconds output rate 0 bits/sec, 0 packets/sec + Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec + Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec + Input: 0 packets,0 bytes + 0 unicast,0 broadcast,0 multicast + Output:0 packets,0 bytes + 0 unicast,0 broadcast,0 multicast + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Wlan-Bss7 current state : UP +Line protocol current state : UP +Description:HUAWEI, AR Series, Wlan-Bss7 Interface +Switch Port, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Physical is WLAN_BSS +Current system time: 2022-10-13 08:58:14 + Last 300 seconds input rate 0 bits/sec, 0 packets/sec + Last 300 seconds output rate 0 bits/sec, 0 packets/sec + Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec + Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec + Input: 0 packets,0 bytes + 0 unicast,0 broadcast,0 multicast + Output:0 packets,0 bytes + 0 unicast,0 broadcast,0 multicast + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Wlan-Radio0/0/0 current state : UP +Line protocol current state : UP +Description:HUAWEI, AR Series, Wlan-Radio0/0/0 Interface +Switch Port, TPID : 8100(Hex), The Maximum Transmit Unit is 1500 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : 2022-10-12 15:44:44 +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:14 +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 + PhyErr: 0 , CRC: 0 + MIC: 0 + Error: 0 +Output: 0 packets, 0 bytes + Unicast: 0 , Broadcast: 0 + RtsSuccess: 0 , SendFail: 0 + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Wlan-Radio0/0/1 current state : UP +Line protocol current state : UP +Description:HUAWEI, AR Series, Wlan-Radio0/0/1 Interface +Switch Port, TPID : 8100(Hex), The Maximum Transmit Unit is 1500 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : 2022-10-12 15:44:44 +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:14 +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 + PhyErr: 0 , CRC: 0 + MIC: 0 + Error: 0 +Output: 0 packets, 0 bytes + Unicast: 0 , Broadcast: 0 + RtsSuccess: 0 , SendFail: 0 + Input bandwidth utilization : -- + Output bandwidth utilization : -- diff --git a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.yml b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.yml new file mode 100644 index 0000000000..8bcf11e052 --- /dev/null +++ b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.yml @@ -0,0 +1,308 @@ +--- +parsed_sample: + - interface: "Cellular0/0/0" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, Cellular0/0/0 Interface" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "" + internet_protocol: "disabled" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:09" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Dialer1" + link_status: "UP" + protocol_status: "UP (spoofing)" + interface_description: "HUAWEI, AR Series, Dialer1 Interface" + port_type: "Route" + pvid: "" + internet_address: "192.214.198.156/32" + hardware_address: "" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 08:58:09" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Dialer1:0" + link_status: "UP ," + protocol_status: "UP" + interface_description: "" + port_type: "" + pvid: "" + internet_address: "" + hardware_address: "" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Ethernet0/0/0" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, Ethernet0/0/0 Interface" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601f" + internet_protocol: "disabled" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:11" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "GigabitEthernet0/0/0" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/0 Interface" + port_type: "Switch" + pvid: "1" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:12" + port_mode: "COMMON COPPER" + speed: "10" + loopback: "NONE" + duplex: "HALF" + negotiation: "DISABLE" + - interface: "GigabitEthernet0/0/1" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/1 Interface" + port_type: "Switch" + pvid: "2" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:12" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/2" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/2 Interface" + port_type: "Switch" + pvid: "100" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "2022-10-12 15:44:44" + last_physical_down_time: "2022-10-12 15:44:43" + current_system_time: "2022-10-13 08:58:12" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "PHY" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/3" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/3 Interface" + port_type: "Switch" + pvid: "1" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:12" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/4" + link_status: "UP" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/4 Interface" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601d" + internet_protocol: "disabled" + last_physical_up_time: "2022-10-12 15:44:47" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:13" + port_mode: "AUTO COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/5" + link_status: "UP" + protocol_status: "DOWN" + interface_description: "VirtualPort" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601e" + internet_protocol: "disabled" + last_physical_up_time: "2022-10-12 15:44:46" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:13" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "NULL0" + link_status: "UP" + protocol_status: "UP (spoofing)" + interface_description: "HUAWEI, AR Series, NULL0 Interface" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "" + internet_protocol: "disabled" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 08:58:13" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Vlanif1" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AR Series, Vlanif1 Interface" + port_type: "Route" + pvid: "" + internet_address: "192.168.1.1/24" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 08:58:13" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Vlanif2" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, Vlanif2 Interface" + port_type: "Route" + pvid: "" + internet_address: "192.168.120.1/24" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 08:58:13" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Vlanif100" + link_status: "UP" + protocol_status: "UP" + interface_description: "DMZ" + port_type: "Route" + pvid: "" + internet_address: "100.95.15.241/30" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 08:58:13" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Wlan-Bss1" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AR Series, Wlan-Bss1 Interface" + port_type: "Switch" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 08:58:14" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Wlan-Bss7" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AR Series, Wlan-Bss7 Interface" + port_type: "Switch" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 08:58:14" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Wlan-Radio0/0/0" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AR Series, Wlan-Radio0/0/0 Interface" + port_type: "Switch" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "2022-10-12 15:44:44" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:14" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Wlan-Radio0/0/1" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AR Series, Wlan-Radio0/0/1 Interface" + port_type: "Switch" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "2022-10-12 15:44:44" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:14" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" diff --git a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.raw b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.raw new file mode 100644 index 0000000000..8a5137564e --- /dev/null +++ b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.raw @@ -0,0 +1,23 @@ +Dialer1 current state : UP +Line protocol current state : UP (spoofing) +Description:HUAWEI, AR Series, Dialer1 Interface +Route Port,The Maximum Transmit Unit is 1492, Hold timer is 10(sec) +Internet Address is negotiated, 192.214.198.156/32 +Link layer protocol is PPP +LCP initial +Physical is Dialer +Current system time: 2022-10-13 13:11:08 + Input bandwidth utilization : -- + Output bandwidth utilization : -- +Bound to Dialer1:0: +Dialer1:0 current state : UP , +Line protocol current state : UP + +Link layer protocol is PPP +LCP opened, IPCP opened, IP6CP opened +Packets statistics: + Input packets:86, 8592 bytes + Output packets:135, 10072 bytes + FCS error packets:0 + Address error packets:0 + Control field control error packets:0 diff --git a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.yml b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.yml new file mode 100644 index 0000000000..56fc9d8ad9 --- /dev/null +++ b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.yml @@ -0,0 +1,36 @@ +--- +parsed_sample: + - interface: "Dialer1" + link_status: "UP" + protocol_status: "UP (spoofing)" + interface_description: "HUAWEI, AR Series, Dialer1 Interface" + port_type: "Route" + pvid: "" + internet_address: "192.214.198.156/32" + hardware_address: "" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 13:11:08" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Dialer1:0" + link_status: "UP ," + protocol_status: "UP" + interface_description: "" + port_type: "" + pvid: "" + internet_address: "" + hardware_address: "" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" diff --git a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.raw b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.raw new file mode 100644 index 0000000000..68d043a8c7 --- /dev/null +++ b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.raw @@ -0,0 +1,241 @@ +GigabitEthernet0/0/0 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/0 Interface +Switch Port, PVID : 1, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : - +Last physical down time : 2022-10-13 09:35:55 +Current system time: 2022-10-13 13:12:02 +Port Mode: COMMON COPPER +Speed : 10, Loopback: NONE +Duplex: FULL, Negotiation: DISABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 0 bits/sec,Record time: - +Output peak rate 0 bits/sec,Record time: - + +Input: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +GigabitEthernet0/0/1 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/1 Interface +Switch Port, PVID : 2, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : - +Last physical down time : 2022-10-13 09:35:55 +Current system time: 2022-10-13 13:12:04 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 0 bits/sec,Record time: - +Output peak rate 0 bits/sec,Record time: - + +Input: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +GigabitEthernet0/0/2 current state : UP +Line protocol current state : UP +Description:HUAWEI, AR Series, GigabitEthernet0/0/2 Interface +Switch Port, PVID : 100, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : 2022-10-13 09:37:04 +Last physical down time : 2022-10-13 09:37:03 +Current system time: 2022-10-13 13:12:05 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: PHY +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 488 bits/sec, 0 packets/sec +Last 300 seconds output rate 488 bits/sec, 0 packets/sec +Input peak rate 592 bits/sec,Record time: 2022-10-13 10:26:22 +Output peak rate 592 bits/sec,Record time: 2022-10-13 10:26:22 + +Input: 6460 packets, 768740 bytes + Unicast: 0, Multicast: 6460 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 6460 packets, 768740 bytes + Unicast: 0, Multicast: 6460 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0.01% + Output bandwidth utilization : 0.01% + +GigabitEthernet0/0/3 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/3 Interface +Switch Port, PVID : 1, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : - +Last physical down time : 2022-10-13 09:35:55 +Current system time: 2022-10-13 13:12:06 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 0 bits/sec,Record time: - +Output peak rate 0 bits/sec,Record time: - + +Input: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +GigabitEthernet0/0/4 current state : UP +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/4 Interface +Route Port,The Maximum Transmit Unit is 1500 +Internet protocol processing : disabled +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601d +Last physical up time : 2022-10-13 09:37:06 +Last physical down time : 2022-10-13 09:35:55 +Current system time: 2022-10-13 13:12:07 +Port Mode: AUTO COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 2112 bits/sec, 3 packets/sec +Last 300 seconds output rate 1904 bits/sec, 2 packets/sec +Input peak rate 19400 bits/sec,Record time: 2022-10-13 12:55:33 +Output peak rate 63040 bits/sec,Record time: 2022-10-13 12:55:33 + +Input: 30464 packets, 2525068 bytes + Unicast: 21147, Multicast: 6738 + Broadcast: 2579, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 20762 packets, 2116014 bytes + Unicast: 20761, Multicast: 0 + Broadcast: 1, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0.01% + Output bandwidth utilization : 0.01% + +GigabitEthernet0/0/5 current state : UP +Line protocol current state : DOWN +Description:VirtualPort +Route Port,The Maximum Transmit Unit is 1500 +Internet protocol processing : disabled +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601e +Last physical up time : 2022-10-13 09:37:05 +Last physical down time : 2022-10-13 09:35:55 +Current system time: 2022-10-13 13:12:08 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 36064 bits/sec, 13 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 121600 bits/sec,Record time: 2022-10-13 10:50:03 +Output peak rate 0 bits/sec,Record time: - + +Input: 1832 packets, 619216 bytes + Unicast: 0, Multicast: 0 + Broadcast: 1832, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% diff --git a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.yml b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.yml new file mode 100644 index 0000000000..7e37980284 --- /dev/null +++ b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.yml @@ -0,0 +1,104 @@ +--- +parsed_sample: + - interface: "GigabitEthernet0/0/0" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/0 Interface" + port_type: "Switch" + pvid: "1" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-13 09:35:55" + current_system_time: "2022-10-13 13:12:02" + port_mode: "COMMON COPPER" + speed: "10" + loopback: "NONE" + duplex: "FULL" + negotiation: "DISABLE" + - interface: "GigabitEthernet0/0/1" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/1 Interface" + port_type: "Switch" + pvid: "2" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-13 09:35:55" + current_system_time: "2022-10-13 13:12:04" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/2" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/2 Interface" + port_type: "Switch" + pvid: "100" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "2022-10-13 09:37:04" + last_physical_down_time: "2022-10-13 09:37:03" + current_system_time: "2022-10-13 13:12:05" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "PHY" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/3" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/3 Interface" + port_type: "Switch" + pvid: "1" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-13 09:35:55" + current_system_time: "2022-10-13 13:12:06" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/4" + link_status: "UP" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/4 Interface" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601d" + internet_protocol: "disabled" + last_physical_up_time: "2022-10-13 09:37:06" + last_physical_down_time: "2022-10-13 09:35:55" + current_system_time: "2022-10-13 13:12:07" + port_mode: "AUTO COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/5" + link_status: "UP" + protocol_status: "DOWN" + interface_description: "VirtualPort" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601e" + internet_protocol: "disabled" + last_physical_up_time: "2022-10-13 09:37:05" + last_physical_down_time: "2022-10-13 09:35:55" + current_system_time: "2022-10-13 13:12:08" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE"