On 06/12/12 18:09, Phil Shafer wrote:
Phil Mayers writes:
But then again, if you have JunOS and Junoscript, scripting a vlan add
is pretty trivial and moreover, can be done reliably.

Consider using the "share-data" op script, which can sync config
groups between devices.  It's manual, but simple:

groups {
     my-data {
         apply-macro share-data {
             device-1;   # list all the devices you want to share with
             10.1.2.3;
             mine.example.com;
         }
         vlan { ... }    # put whatever data you want to share
     }
}
apply-groups my-data;

The "op share-data" command will look at any groups with the
share-data macro and propagate those changes as needed.

Cool, I hadn't seen that. Very nice.
_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to