how to iou web

4
Written by UldisD Steps, If you want to start TS lab from scratch with faults!!! 1. You should clean up your saved configs from NVRAMS. 2. Go to particular LAB, MPLS, for example, TAB "devices", on the top of device list are management buttons, Mass start, mass stop, etc. 3. Find mass button like Trash "Stop all devices and wipe all configurations". Press it. 4. It will erase all previously saved configs in NVRAMS and vlan.dat. This command will NOT erase my preconfigs from labs. Start devices. All should work. How to create OWN labs in IOU WEB 1. TAB laboratories, right upper corner ICON “New LAB” 2. Fill fields: NAME, Description – mandatory, your choice 3. Field TIME – not mandatory and it can be turned on any time. It is timer what you can setup for your lab just for time management, let’s say 120 minutes. When you will start a lab in upper left corner you can countdown of time. 4. Checked box “Display diagram”. If it is checked you will see default diagram with devices of your created lab. Option uncheck is used if you will create your own active picture – clickable devices. As I did on my all labs. But about this tuning later 5. Big field “Additional info” can be used to place questions for lab. All info will appears later as description TAB when you will use this lab. But I prefer better to use pdfs. 6. IMPORTANT: Netmap field. Here you will create your device connections with interfaces. IOU WEB supports two cards only: NM-4E and NM-4T. By default if you choose both NM cards, first always will be Ethernet, doesn’t matter how many cards, and then follows Serial NM cards. Examples: 2xNM-4E and 2xNM-4T in sh run looks like: e0/0-0/3, e1/0-1/3, s2/0-2/3, s3/0-3/3. 1xNM-4E and 2xNM-4T in sh run looks like: e0/0-0/3, s1/0-1/3, s2/0-2/3 1xNM-4E and 1xNM-4T in sh run looks like: e0/0-0/3, s1/0-1/3 1xNM-4E and 0xNM-4T in sh run looks like: e0/0-0/3 0xNM-4E and 2xNM-4T in sh run looks like: s0/0-0/3, s1/0-1/3 Last example if Ethernet cards are “0” then Serial will place first slot and will start from 0/x For switches you should add Ethernet cards only, Serial is “0”. 4x1xNM-4E and 0xNM-4T in sh run looks like: e0/0-0/3, e1/0-1/3, e2/0-2/3, e2/0-2/3 Use “0” in Ethernet card fields are necessary…if you will leave it empty, it will add 8 NM cards to your device. Let’s say we want to create lab: a) R1 e0/0 con to R2 e0/0; b) R1 s1/0 con to R3 s0/0 (here you can see that R3 has no Ethernet NM at all, therefore Ethernet field is “0”) c) R1 e0/1 con to SW1 e0/0 d) R2 e0/1 con to SW1 e0/1 Syntax for this lab will be:

Upload: jorge-r-sepulveda-turpie

Post on 28-Jan-2016

8 views

Category:

Documents


0 download

DESCRIPTION

Steps, If you want to start TS lab from scratch with faults!!!

TRANSCRIPT

Page 1: How to IOU WEB

Written by UldisD

Steps, If you want to start TS lab from scratch with faults!!!

1. You should clean up your saved configs from NVRAMS.

2. Go to particular LAB, MPLS, for example, TAB "devices", on the top of device list are

management buttons, Mass start, mass stop, etc.

3. Find mass button like Trash "Stop all devices and wipe all configurations".

Press it.

4. It will erase all previously saved configs in NVRAMS and vlan.dat. This command will NOT

erase my preconfigs from labs.

Start devices.

All should work.

How to create OWN labs in IOU WEB

1. TAB laboratories, right upper corner ICON “New LAB”

2. Fill fields: NAME, Description – mandatory, your choice

3. Field TIME – not mandatory and it can be turned on any time. It is timer what you can

setup for your lab just for time management, let’s say 120 minutes. When you will start

a lab in upper left corner you can countdown of time.

4. Checked box “Display diagram”. If it is checked you will see default diagram with devices

of your created lab. Option uncheck is used if you will create your own active picture –

clickable devices. As I did on my all labs. But about this tuning later

5. Big field “Additional info” can be used to place questions for lab. All info will appears

later as description TAB when you will use this lab. But I prefer better to use pdfs.

