4 Replies Latest reply on Mar 20, 2018 2:55 PM by josh.haberman

    Reporting on Parameters in Configs

    toivo

      I have a pretty basic task that I can'f figure out how to do in Orion, and would like some tips and tricks. Basically I want to run a regexp through the configs to find parameters such as logging servers, AS numbers, SNMP strings, trap targets etc.

       

      For example, I want to look for "router bgp 12345" statements. I don't want just a list of devices that have that config, I want a list with a device, and then that statement, or better yet, the parameter itself. Another way of thinking of this is that I want a list of unique AS numbers in the environment. (Or logging servers, or SNMP strings etc.) The use case is for documentation of an unknown network, for finding misconfiguration and anomalies etc.

       

      How would I best accomplish this goal?