I used the following to convert my initial configs to be compatible with my
Dynagen + real switch setup.

Since the complete set of IPX configs in in the format of:

/VOL1/LAB-12/INITIAL
or
/VOL3/LAB-6/FINAL

These commands would be run at the "top" directory under which you have the
VOL1, VOL2, VOL3 folders. I made a directory called "config" under which to
put these, so I run these commands from the "config" directory.

Here are the commands:

# Fixes media type and interface identifier for R2
sed 's/GigabitEthernet/FastEthernet/g' -i */*/R2.txt
sed 's/media-type/!/g' -i */*/R2.txt

# Strips leading "0/" from serial interfaces (e.g., S0/1/0 --> S1/0)
sed 's/Serial0\//Serial/g' -i */*/R2.txt
sed 's/Serial0\//Serial/g' -i */*/R4.txt
sed 's/Serial0\//Serial/g' -i */*/R5.txt
sed 's/Serial0\//Serial/g' -i */*/R6.txt
sed 's/Serial0\//Serial/g' -i */*/R7.txt
sed 's/Serial0\//Serial/g' -i */*/R8.txt
sed 's/Serial0\//Serial/g' -i */*/R9.txt

# Comments out commands that cause problems in a virtual/Dynagen environment
sed 's/memory-size iomem/!/g' -i */*/*
sed 's/warm-reboot/!/g' -i */*/*
sed 's/scheduler allocate/!/g' -i */*/*
sed 's/frame-relay lmi-type cisco/!/g' -i */*/*

# Forces links to 100/Full for integration with real switches
sed 's/duplex auto/duplex full/g' -i */*/*
sed 's/half-duplex/full-duplex/g' -i */*/*
sed 's/speed auto/speed 100/g' -i */*/*

# This will rename .txt files to .cfg for Dynagen import
rename s/\.txt$/\.cfg/ */*/*.txt


For a pure Dynagen/GNS setup this may differ a bit, but for the real-switch
setup it has worked very well.

I used a setup pretty similar to this:

http://blog.ipexpert.com/2011/02/28/gns3-and-physical-switches-breakout-switch/



On Thu, Apr 12, 2012 at 5:14 PM, Joe Danrich <[email protected]> wrote:

> Jim
>
> What I had to do was to modify the "initial" lab configurations for each of
> the respective labs.
>
> Also you should note that the Layer 2 switching labs won't be fully
> functional on GNS/Dynamips do to the fact that the switch card module used
> in the 3745 doesn't support various spanning tree capabilities.
>
> Other than that I have found that it works well, especially on Linux and
> Windows 7 x64.
>
> Cheers
>
> Joe
>
> On Thu, Apr 12, 2012 at 1:35 PM, Jim Feo <[email protected]> wrote:
>
> > I am looking for the initial configs for Volume 1 GNS3. The ones I
> > downloaded are for the real routers and switch so all the interfaces
> don't
> > match up.
> > _______________________________________________
> > For more information regarding industry leading CCIE Lab training, please
> > visit www.ipexpert.com
> >
> > Are you a CCNP or CCIE and looking for a job? Check out
> > www.PlatinumPlacement.com
> >
> > http://onlinestudylist.com/mailman/listinfo/ccie_rs
> >
> _______________________________________________
> For more information regarding industry leading CCIE Lab training, please
> visit www.ipexpert.com
>
> Are you a CCNP or CCIE and looking for a job? Check out
> www.PlatinumPlacement.com
>
> http://onlinestudylist.com/mailman/listinfo/ccie_rs
>
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

http://onlinestudylist.com/mailman/listinfo/ccie_rs

Reply via email to