As this is a list for ansible, I assume you mean 'playbook' when you say 'script'. Since your question has nothing else that is related to ansible?
Sounds like you just need to compare some output before and after the upgrade so you can tell if they're equal. On Thu, 27 May 2021 at 18:56, Vikram S <[email protected]> wrote: > I request assistance to write a script that needs to verify that EIGRP > neighbourship shown in router before IOS upgrade is the same after IOS > upgrade (and reload) as well. Below is a sample output of EIGRP neibourship > that i need to verify after IOS upgrade. How can i write a script for that? > > ROUTER#sh ip eigrp neighbor > EIGRP-IPv4 Neighbors for AS(500) > H Address Interface Hold Uptime SRTT > RTO Q Seq > (sec) (ms) > Cnt Num > 0 10.1.250.250 Gi1/1/1.255 10 1w6d 1 > 144 0 4409 > 2 10.1.250.252 Gi1/1/1.255 13 6w5d 1 > 144 0 13775 > 1 10.1.250.253 Gi1/1/1.255 10 6w5d 1 > 144 0 20042 > EIGRP-IPv4 Neighbors for AS(600) > H Address Interface Hold Uptime SRTT > RTO Q Seq > (sec) (ms) > Cnt Num > 19 10.250.254.70 Tu10 14 00:27:07 536 > 3216 0 537976 > 12 10.250.255.50 Tu10 14 01:11:41 555 > 3330 0 328857 > 7 10.250.255.60 Tu10 13 11:47:09 246 > 1476 0 1188183 > 17 10.250.255.40 Tu10 14 1d11h 117 > 702 0 254686 > 5 10.250.255.50 Tu10 10 1d14h 51 > 306 0 19347 > > Thanks, > Vikram > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/0797e203-7b24-4d69-ba75-79b4f449963dn%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/0797e203-7b24-4d69-ba75-79b4f449963dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Sent from a mobile device - please excuse the brevity, spelling and punctuation. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwMsrK%2Bb60xOHHZoY48bAT4csjYbVTRd3ND1V6ssECA0cQ%40mail.gmail.com.