6. IMPORTANT: Netmap field. Here you will create your device connections with interfaces.

IOU WEB supports two cards only: NM-4E and NM-4T.

By default if you choose both NM cards, first always will be Ethernet, doesn’t matter how many

cards, and then follows Serial NM cards.

Examples:

2xNM-4E and 2xNM-4T in sh run looks like: e0/0-0/3, e1/0-1/3, s2/0-2/3, s3/0-3/3.

1xNM-4E and 2xNM-4T in sh run looks like: e0/0-0/3, s1/0-1/3, s2/0-2/3

1xNM-4E and 1xNM-4T in sh run looks like: e0/0-0/3, s1/0-1/3

1xNM-4E and 0xNM-4T in sh run looks like: e0/0-0/3

0xNM-4E and 2xNM-4T in sh run looks like: s0/0-0/3, s1/0-1/3

Last example if Ethernet cards are “0” then Serial will place first slot and will start from 0/x

For switches you should add Ethernet cards only, Serial is “0”.

4x1xNM-4E and 0xNM-4T in sh run looks like: e0/0-0/3, e1/0-1/3, e2/0-2/3, e2/0-2/3

Use “0” in Ethernet card fields are necessary…if you will leave it empty, it will add 8 NM cards to

your device.

Let’s say we want to create lab:

a) R1 e0/0 con to R2 e0/0;

b) R1 s1/0 con to R3 s0/0 (here you can see that R3 has no Ethernet NM at all,

therefore Ethernet field is “0”)

c) R1 e0/1 con to SW1 e0/0

d) R2 e0/1 con to SW1 e0/1

Syntax for this lab will be:

Page 2: How to IOU WEB

Written by UldisD

1:0/0 2:0/0

1:1/0 3:0/0

1:0/2 4:0/0

2:0/1 4:0/1

No press ADD and NEW additional fields will opens:

7. Now You can see section named “Devices”,

a) As first is menu “Apply an Initial Config Pack to all device” – this will be used later

when we create it.

b) Here we will add device NAME, choose correct IOS and add interfaces for each of

device. Continue lab first device is R1, second is R2, third R3 and forth is SW. Fill

these names in the fields.

c) In IOS drop-down menu choose your favorite L3 or L2 IOS for particular device.

d) Fill RAM and NVRAM, I recommend for 15.x series IOS use 256 RAM and 64 for

NVRAM

e) And now very important point, add interfaces for each device. As I wrote in p. 6. If

you will add 1 as Ethernet you get 4 Ethernet in device, if add 2 you have 8 Ethernet.

Same with serials. If you don’t need any of type just say “0”. Do not leave empty, it

will add 8 NMs by default to your device.

f) Continue our test LAB, for R1 we need 2 Eth connections and 1 Ser, fill fields 1 and 1,

for R2 needs eth only, fill 1 and 0, for R3 needs serial only – 0 and 1, SW need 2

Ethernet connections and we have enough with 1 eth and 0 serial.

g) Next two checkboxes, do not check L2 keepalive if you use router-switch

combinations in lab, this works with switch labs only. Next watchdog I check always.

h) Drop-down menu picture you can choose what device icon you want to see, router

or switch, FR switch…

i) Boot delay is advanced option and you can add time in seconds when this device

start to boot after mass start, if R1 boot delay is 20, that’s mean that all devices start

immediately after press start, but R1 will start boot after 20 sec. You can leave this

field empty.

j) Initial config menu will be used later when you get your config pack.

8. Next section is “Pictures” also is useful. You can upload your own drawn pictures in .png

format. I use visio for creating pictures then convert to .png and upload to iou-web. If

you have already uploaded pic, just check box for pic what you want to see for lab.

LAB Configuration PACK setup or initial

1. Press save your new Lab is ready. Now we can start it first time, configure some

initials manually or copy from source (be careful with interface matching).

2. Start all routers and input all configurations what you want to see in pack under

each device. For example, for INE lab, copy/paste preconfigs to each device through

console.

3. Save all configs on console "wr" for all devices. Now you have saved startup-configs

for each, and if you reload devices these will show you what is configured.

4. IMPORTANT: on each device type this command: " copy running-config unix:

" This like a prototype as in real device disk0:. You can look a content of each

device "dir unix:", same as in real hw. Now You have saved config as file under disk

