[j-nsp] Bulk config migration between interfaces?

E.S erdems at gmail.com
Wed Feb 20 00:13:24 EST 2008


Hey Jonathan,

 You actually have two options:

1. rename the interface, e.g:

rename interfaces ge-0/0/0 to ge-1/0/0

Note that this will ONLY rename the interface(s) and not any other
part of the configuration. So if you have any protocols, interface
switch vrf etc. configuration, these won't be changed. You may want to
start that way to test your connectivity etc.

2. replate pattern, e.g:

replace pattern ge-0/0/0 with ge-1/0/0

 This command will basically do a search&replace within the
configuration file and change ALL the occurrences of ge-0/0/0.

For information and examples, you may refer to
http://www.juniper.net/techpubs/software/junos/junos83/swconfig83-cli/html/cli-summary-configuration-mode15.html#1189288

HTH
Erdem

On Feb 19, 2008 11:14 PM, Jonathan Brashear <jbrashear at hq.speakeasy.net> wrote:
> I have a facility(3, actually) I'm upgrading and part of this upgrade
> involves moving a circuit from one PIC on a M20 FPC to a new PIC on the
> same FPC.  I have a few dozen VLANs that will be migrated as well.
> Obviously I could do this one by one, but I was curious if anyone knew a
> way within JunOS that I could move all the logical configuration from
> one physical interface to another.  It would save me a significant
> amount of time.
>
> Network Engineer
> > 214-981-1954 (office)
> > 214-642-4075 (cell)
> > jbrashear at hq.speakeasy.net
> http://www.speakeasy.net
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>


More information about the juniper-nsp mailing list