Find unused elements in Juniper configurations

The following lines, help to find unused elements, like communities, as-path, prefixlists or policy-statements, in Juniper JunOS Configurations.

At first you need to save the configuration to your local computer.

Run the following commands on your linux box:

Save the following script as :

Make the script executable and execute it with configuration file as argument:


Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">