Have you ever struggled comparing two network configuration files?
Of course there exist numerous diff scripts and tools (Unix “diff” command, WinMerge…) but they are well suited for programming code or articles. When used on Cisco configuration files, they tend to flood relevant exception in a large amount of false positives, which might lead to mistakes and impact your productivity.
This tool addresses the problem with an approach that understands the hierarchical structure of Cisco configuration files and an output that facilitates comparison by reordering and aligning the files such that matching parts and corresponding sections are facing each other.
How to interpret the output:
Red lines are different or missing in the other file
Orange lines are headers or footers of sections containing red lines. They do have a matching line in the other configuration. Yet, they are highlighted because you have to type them to enter the right configuration context to configure or fix red lines (in other words, orange highlights the location of red lines in the configuration hierarchy)
Blue icons are warnings about reordered lines: while the order of line in a given section is most of the time not meaningful, there are a few exceptions such as old IOS access-lists or IOS-XR route-policies, to which you must pay attention (hence the warning)
At the top, two text zones give the raw unformatted diff (just red and orange lines) which you can easily copy/paste
NB: this tool infers the hierarchical structure of configurations from their indentation (spaces at the beginning of the line), so it is essential that indentation of input files follows the format of a show run.
Comparing versions of the configuration for a given device and assess the evolution over time
Verifying the changes performed in the network during a maintenance window
Comparing configurations of devices with similar roles to work towards better standardisation
Comparing the actual show run to the expected configuration (for example generated from the initial network design)
Because it is based almost only on indentation, this tool is platform agnostic: it can be used for configuration files of IOS, IOS-XE, IOS-XR, NX-OS...
Hopefully this can be done. I have tirelessly looked through the forums and tried to see if others can do the same and tried different configs but no go. Here is what I am trying to do.I have a USG Router with 2xWAN ports and 1xLAN port WAN1 = ...
So lets say for a moment we have 3 routes that exactly the same192.168.12.0/24 using EIGRP192.168.12.0/27 using RIP192.168.12.0/28 using OSPFFrom my understandingAdministrative distance should be first choosing the EIGRP route If all of the...
Installed Tardis2000 (Windows-based NTP server) on my laptop configured my switch (Catalyst 3750-X) as a client to sync with the NTP server.Even though the two devices see each others and exchange messages, the time on the switch is not syncing...
Hello, I have an access list on my Cisco 2900 router, like so:access-list 103 permit ip host 192.168.3.17 any and would like to have another host in there, then just the one. instead of 192.168.3.17 I want 192.168.3.17 an...