06-05-2020 07:23 AM
Hi, I'm want to use the 'genie diff' feature to compare the routing tables of multiple devices between snapshots.
The routing domain I'm interested in is on the global VRF on some devices and in a VRF on others. I'd hoped that I could specify the VRF within the testbed file but doesn't look like I can.
I'd rather not have to create multiple snapshots to cover each VRF as the command to get the routing table will obviously be different.
Can anyone suggest how I can get this to work by creating a single snapshot with different versions of the 'show ip route' command depending on the device's VRF?
Many Thanks in advance
Dom
Solved! Go to Solution.
06-05-2020 12:10 PM
Hi
can you not use genie parse to save the output and then use genie diff on the output files?
you can specify multiple commands with genie parse ..
genie parse "show ip route" "show ip route vrf A" --testbed-file testbed.yaml --devices nx-osv-1 --output initial
06-05-2020 12:10 PM
Hi
can you not use genie parse to save the output and then use genie diff on the output files?
you can specify multiple commands with genie parse ..
genie parse "show ip route" "show ip route vrf A" --testbed-file testbed.yaml --devices nx-osv-1 --output initial
06-08-2020 07:10 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide