Skip to content

Commit

Permalink
Merge branch 'networktocode:master' into juliencorsini-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
juliencorsini authored Jan 17, 2025
2 parents 3ce5e94 + 5455e9f commit 0423e75
Show file tree
Hide file tree
Showing 3 changed files with 372 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ntc_templates/templates/arista_eos_show_interfaces.textfsm
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ Start
^\s+IPv6\s+link-local
^\s+.+IPv6\s+global\s+unicast
^\s+[\dA-Fa-f:]+,\s+subnet\s+is
^\s+Member\s+of\s+
^\s+...\s+\S+\s+,
^\s*$$
^. -> Error
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
Ethernet47 is up, line protocol is up (connected)
Hardware is Ethernet, address is 985d.82b8.fb24 (bia 985d.82b8.fb24)
Member of Port-Channel2
Ethernet MTU 9214 bytes, BW 1000000 kbit
Full-duplex, 1Gb/s, auto negotiation: on, uni-link: n/a
Up 5 hours, 8 minutes, 50 seconds
Loopback Mode : None
4 link status changes since last clear
Last clearing of "show interface" counters 5:21:41 ago
5 minutes input rate 14.3 kbps (0.0% with framing overhead), 14 packets/sec
5 minutes output rate 6.34 kbps (0.0% with framing overhead), 4 packets/sec
209559 packets input, 26469103 bytes
Received 66320 broadcasts, 136323 multicast
0 runts, 0 giants
0 input errors, 0 CRC, 0 alignment, 0 symbol, 0 input discards
0 PAUSE input
7809 packets output, 1398036 bytes
Sent 805 broadcasts, 1244 multicast
0 output errors, 0 collisions
0 late collision, 0 deferred, 0 output discards
0 PAUSE output
Ethernet48 is up, line protocol is up (connected)
Hardware is Ethernet, address is 985d.82b8.fb25 (bia 985d.82b8.fb25)
Member of Port-Channel2
Ethernet MTU 9214 bytes, BW 1000000 kbit
Full-duplex, 1Gb/s, auto negotiation: on, uni-link: n/a
Up 5 hours, 8 minutes, 50 seconds
Loopback Mode : None
4 link status changes since last clear
Last clearing of "show interface" counters 5:21:41 ago
5 minutes input rate 4.72 kbps (0.0% with framing overhead), 4 packets/sec
5 minutes output rate 16.9 kbps (0.0% with framing overhead), 11 packets/sec
71119 packets input, 11874376 bytes
Received 51240 broadcasts, 17663 multicast
0 runts, 0 giants
0 input errors, 0 CRC, 0 alignment, 0 symbol, 0 input discards
0 PAUSE input
27401 packets output, 4645653 bytes
Sent 2 broadcasts, 10462 multicast
0 output errors, 0 collisions
0 late collision, 0 deferred, 0 output discards
0 PAUSE output
Ethernet49 is down, line protocol is down (notconnect)
Hardware is Ethernet, address is 985d.82b8.fb26 (bia 985d.82b8.fb26)
Member of Port-Channel1
Ethernet MTU 9214 bytes, BW 10000000 kbit
Full-duplex, 10Gb/s, auto negotiation: off, uni-link: n/a
Down 5 hours, 12 minutes, 19 seconds
Loopback Mode : None
3 link status changes since last clear
Last clearing of "show interface" counters 5:21:41 ago
5 minutes input rate 0 bps (0.0% with framing overhead), 0 packets/sec
5 minutes output rate 0 bps (0.0% with framing overhead), 0 packets/sec
0 packets input, 0 bytes
Received 0 broadcasts, 0 multicast
0 runts, 0 giants
0 input errors, 0 CRC, 0 alignment, 0 symbol, 0 input discards
0 PAUSE input
0 packets output, 0 bytes
Sent 0 broadcasts, 0 multicast
0 output errors, 0 collisions
0 late collision, 0 deferred, 0 output discards
0 PAUSE output
Ethernet50 is down, line protocol is down (notconnect)
Hardware is Ethernet, address is 985d.82b8.fb27 (bia 985d.82b8.fb27)
Member of Port-Channel1
Ethernet MTU 9214 bytes, BW 10000000 kbit
Full-duplex, 10Gb/s, auto negotiation: off, uni-link: n/a
Down 5 hours, 12 minutes, 19 seconds
Loopback Mode : None
3 link status changes since last clear
Last clearing of "show interface" counters 5:21:41 ago
5 minutes input rate 0 bps (0.0% with framing overhead), 0 packets/sec
5 minutes output rate 0 bps (0.0% with framing overhead), 0 packets/sec
0 packets input, 0 bytes
Received 0 broadcasts, 0 multicast
0 runts, 0 giants
0 input errors, 0 CRC, 0 alignment, 0 symbol, 0 input discards
0 PAUSE input
0 packets output, 0 bytes
Sent 0 broadcasts, 0 multicast
0 output errors, 0 collisions
0 late collision, 0 deferred, 0 output discards
0 PAUSE output
Ethernet51 is down, line protocol is down (notconnect)
Hardware is Ethernet, address is 985d.82b8.faf5
Internet address is 172.16.1.2/24
Broadcast address is 255.255.255.255
IP MTU 1500 bytes (default), BW 1000000 kbit
Full-duplex, 1Gb/s, auto negotiation: off, uni-link: n/a
Down 5 hours, 12 minutes, 19 seconds
Loopback Mode : None
3 link status changes since last clear
Last clearing of "show interface" counters 5:21:41 ago
5 minutes input rate 0 bps (0.0% with framing overhead), 0 packets/sec
5 minutes output rate 0 bps (0.0% with framing overhead), 0 packets/sec
0 packets input, 0 bytes
Received 0 broadcasts, 0 multicast
0 runts, 0 giants
0 input errors, 0 CRC, 0 alignment, 0 symbol, 0 input discards
0 PAUSE input
0 packets output, 0 bytes
Sent 0 broadcasts, 0 multicast
0 output errors, 0 collisions
0 late collision, 0 deferred, 0 output discards
0 PAUSE output
Ethernet52 is down, line protocol is notpresent (notconnect)
Hardware is Ethernet, address is 985d.82b8.faf5
Internet address is 172.16.2.2/24
Broadcast address is 255.255.255.255
IP MTU 1500 bytes (default), BW 10000000 kbit
Full-duplex, 10Gb/s, auto negotiation: off, uni-link: n/a
Down 5 hours, 12 minutes, 19 seconds
Loopback Mode : None
1 link status changes since last clear
Last clearing of "show interface" counters 5:21:41 ago
5 minutes input rate 0 bps (0.0% with framing overhead), 0 packets/sec
5 minutes output rate 0 bps (0.0% with framing overhead), 0 packets/sec
0 packets input, 0 bytes
Received 0 broadcasts, 0 multicast
0 runts, 0 giants
0 input errors, 0 CRC, 0 alignment, 0 symbol, 0 input discards
0 PAUSE input
0 packets output, 0 bytes
Sent 0 broadcasts, 0 multicast
0 output errors, 0 collisions
0 late collision, 0 deferred, 0 output discards
0 PAUSE output
Loopback0 is up, line protocol is up (connected)
Hardware is Loopback
Internet address is 44.44.44.44/32
Broadcast address is 255.255.255.255
IP MTU 65535 bytes (default)
Up 5 hours, 14 minutes, 2 seconds
Loopback2 is up, line protocol is up (connected)
Hardware is Loopback
Internet address is 22.22.22.22/32
Broadcast address is 255.255.255.255
IP MTU 65535 bytes (default)
Up 5 hours, 14 minutes, 2 seconds
Management1 is up, line protocol is up (connected)
Hardware is Ethernet, address is 985d.82b8.faf4 (bia 985d.82b8.faf4)
Internet address is 10.16.100.5/24
Broadcast address is 255.255.255.255
IP MTU 1500 bytes (default), BW 1000000 kbit
Full-duplex, 1Gb/s, auto negotiation: on, uni-link: n/a
Up 5 hours, 13 minutes, 52 seconds
Loopback Mode : None
4 link status changes since last clear
Last clearing of "show interface" counters 5:21:41 ago
5 minutes input rate 12.8 kbps (0.0% with framing overhead), 10 packets/sec
5 minutes output rate 52 bps (0.0% with framing overhead), 0 packets/sec
180504 packets input, 27997914 bytes
Received 102129 broadcasts, 76000 multicast
0 runts, 0 giants
0 input errors, 0 CRC, 0 alignment, 0 symbol, 0 input discards
0 PAUSE input
643 packets output, 122727 bytes
Sent 4 broadcasts, 639 multicast
0 output errors, 0 collisions
0 late collision, 0 deferred, 0 output discards
0 PAUSE output
Port-Channel1 is down, line protocol is lowerlayerdown (notconnect)
Hardware is Port-Channel, address is 985d.82b8.fb26
Ethernet MTU 9214 bytes
Full-duplex, Unconfigured
Active members in this channel: 0
Fallback mode is: off
Down 5 hours, 13 minutes, 30 seconds
1 link status changes since last clear
Last clearing of "show interface" counters never
5 minutes input rate 0 bps (- with framing overhead), 0 packets/sec
5 minutes output rate 0 bps (- with framing overhead), 0 packets/sec
0 packets input, 0 bytes
Received 0 broadcasts, 0 multicast
0 input errors, 0 input discards
0 packets output, 0 bytes
Sent 0 broadcasts, 0 multicast
0 output errors, 0 output discards
Port-Channel2 is up, line protocol is up (connected)
Hardware is Port-Channel, address is 985d.82b8.fb24
Ethernet MTU 9214 bytes, BW 2000000 kbit
Full-duplex, 2Gb/s
Active members in this channel: 2
... Ethernet47 , Full-duplex, 1Gb/s
... Ethernet48 , Full-duplex, 1Gb/s
Fallback mode is: off
Up 5 hours, 8 minutes, 45 seconds
2 link status changes since last clear
Last clearing of "show interface" counters never
5 minutes input rate 18.7 kbps (0.0% with framing overhead), 17 packets/sec
5 minutes output rate 18.5 kbps (0.0% with framing overhead), 12 packets/sec
280504 packets input, 38328816 bytes
Received 117547 broadcasts, 153963 multicast
0 input errors, 0 input discards
34392 packets output, 5861842 bytes
Sent 807 broadcasts, 11700 multicast
0 output errors, 0 output discards
Vlan16 is up, line protocol is up (connected)
Hardware is Vlan, address is 985d.82b8.faf5 (bia 985d.82b8.faf5)
Internet address is 10.16.100.7/24
Broadcast address is 255.255.255.255
IP MTU 1500 bytes (default)
Up 5 hours, 8 minutes, 45 seconds
Vlan4094 is down, line protocol is lowerlayerdown (notconnect)
Hardware is Vlan, address is 985d.82b8.faf5 (bia 985d.82b8.faf5)
Internet address is 1.1.1.2/30
Broadcast address is 255.255.255.255
IP MTU 1500 bytes (default)
Down 5 hours, 13 minutes, 49 seconds


Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
---
parsed_sample:
- bandwidth: "1000000 kbit"
bia: "985d.82b8.fb24"
description: ""
hardware_type: "Ethernet"
interface: "Ethernet47"
interface_up_time: "5 hours, 8 minutes, 50 seconds"
ip_address: ""
link_status: "up"
link_status_change: "4"
mac_address: "985d.82b8.fb24"
mtu: "9214"
protocol_status: "up (connected)"
- bandwidth: "1000000 kbit"
bia: "985d.82b8.fb25"
description: ""
hardware_type: "Ethernet"
interface: "Ethernet48"
interface_up_time: "5 hours, 8 minutes, 50 seconds"
ip_address: ""
link_status: "up"
link_status_change: "4"
mac_address: "985d.82b8.fb25"
mtu: "9214"
protocol_status: "up (connected)"
- bandwidth: "10000000 kbit"
bia: "985d.82b8.fb26"
description: ""
hardware_type: "Ethernet"
interface: "Ethernet49"
interface_up_time: "5 hours, 12 minutes, 19 seconds"
ip_address: ""
link_status: "down"
link_status_change: "3"
mac_address: "985d.82b8.fb26"
mtu: "9214"
protocol_status: "down (notconnect)"
- bandwidth: "10000000 kbit"
bia: "985d.82b8.fb27"
description: ""
hardware_type: "Ethernet"
interface: "Ethernet50"
interface_up_time: "5 hours, 12 minutes, 19 seconds"
ip_address: ""
link_status: "down"
link_status_change: "3"
mac_address: "985d.82b8.fb27"
mtu: "9214"
protocol_status: "down (notconnect)"
- bandwidth: "1000000 kbit"
bia: ""
description: ""
hardware_type: "Ethernet"
interface: "Ethernet51"
interface_up_time: "5 hours, 12 minutes, 19 seconds"
ip_address: "172.16.1.2/24"
link_status: "down"
link_status_change: "3"
mac_address: "985d.82b8.faf5"
mtu: "1500"
protocol_status: "down (notconnect)"
- bandwidth: "10000000 kbit"
bia: ""
description: ""
hardware_type: "Ethernet"
interface: "Ethernet52"
interface_up_time: "5 hours, 12 minutes, 19 seconds"
ip_address: "172.16.2.2/24"
link_status: "down"
link_status_change: "1"
mac_address: "985d.82b8.faf5"
mtu: "1500"
protocol_status: "notpresent (notconnect)"
- bandwidth: ""
bia: ""
description: ""
hardware_type: "Loopback"
interface: "Loopback0"
interface_up_time: "5 hours, 14 minutes, 2 seconds"
ip_address: "44.44.44.44/32"
link_status: "up"
link_status_change: ""
mac_address: ""
mtu: "65535"
protocol_status: "up (connected)"
- bandwidth: ""
bia: ""
description: ""
hardware_type: "Loopback"
interface: "Loopback2"
interface_up_time: "5 hours, 14 minutes, 2 seconds"
ip_address: "22.22.22.22/32"
link_status: "up"
link_status_change: ""
mac_address: ""
mtu: "65535"
protocol_status: "up (connected)"
- bandwidth: "1000000 kbit"
bia: "985d.82b8.faf4"
description: ""
hardware_type: "Ethernet"
interface: "Management1"
interface_up_time: "5 hours, 13 minutes, 52 seconds"
ip_address: "10.16.100.5/24"
link_status: "up"
link_status_change: "4"
mac_address: "985d.82b8.faf4"
mtu: "1500"
protocol_status: "up (connected)"
- bandwidth: ""
bia: ""
description: ""
hardware_type: "Port-Channel"
interface: "Port-Channel1"
interface_up_time: "5 hours, 13 minutes, 30 seconds"
ip_address: ""
link_status: "down"
link_status_change: "1"
mac_address: "985d.82b8.fb26"
mtu: "9214"
protocol_status: "lowerlayerdown (notconnect)"
- bandwidth: "2000000 kbit"
bia: ""
description: ""
hardware_type: "Port-Channel"
interface: "Port-Channel2"
interface_up_time: "5 hours, 8 minutes, 45 seconds"
ip_address: ""
link_status: "up"
link_status_change: "2"
mac_address: "985d.82b8.fb24"
mtu: "9214"
protocol_status: "up (connected)"
- bandwidth: ""
bia: "985d.82b8.faf5"
description: ""
hardware_type: "Vlan"
interface: "Vlan16"
interface_up_time: "5 hours, 8 minutes, 45 seconds"
ip_address: "10.16.100.7/24"
link_status: "up"
link_status_change: ""
mac_address: "985d.82b8.faf5"
mtu: "1500"
protocol_status: "up (connected)"
- bandwidth: ""
bia: "985d.82b8.faf5"
description: ""
hardware_type: "Vlan"
interface: "Vlan4094"
interface_up_time: "5 hours, 13 minutes, 49 seconds"
ip_address: "1.1.1.2/30"
link_status: "down"
link_status_change: ""
mac_address: "985d.82b8.faf5"
mtu: "1500"
protocol_status: "lowerlayerdown (notconnect)"

0 comments on commit 0423e75

Please sign in to comment.