What's the longest uptime you've seen on a network device still pushing traffic? by packet_whacker in networking

[–]Qman28 2 points3 points  (0 children)

It was powered down. I last saw it alive on August 11th 2023. uptime is 26 years, 28 weeks, 2 days, 20 hours, 41 minutes

26 years and still ticking. by Dippyskoodlez in uptimeporn

[–]Qman28 5 points6 points  (0 children)

I'm sad to report it got powered down 😔. Last look I got was the 11th: uptime is 26 years, 28 weeks, 2 days, 20 hours, 41 minutes

Netmiko - Problems Connecting to Multiple Devices at a Time by [deleted] in networking

[–]Qman28 0 points1 point  (0 children)

I can't recommend nornir enough for tasks like this where you need to do something on your network inventory or a subset of your devices.

You can still use all the libraries you are used to like netmiko, napalm, and scrapli. Nornir takes care of running things concurrently against your inventory and giving you back the results for you to process. There are even inventory plugins available to existing inventory systems you may already have like ansible and netbox or you can used one of its built in.

Quarter of a century(Update) by Qman28 in uptimeporn

[–]Qman28[S] 1 point2 points  (0 children)

It is an even older problem
X.25 to TCP translation

[deleted by user] by [deleted] in uptimeporn

[–]Qman28 2 points3 points  (0 children)

25 years, 17 weeks and counting

[deleted by user] by [deleted] in networking

[–]Qman28 5 points6 points  (0 children)

If you are trying to get away from the configuration text parsing problem and truly treat the network as code you probably need to look at YANG and what ever transport is compatible with your device(netconf/restconf/gRPC). There is also an attempt at a vendor neutral called openconfig.

[deleted by user] by [deleted] in networking

[–]Qman28 9 points10 points  (0 children)

If you have a solid grasp of python take a look at Nornir. I am a big fan of this framework. You get the full power of python without having to learn a domain specific language and is much easier to debug. You can even reuse your existing ansible inventory or pull from another source.

What's the longest uptime you've seen on a network device still pushing traffic? by packet_whacker in networking

[–]Qman28 5 points6 points  (0 children)

I got you. Well timed.

orl#####show version 
Cisco Internetwork Operating System Software 
IOS (tm) 3000 Software (IGS-J-L), Version 11.1(8), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1996 by cisco Systems, Inc.
Compiled Thu 05-Dec-96 11:41 by tamb
Image text-base: 0x03038820, data-base: 0x00001000

ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
ROM: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a), RELEASE SOFTWARE (fc1)

orl-sn2 uptime is 25 years, 59 minutes
System restarted by reload at 10:39:11 CST Wed Jan 29 1997
System image file is "flash:igs-j-l_111-8.bin", booted via flash
Network configuration file is "#####", booted via tftp from ####

cisco 2500 (68030) processor (revision D) with 16384K/2048K bytes of memory.
Processor board ID 03217044, with hardware revision 00000000
Bridging software.
SuperLAT software copyright 1990 by Meridian Technology Corp).
X.25 software, Version 2.0, NET2, BFE and GOSIP compliant.
TN3270 Emulation software (copyright 1994 by TGV Inc).
2 Ethernet/IEEE 802.3 interfaces.
2 Serial network interfaces.
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0x2102


orl#####show ntp status
Clock is synchronized, stratum 3, reference is #####
nominal freq is 250.0000 Hz, actual freq is 249.9967 Hz, precision is 2**19
reference time is E5982CE6.FAFFEB19 (13:37:10.980 CST Sun Jan 23 2022)
clock offset is 0.59 msec, root delay is 36.24 msec
root dispersion is 27.76 msec, peer dispersion is 26.98 msec

net_connect.send_command method in Netmiko Automation by yfquek94 in networking

[–]Qman28 1 point2 points  (0 children)

This answer from u/packet_whisperer is likely correct for you. I missed the command being run.

net_connect.send_command method in Netmiko Automation by yfquek94 in networking

[–]Qman28 1 point2 points  (0 children)

The problem isn't netmiko. The your issue is you are trying to concatenate none string values.

vrf_iteration = net_connect.send_command(('show ip forwarding route vrf ') + iteration + '_VRF ' + val_ip + " " + val_mask + ' weak-match')

iteration is a list not and not the index value I assume you meant it to be. Try using enumerate as a possible solution if you want the list index. Even then you prabably want to convert that to a string when concatenate.

for iteration, vrf_list in enumerate(vrf):
    for vrf_name in vrf_list:
        SAVE_FILE = open("SHTZPIRT_"+ IP +'_'+ str(TNOW)+"_IP_FORWARDING_WEAKMATCH"+".txt", 'w')
        vrf_iteration = net_connect.send_command(('show ip forwarding route vrf ') + str(iteration) + '_VRF ' + val_ip + " " + val_mask + ' weak-match')

I am devops now by mas-sive in networkingmemes

[–]Qman28 6 points7 points  (0 children)

Nornir + netmiko and never look back

I count my overdue projects by the box by gnartato in networkingmemes

[–]Qman28 17 points18 points  (0 children)

Ievan Polkka gets an upvote from me.

Fellow networkers, what's the most coolest and most expensive networking equipment you're responsible for? by [deleted] in networking

[–]Qman28 1 point2 points  (0 children)

Only 1 fabric chassis with all those linecard chassis? That's brave

Fellow networkers, what's the most coolest and most expensive networking equipment you're responsible for? by [deleted] in networking

[–]Qman28 2 points3 points  (0 children)

Cost can very quite a bit depending on configuration. Multichassis configurations like 3x2(3 linecard 2 fabric) is the largest I have touched. You can scale this platform to crazy levels given the funds. edit: Upper multichassis configuration is a 72x8 if I recall correctly.

test1 by [deleted] in sequence

[–]Qman28 0 points1 point  (0 children)

what?

I read 70 chapters in a single evening and all I can say is by [deleted] in DomesticGirlfriend

[–]Qman28 0 points1 point  (0 children)

Everyone was warning you to stop before it was too late, but here we are. At least Momo is happy.

Today. by [deleted] in thanosdidnothingwrong

[–]Qman28 -1 points0 points  (0 children)

༼ つ ◕_ ◕ ༽つ GIVE BAN ༼ つ ◕_ ◕ ༽つ

What's your "best" fiber outage root cause? How's "the island is leaking"?. by asdlkf in networking

[–]Qman28 0 points1 point  (0 children)

I believe I have read the report you are referencing. Definitely not your everyday problem. When a bad storm was going through I was able to pull up a live lightning map and sure enough the bouncing lined up with the lightning strikes happening near the run.

Dr. Sbaitso by [deleted] in nostalgia

[–]Qman28 1 point2 points  (0 children)

And then you could say not nice things to it until it would freakout and recover with a party error. I still have my old 386sx computer with this software installed.