Bridging the gap between CCIE RS and SP

May 19, 2009

Initial thoughts on AMSoares scenarios

Filed under: CCIE SP, Mini Labs, dynagen, dynamips — 21500 @ 2:43 pm

I have started with the scenarios, so far so good. I would rather call them practical configuration examples and the best way to use them is probably debatable. Currently I load the configuration example, read the documentation, break it, fix it and then try alternative options.

Word of advice: The net files are setup for Windows, it will take a while to convert them to linux unless you don’t use something like perl or sed to run through and change the strings. Try to get the net files ready early in prep. I used the source of the mini scenario page to get a list of all the .zip files to download. Below is a script that might be useful in changing the .net files. Once the strings are changed, its a matter of point and shoot

#!/bin/bash

### Change directory to where you downloaded the net files
cd /dyn/ams/
### Create a list of net files
list=`find | grep .net | grep -v netflow`
for dir in $list
do
### Change the windows directory structure to linux
sed ’s/g:\\_CCIE\\Emulator\\Dynamips\\images\\c7200-p\.120-32\.S9\.bin/\/dyn\/images\/C7200-p-mz\.120-33\.S3\.bin/g’ < $dir > tmp.file

### Change an idlepc value
# sed ’s/0×60a600a8/0×623bbedc/g’ < $dir > tmp.file

### Move the temp file to the original
mv tmp.file $dir
done

1 Comment »

  1. please and please, can you help me with how to setup dynamips with linux(ubuntu) and some net files for a start

    Comment by nwachonky — May 21, 2009 @ 10:10 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress