Saturday, February 26, 2011

Cell Respiration Higher In Mammals Or Reptiles?

Cleanup juniper config

Laziness still won. :)
Instead, once again wiping his hands of the config bits, which are no longer used (policy-statements, firewall filters, etc) written for this Perl script .
parameters to it on stdin or given configuration, it analyzes it, and exit issues commands to remove unused policy-statements, prefix-lists, community, as-path, firewall filters, firewall policers. These remove command can then kopipastnut in the configuration. If you use a dynamic-db, dynamic configuration can be given a second parameter - then say that you can remove from there.

first thought is not whether to do it as junoscript (to commit or as op script), but decided that it and write more difficult and less convenient to use.
written in an hour (maybe two) on the knee, is written correctly (config parsing, if the mind, you need to do is not the case), made exclusively for my config, so that the correct work with other configs can not promise. But it may work. :) I worked on MX, and EX. Catches the inactive-side config, use firewall filters as input / output on the interface or nested, or as a fail-filter in urpf, polisery - use of filters or directly on the interface (input / output / arp), policy-statements - in the configuration of the protocols, or nested.
If someone offers remove something unnecessary, or vice versa - do not offer to delete what you need to - write, are corrected. This is only the most-the very first version.

It will be necessary for cisco ios is too сделать.

Или это я велосипед изобретаю, и оно такое давно есть стандартное?

0 comments:

Post a Comment