It's not going to match up perfectly. Here's a good reference link:
http://blog.ipexpert.com/2011/02/28/gns3-and-physical-switches-breakout-switch/
You should be able to match up your Ethernet interfaces perfectly with
your lab in terms of port ID but the speeds probably won't match up.
Your serial interfaces won't match up. You'll need to keep that in mind
when building your frame relay stuff.
-Hammer-
"I was a normal American nerd"
-Jack Herer
On 5/23/2012 7:23 AM, Cristiano Guerrieri wrote:
Hello Hammer,
thanks for your reply. however I'm still having problem with the
Switches. My switch Ethernet interfaces are still not matching.
The IPexpert topology uses 3700 and the switch module supports
fastethernet interfaces.
What I'm missing?
Thanks
Cristiano
2012/5/21 -Hammer- <[email protected] <mailto:[email protected]>>
################################################################################################
#!/bin/sh
#
#I called it with: ./SerialRename.sh ./IPExpert\ Routing\ and\
Switching\ Volume\ 1/
#
if [ -z "$1" ]; then
echo "Please call this script quoting the path to the text
files in the LAB-* folders"
echo "Example: ./this-script '/path/to/IPExpert Routing and
Switching Volume 1'"
exit 0
fi
# We use the @ symbol so that our serial interface names don't
look all screwy.
#'s@0/1/0@2/2@g' == 's/0\/1\/0/2\/2/g'
#First, go find the files and rename in bulk and then rename
the files to XXX_adjusted.txt
find "$1" -type f|grep '\.txt$'|grep 'LAB-'|while read line; do
echo "Processing $line"
sed -e 's@0/1/0@2/2@g' -e 's@0/2/0@2/0@gi' -e 's@0/0/0@2/0@gi'
"$line" > "${line}_adjusted.txt"
#Then, there are some extra conditions
#If R4 then rename 2/0 to 2/2
if [ $(echo "$line"|grep -c "R4\.txt") -gt 0 ]; then
sed -i 's@2/0@2/2@gi' "${line}_adjusted.txt"
fi
#If R9 or R6 then rename 0/2/1 to 2/1
if [ $(echo "$line"|grep -c "R9\.txt\|R6\.txt") -gt 0 ]; then
sed -i 's@0/2/1@2/1@gi' "${line}_adjusted.txt"
fi
#If file name starts with Cat then rename FastEthernet to G
if [ $(echo "$line"|grep -c "Cat") -gt 0 ]; then
sed -i 's/FastEthernet/G/g' "${line}_adjusted.txt"
fi
#If file name IS Cat1 then rename G0/2 G0/13
#Watch out for DOS vs UNIX file types. They prevented this from
working with EOL=g
if [ $(echo "$line"|grep -c "Cat1\.txt") -gt 0 ]; then
sed -i 's@G0/2\r@G0/13@g' "${line}_adjusted.txt"
fi
done
################################################################################################
-Hammer-
"I was a normal American nerd"
-Jack Herer
On 5/20/2012 10:39 AM, Cristiano Guerrieri wrote:
Hi all,
for sure this argument has been already discussed 100000000
times, but
actually I tried to find the email where explained the
procedure how to
change the configs to fit the GNS scenario...but I couldn't
find it.
I'm really sorry if I'm asking again it and thank you to
everyone that will
reply.
I'm trying to change the Ipexpert configs using a script to
fit GNS3
network diagram.
I would love use the RACK, i have plenty of hours, however
because I'm
Europe on GTM time, the rack timing is too early in the
morning or too late
in the night. So I use the Rack only Saturday or Sunday. For
the rest of
the week I must use GNS.
I used the below script, posted by someone in the list, it
works great, it
changes the configs, serials are fine... but especially for
the switches,
the configs are still not matching the GNS lab.
here is the script
#####################################################################################################
#!/bin/sh
#
#I called it with: ./SerialRename.sh ./IPExpert\ Routing\ and\
Switching\
Volume\ 1/
#
if [ -z "$1" ]; then
echo "Please call this script quoting the path to the text
files in the
LAB-* folders"
echo "Example: ./this-script '/path/to/IPExpert Routing and
Switching
Volume 1'"
exit 0
fi
# We use the @ symbol so that our serial interface names don't
look all
screwy.
#'s@0/1/0@2/2@g' == 's/0\/1\/0/2\/2/g'
#First, go find the files and rename in bulk and then
rename the files
to XXX_adjusted.txt
find "$1" -type f|grep '\.txt$'|grep 'LAB-'|while read line; do
echo "Processing $line"
sed -e 's@0/1/0@2/2@g' -e 's@0/2/0@2/0@gi' -e
's@0/0/0@2/0@gi' "$line">
"${line}_adjusted.txt"
#Then, there are some extra conditions
#If R4 then rename 2/0 to 2/2
if [ $(echo "$line"|grep -c "R4\.txt") -gt 0 ]; then
sed -i 's@2/0@2/2@gi' "${line}_adjusted.txt"
fi
#If R9 or R6 then rename 0/2/1 to 2/1
if [ $(echo "$line"|grep -c "R9\.txt\|R6\.txt") -gt 0 ]; then
sed -i 's@0/2/1@2/1@gi' "${line}_adjusted.txt"
fi
#If file name starts with Cat then rename FastEthernet to G
if [ $(echo "$line"|grep -c "Cat") -gt 0 ]; then
sed -i 's/FastEthernet/G/g' "${line}_adjusted.txt"
fi
#If file name IS Cat1 then rename G0/2 G0/13
#Watch out for DOS vs UNIX file types. They prevented this
from working
with EOL=g
if [ $(echo "$line"|grep -c "Cat1\.txt") -gt 0 ]; then
sed -i 's@G0/2\r@G0/13@g' "${line}_adjusted.txt"
fi
done
#####################################################################################################
Is anybody able to help me?
Many thanks to everyone,
Cristiano
_______________________________________________
For more information regarding industry leading CCIE Lab
training, please visit www.ipexpert.com <http://www.ipexpert.com>
Are you a CCNP or CCIE and looking for a job? Check out
www.PlatinumPlacement.com <http://www.PlatinumPlacement.com>
http://onlinestudylist.com/mailman/listinfo/ccie_rs
_______________________________________________
For more information regarding industry leading CCIE Lab training,
please visit www.ipexpert.com <http://www.ipexpert.com>
Are you a CCNP or CCIE and looking for a job? Check out
www.PlatinumPlacement.com <http://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