[j-nsp] junos 10.0 / interface-range implementation

Curtis Call ccall at juniper.net
Tue Nov 10 18:24:37 EST 2009


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]
jnpr at r2d2-re0# show

[edit interfaces]
jnpr at r2d2-re0# set interface-range example member ge-*/0/0

[edit interfaces]
jnpr at r2d2-re0# set interface-range example mtu 9192

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

[edit interfaces]
jnpr at 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


More information about the juniper-nsp mailing list