The expand-interface-ranges.slax commit script is now available in the 
JUNOScriptorium repository:
http://junoscriptorium.googlecode.com/svn/trunk/library/juniper/commit/interfaces/expand-interface-ranges/expand-interface-ranges.xml

Here is a simple example of how it works:

[edit interfaces]
j...@r2d2-re0# show

[edit interfaces]
j...@r2d2-re0# set interface-range example member ge-*/0/0

[edit interfaces]
j...@r2d2-re0# set interface-range example mtu 9192

[edit interfaces]
j...@r2d2-re0# commit
re0:
warning: Expanding/removing interface-range example (3 interfaces altered)
configuration check succeeds
re1:
commit complete
re0:
commit complete

[edit interfaces]
j...@r2d2-re0# show
ge-2/0/0 {
    mtu 9192;
}
ge-3/0/0 {
    mtu 9192;
}
ge-4/0/0 {
    mtu 9192;
}


An installation script is also available (J/SRX chassis clusters are not 
supported):
http://junoscriptorium.googlecode.com/svn/trunk/library/juniper/op/installation/install-expand-interface-ranges/install-expand-interface-ranges.xml

This means that by using the new Junos 10.0 "op url" CLI command any 
Internet-connected Junos device can install this commit script by using the 
following CLI command:
op url 
http://junoscriptorium.googlecode.com/svn/trunk/library/juniper/op/installation/install-expand-interface-ranges/install-expand-interface-ranges.slax

Sorry about the long URLs, hopefully those will get shortened in the future.

Thanks
_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to