Skip to content

Commit

Permalink
Update huawei_vrp_display_interface.textfsm (#1608)
Browse files Browse the repository at this point in the history
  • Loading branch information
przemoz authored Mar 27, 2024
1 parent 32b223d commit 7af9f67
Show file tree
Hide file tree
Showing 3 changed files with 347 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Start
^${PORT_TYPE}\s+Port,\s*The\s+Maximum\s+Transmit\s+Unit\s+is\s+${MTU}
^${PORT_TYPE}\s+Port,(\s+PVID\s+:\s*${PVID},)?(\s*[^,]+,){1,}(\s+The\s+Maximum\s+(Frame\s+Length|Transmit\s+Unit)\s+is\s+${MTU})?
^PVID\s*:\s+${PVID},(\s*[^,]+,){0,}\s+The\s+Maximum\s+Frame\s+Length\s+is\s+${MTU}
^Internet\s+Address\s+is\s+allocated\s+by\s+DHCP,\s+${INTERNET_ADDRESS}\s*$$
^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*$$
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,192 @@
GigabitEthernet0/0/0 current state : UP
Line protocol current state : UP
Last line protocol up time : 2024-02-08 16:30:21
Description:WAN
Route Port,The Maximum Transmit Unit is 1500
Internet Address is allocated by DHCP, 192.168.77.54/24
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 5000-001c-0000
Last physical up time : 2024-02-08 16:30:16
Last physical down time : 2024-02-08 16:30:03
Current system time: 2024-02-08 16:38:46
Last 300 seconds input rate 40 bits/sec, 0 packets/sec
Last 300 seconds output rate 0 bits/sec, 0 packets/sec
Input peak rate 552 bits/sec,Record time: 2024-02-08 16:30:36
Output peak rate 832 bits/sec,Record time: 2024-02-08 16:30:36

Input: 24 packets, 4936 bytes
Discard: 0, Total Error: 0

Output: 8 packets, 1012 bytes
Discard: 0, Total Error: 0

Input bandwidth utilization threshold : 100.00%
Output bandwidth utilization threshold: 100.00%
Input bandwidth utilization : --
Output bandwidth utilization : --

GigabitEthernet0/0/1 current state : UP
Line protocol current state : UP
Last line protocol up time : 2024-02-08 16:30:16
Description:LAN
Route Port,The Maximum Transmit Unit is 1500
Internet Address is 10.1.1.2/30
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 5000-001c-0001
Last physical up time : 2024-02-08 16:30:16
Last physical down time : 2024-02-08 16:30:03
Current system time: 2024-02-08 16:38:47
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 48 bits/sec,Record time: 2024-02-08 16:30:36

Input: 0 packets, 0 bytes
Discard: 0, Total Error: 0

Output: 1 packets, 56 bytes
Discard: 0, Total Error: 0

Input bandwidth utilization threshold : 100.00%
Output bandwidth utilization threshold: 100.00%
Input bandwidth utilization : --
Output bandwidth utilization : --

GigabitEthernet0/0/2 current state : UP
Line protocol current state : DOWN
Description:HUAWEI, AR Series, GigabitEthernet0/0/2 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet protocol processing : disabled
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 5000-001c-0002
Last physical up time : 2024-02-08 16:30:16
Last physical down time : 2024-02-08 16:30:03
Current system time: 2024-02-08 16:38:50
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
Discard: 0, Total Error: 0

Output: 0 packets, 0 bytes
Discard: 0, Total Error: 0

Input bandwidth utilization threshold : 100.00%
Output bandwidth utilization threshold: 100.00%
Input bandwidth utilization : --
Output bandwidth utilization : --

GigabitEthernet0/0/3 current state : UP
Line protocol current state : DOWN
Description:HUAWEI, AR Series, GigabitEthernet0/0/3 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet protocol processing : disabled
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 5000-001c-0003
Last physical up time : 2024-02-08 16:30:16
Last physical down time : 2024-02-08 16:30:03
Current system time: 2024-02-08 16:38:51
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
Discard: 0, Total Error: 0

Output: 0 packets, 0 bytes
Discard: 0, Total Error: 0

Input bandwidth utilization threshold : 100.00%
Output bandwidth utilization threshold: 100.00%
Input bandwidth utilization : --
Output bandwidth utilization : --

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 5000-001c-0004
Last physical up time : 2024-02-08 16:30:16
Last physical down time : 2024-02-08 16:30:03
Current system time: 2024-02-08 16:38:51
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
Discard: 0, Total Error: 0

Output: 0 packets, 0 bytes
Discard: 0, Total Error: 0

Input bandwidth utilization threshold : 100.00%
Output bandwidth utilization threshold: 100.00%
Input bandwidth utilization : --
Output bandwidth utilization : --

GigabitEthernet0/0/5 current state : UP
Line protocol current state : DOWN
Description:HUAWEI, AR Series, GigabitEthernet0/0/5 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet protocol processing : disabled
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 5000-001c-0005
Last physical up time : 2024-02-08 16:30:16
Last physical down time : 2024-02-08 16:30:03
Current system time: 2024-02-08 16:38:51
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
Discard: 0, Total Error: 0

Output: 0 packets, 0 bytes
Discard: 0, Total Error: 0

Input bandwidth utilization threshold : 100.00%
Output bandwidth utilization threshold: 100.00%
Input bandwidth utilization : --
Output bandwidth utilization : --

GigabitEthernet0/0/6 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 00e0-fc03-02ee
Last physical up time : 2024-02-08 16:30:16
Last physical down time : 2024-02-08 16:30:03
Current system time: 2024-02-08 16:38:51
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
Discard: 0, Total Error: 0

Output: 0 packets, 0 bytes
Discard: 0, Total Error: 0

Input bandwidth utilization threshold : 100.00%
Output bandwidth utilization threshold: 100.00%
Input bandwidth utilization : --
Output bandwidth utilization : --

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: 2024-02-08 16:38:51
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 bytes
Output:0 bytes
Input bandwidth utilization : 0%
Output bandwidth utilization : 0%
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
---
parsed_sample:
- aggregated_interfaces: []
current_system_time: "2024-02-08 16:38:46"
duplex: ""
hardware_address: "5000-001c-0000"
interface: "GigabitEthernet0/0/0"
interface_description: "WAN"
internet_address: "192.168.77.54/24"
internet_protocol: ""
last_physical_down_time: "2024-02-08 16:30:03"
last_physical_up_time: "2024-02-08 16:30:16"
link_status: "UP"
loopback: ""
mtu: "1500"
negotiation: ""
port_mode: ""
port_type: "Route"
protocol_status: "UP"
pvid: ""
speed: ""
- aggregated_interfaces: []
current_system_time: "2024-02-08 16:38:47"
duplex: ""
hardware_address: "5000-001c-0001"
interface: "GigabitEthernet0/0/1"
interface_description: "LAN"
internet_address: "10.1.1.2/30"
internet_protocol: ""
last_physical_down_time: "2024-02-08 16:30:03"
last_physical_up_time: "2024-02-08 16:30:16"
link_status: "UP"
loopback: ""
mtu: "1500"
negotiation: ""
port_mode: ""
port_type: "Route"
protocol_status: "UP"
pvid: ""
speed: ""
- aggregated_interfaces: []
current_system_time: "2024-02-08 16:38:50"
duplex: ""
hardware_address: "5000-001c-0002"
interface: "GigabitEthernet0/0/2"
interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/2 Interface"
internet_address: ""
internet_protocol: "disabled"
last_physical_down_time: "2024-02-08 16:30:03"
last_physical_up_time: "2024-02-08 16:30:16"
link_status: "UP"
loopback: ""
mtu: "1500"
negotiation: ""
port_mode: ""
port_type: "Route"
protocol_status: "DOWN"
pvid: ""
speed: ""
- aggregated_interfaces: []
current_system_time: "2024-02-08 16:38:51"
duplex: ""
hardware_address: "5000-001c-0003"
interface: "GigabitEthernet0/0/3"
interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/3 Interface"
internet_address: ""
internet_protocol: "disabled"
last_physical_down_time: "2024-02-08 16:30:03"
last_physical_up_time: "2024-02-08 16:30:16"
link_status: "UP"
loopback: ""
mtu: "1500"
negotiation: ""
port_mode: ""
port_type: "Route"
protocol_status: "DOWN"
pvid: ""
speed: ""
- aggregated_interfaces: []
current_system_time: "2024-02-08 16:38:51"
duplex: ""
hardware_address: "5000-001c-0004"
interface: "GigabitEthernet0/0/4"
interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/4 Interface"
internet_address: ""
internet_protocol: "disabled"
last_physical_down_time: "2024-02-08 16:30:03"
last_physical_up_time: "2024-02-08 16:30:16"
link_status: "UP"
loopback: ""
mtu: "1500"
negotiation: ""
port_mode: ""
port_type: "Route"
protocol_status: "DOWN"
pvid: ""
speed: ""
- aggregated_interfaces: []
current_system_time: "2024-02-08 16:38:51"
duplex: ""
hardware_address: "5000-001c-0005"
interface: "GigabitEthernet0/0/5"
interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/5 Interface"
internet_address: ""
internet_protocol: "disabled"
last_physical_down_time: "2024-02-08 16:30:03"
last_physical_up_time: "2024-02-08 16:30:16"
link_status: "UP"
loopback: ""
mtu: "1500"
negotiation: ""
port_mode: ""
port_type: "Route"
protocol_status: "DOWN"
pvid: ""
speed: ""
- aggregated_interfaces: []
current_system_time: "2024-02-08 16:38:51"
duplex: ""
hardware_address: "00e0-fc03-02ee"
interface: "GigabitEthernet0/0/6"
interface_description: "VirtualPort"
internet_address: ""
internet_protocol: "disabled"
last_physical_down_time: "2024-02-08 16:30:03"
last_physical_up_time: "2024-02-08 16:30:16"
link_status: "UP"
loopback: ""
mtu: "1500"
negotiation: ""
port_mode: ""
port_type: "Route"
protocol_status: "DOWN"
pvid: ""
speed: ""
- aggregated_interfaces: []
current_system_time: "2024-02-08 16:38:51"
duplex: ""
hardware_address: ""
interface: "NULL0"
interface_description: "HUAWEI, AR Series, NULL0 Interface"
internet_address: ""
internet_protocol: "disabled"
last_physical_down_time: ""
last_physical_up_time: ""
link_status: "UP"
loopback: ""
mtu: "1500"
negotiation: ""
port_mode: ""
port_type: "Route"
protocol_status: "UP (spoofing)"
pvid: ""
speed: ""

0 comments on commit 7af9f67

Please sign in to comment.