in reply to Template-based router configuration audit
I believe that it does exactly what you are trying to do, plus a whole lot more.
HTH, Darren