"unix:"

Page 3: How to IOU WEB

Written by UldisD

5. IMPORTANT: no you should use mass action button Copy all unix://running-config

files to database (third button in mass actions, like grey icon with green arrow)

6. Bingo, we got pack for your new lab. Go to tab Laboratories and you will see a

created new config pack with the same name as your LAB.

7. After start devices with your config pack, under dir unix: you will see one more file

like "config-00001". This is file from where device gets startup config now. Number

at the end is device number. For R3 it will be config-00003, etc... PACK is ready!

8. You can go to LAB edit mode (small book on the right side beside trash) on the

section devices menu “Apply an Initial Config Pack to all device” choose your config

pack with same name as LAB. Save.

9. Then in tab “Devices” use mass action button "stop all devices and wipe all

configurations" (like trash). Now your new created lab starts with your config pack.

Advanced IOU WEB LAB tuning to use own picture as active

diagram.

1. Upload your picture in .png format to iou web.

2. Go to LAB edit mode and check box of this picture for lab.

3. Pictures also have edit mode, find your picture which you want to tune as active

workdesk and press edit (small book on right side)

4. You are in the edit mode of PIC. Name of pic you can change or leave as it.

5. You can add additional info for picture, but it is not needed.

6. IMPORTANT: Next field “Map” will be filled automatically and we will correct it little

later.

7. IMPORTANT: Scroll down till you see your picture. NOW ATTENTION! Use your mouse

and click one time on each device in the center. Follow the order click R1 then R2, R3,

R4…SW1…FR. IN THE middle of icon. Do not click anywhere…because each of clicks are

saved in map field! After click on all devices scroll back to field MAP.

8. Now you see the lines with coordinates with each of your click. And if you followed

order you know that firs device is R1…second R2…SW… NOW all is what you need is

correct manually console port for each device. (By default all are 2000).

First line looks like” <area shape='circle' coords='375,254,30'

href='telnet://{{IP}}:2000'>”. Just change console port to 2001 for R1, in the next line

change to 2002. Save.

If your console port are different use numbers what you have for each device.

9. Now you go to LAB edit mode and uncheck Display diagram box, because you have your

own active diagram. Save.

10. Clear cache of your browser!!! Close browser, open it…and your lab with new face

should work…

Cloud connections in IOU WEB.

1. Amazing thing is Clouds in IOU WEB. You can connect your lab to real Internet, GNS3, vm

hosts, Servers or even create terminal access server to access remotely your LAB. IOU

web with VM ware workstation supports up to 8 clouds.

2. If you are using my vm v17 it is tuned to use up to 3 clouds. VM has 4 Ethernet adapters.

First is used to be as web management interface. All other can be used to connect

anything.

3. Let’s create the Real Internet LAB. R1 e0/0 connected to Cloud. Syntax for this lab is:

1:0/0 900:0/0

I use 900, 901, 902 numbers for cloud.

Page 4: How to IOU WEB

Written by UldisD

4. In the field NAME 901 write Cloud or as you wish.

5. Menu IOS leave as it empty

6. IMPORTANT: in the field Ethernet write “eth1”.

For cloud 902 Ethernet field will be “eth2”, for cloud 903 – “eth3”.

In the iou web eth0 is used for web management interface

“eth1” is interface on your VM “Network Adapter 2”

“eth2” is interface on your VM “Network Adapter 3”

“eth3” is interface on your VM “Network Adapter 4”

Those can be bridged mode or NAT. By default in my vm “Network Adapter 2” is NAT.

Bridged mode the best is use for GNS connection or to your real Inside LAN.

7. The Picture menu choose “Cloud” – MANDATORY!!!

8. NAT mode you cloud will give IP from NAT pool of your vm. You can configure ip dhcp

address on Ethernet connected to cloud.

9. Bridged mode is much better. You can connect your cloud and iou routers to your real

LAN. In my case I have VM “Network Adapter 2” bridged with my PC NIC, and router in

IOU getting IP address from my LAN and real Router.

10. Using bridged interfaces you can connect GNS topology, ASA, IDS, and Juniper to iou

web. Tested it works!

11. Don’t forget that Network adapters on vm settings can be unchecked to start on boot. If

you want to use them, check connect on start up, and connect.