Now you could help yourself a little bit....

My setup is almost the same as IPexperts but all my routers er 3700 series so I 
need to change all configs... the way I do it is with a little script.

#!/bin/bash

TEMPFILE="/tmp/rework.sed"
if [ -f $TEMPFILE ]
then
  rm $TEMPFILE
fi

if [ -f R2.txt ]
then
    sed -e 's/GigabitEthernet0/FastEthernet0/g' \
        -e 's/media-type/! media-type/g' \
        -e 's/Serial0\/1\/0/Serial0\/0/gI' \
        -e 's/Serial0\/2\/0/Serial0\/1/gI' \
        R2.txt > $TEMPFILE
        mv $TEMPFILE R2.txt
fi

if [ -f R4.txt ]
then
    sed -e 's/Serial0\/0\/0/Serial0\/0/gI' \
        R4.txt > $TEMPFILE
        mv $TEMPFILE R4.txt
fi

if [ -f R5.txt ]
then
    sed -e 's/Serial0\/1\/0/Serial0\/0/gI' \
        -e 's/Serial0\/2\/0/Serial0\/1/gI' \
        R5.txt > $TEMPFILE
        mv $TEMPFILE R5.txt
fi

if [ -f R6.txt ]
then
    sed -e 's/Serial0\/1\/0/Serial2\/0/gI' \
        -e 's/Serial0\/2\/0/Serial2\/1/gI' \
        -e 's/Serial0\/2\/1/Serial2\/2/gI' \
        R6.txt > $TEMPFILE
        mv $TEMPFILE R6.txt
fi

if [ -f R7.txt ]
then
    sed -e 's/Serial0\/0\/0/Serial0\/0/gI' \
        R7.txt > $TEMPFILE
        mv $TEMPFILE R7.txt
fi


Med venlig hilsen | Best regards
Thomas Raabo
Netværks ansvarlig



_____________________________________________
[email protected] | Direkte: +45 69 10 60 18 | Tlf.: +45 70 23 55 66


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of O'Brien, Neil
Sent: 27. januar 2011 21:13
To: Di Bias, Steve; [email protected]
Subject: Re: [OSL | CCIE_RS] BLS and GNS3

Thanks Steve,

Neil


-----Original Message-----
From: Di Bias, Steve [mailto:[email protected]]
Sent: 27 January 2011 14:56
To: O'Brien, Neil; [email protected]
Subject: Re: [OSL | CCIE_RS] BLS and GNS3

You will needto manually edit the configs to fit (e.g. interfaces, etc) its a 
bit of a pain but once you do that you're good to go

"O'Brien, Neil" <[email protected]> wrote:


Hi Guys,



I have the BLS V4 package and I have also downloaded the "Dynamips support 
files" from the blog.  I haven't really started using any of the labs from BLS, 
I'm just preparing.



Am I supposed to have initial configs for the devices in the topology and if so 
where do I get them.  I did download some configs from my members area but they 
don't seem to transfer directly over to the devices in the GNS3 support files.



Am I missing something??



Thanks in advance,

Neil

_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com


UHS Confidentiality Notice:  This e-mail message, including any attachments, is 
for the sole use of the intended recipient (s) and may contain confidential and 
privileged information.  Any unauthorized review, use, disclosure or 
distribution of this information is prohibited.  If this was sent to you in 
error, please notify the sender by reply e-mail and destroy all copies of the 
original message.
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Reply via email to