What is IOU? IOU stands for IOS on Unix, special versions of IOS, which can be run as x86 services. These IOS versions are very light weight, they need less memory and CPU than GNS3 (or dynamips).
I had some problems during the installation of Cisco IOU, so I will show you how to do that easily. We will use IOU with a web interface (iou-web).
1. First of all, you will need a 32bit version of debian (or ubuntu, gentoo, whatever linux). If they are 32bit systems, your life will be better, trust me.
2. Then download the iou-web interface files from here. Download the latest .deb file and install it:
sudo dpkg -i <iou-web_version>
If it needs some dependencies, type:
sudo apt-get install -f
sudo dpkg -i <iou-web_version>
If everything is OK, the iou-web files are installed in /opt/iou.
So now you have the web interface working. Lets install the IOU! (For the IOU files, please use google!)
3. Install 'libcrypto' library:
sudo apt-get install libssl1.0.0
sudo apt-get install libssl0.9.8
4. You will need libcrypto.so.4, but it is not installable, so you will hack it a little: create a symlink:
sudo ln -s /lib/libcrypto.so.1.0.1e /usr/lib/libcrypto.so.4
5. You will need to install the license, you will find some information in the downloads.
6. Navigate to the web interface in your browser and choose 'Manage' menu, then 'manage IOSes'. Here you van upload the .bin files. After uploading them, you can create your own lab in the 'Laboratories' menu with the 'Add new lab' button.
References:
http://www.routereflector.com/cisco/cisco-iou-web-interface/
http://ciscoiseasy.blogspot.hu/2014/07/iou-forbidden-fruit.html
My blog about several parts of IT, mostly about Linux and networking stuff.
Showing posts with label ios. Show all posts
Showing posts with label ios. Show all posts
Wednesday, February 11, 2015
Wednesday, November 5, 2014
Point-to-Point Frame Relay with Cisco router as Frame Relay Switch
The topology used:
FRSW is the Frame Relay switch, which is connected to London, Budapest and Baltimore.
PVCs:
P2P 102 London Baltimore
P2P 201 Baltimore London
P2P 103 London Budapest
P2P 301 Budapest London
Step1
In this step we will enable Frame Relay switching on router FRSW, then we create the appropriate DLCIs.FRSW(config)#frame-relay switching
On the serial interface 1/0, 1/1, 1/3 configure frame-relay:
FRSW(config)#int serial 1/0
FRSW(config-if)#encapsulation frame-relay
FRSW(config-if)#frame-relay lmi-type cisco
FRSW(config-if)#clock rate 64000
FRSW(config-if)#frame-relay intf-type dce
FRSW(config-if)#no shutdown
FRSW(config)#int serial 1/1
FRSW(config-if)#encapsulation frame-relay
FRSW(config-if)#frame-relay lmi-type cisco
FRSW(config-if)#clock rate 64000
FRSW(config-if)#frame-relay intf-type dce
FRSW(config-if)#no shutdown
FRSW(config)#int serial 1/3
FRSW(config-if)#encapsulation frame-relay
FRSW(config-if)#frame-relay lmi-type cisco
FRSW(config-if)#clock rate 64000
FRSW(config-if)#frame-relay intf-type dce
FRSW(config-if)#no shutdown
Then create the routes on each interfaces, the command is:
frame-relay route INDLCI interface OUTINTERFACE OUTDLCI
so..
FRSW(config)#int serial 1/0
FRSW(config-if)#frame-relay route 103 interface s1/1 301
FRSW(config-if)#frame-relay route 102 interface s1/3 201
FRSW(config)#int serial 1/1
FRSW(config-if)#frame-relay route 301 interface serial 1/0 103
FRSW(config)#int ser1/3
FRSW(config-if)#frame-relay route 201 interface serial 1/0 102
Step2: Configure Nodes
London:
London(config)#int ser1/0London(config-if)#encapsulation frame-relay
London(config-if)#no sh
London(config)#int ser1/0.103 point-to-point
London(config-subif)#ip addr 192.168.3.1 255.255.255.0
London(config-subif)#frame-relay interface-dlci 103
London(config-subif)#no sh
London(config)#int ser1/0.102 point-to-point
London(config-subif)#ip addr 192.168.1.1 255.255.255.0
London(config-subif)#frame-relay interface-dlci 102
London(config-subif)#no sh
Budapest:
Budapest(config)#int ser1/0Budapest(config-if)#encapsulation frame-relay
Budapest(config-if)#no sh
Budapest(config)#int ser1/0.301 point-to-point
Budapest(config-subif)#ip addr 192.168.3.2 255.255.255.0
Budapest(config-subif)#frame-relay interface-dlci 301
Budapest(config-subif)#no sh
Baltimore
Baltimore(config)#int ser1/0Baltimore(config-if)#encapsulation frame-relay
Baltimore(config-if)#no sh
Baltimore(config)#int ser1/0.201 point-to-point
Baltimore(config-subif)#ip addr 192.168.1.2 255.255.255.0
Baltimore(config-subif)#frame-relay interface-dlci 201
Baltimore(config-subif)#no sh
Step3: Test
Ping London from Baltimore:Baltimore#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/6/8 ms
Ping London from Budapest:
Budapest#ping 192.168.3.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
Step4: Set up routing
Budapest:
Budapest(config)#ip route 0.0.0.0 0.0.0.0 192.168.3.1Baltimore:
Baltimore(config)#ip route 0.0.0.0 0.0.0.0 192.168.2.1
Címkék:
ccna,
ccnp,
cisco,
dlci,
frame-relay,
ios,
networking
Wednesday, April 10, 2013
Cisco router Telnet Debug
On most of Cisco routers, debug informations via telnet is not enabled, so you will not see any debug information when connected via telnet.
To enable it, you need to enable virtual terminal first:
Router# terminal monitor
Next, you have to enable debugging on virtual monitor:
In privileged mode:
Router# undebug all
To enable it, you need to enable virtual terminal first:
Router# terminal monitor
Next, you have to enable debugging on virtual monitor:
In privileged mode:
Router# undebug all
In configuration mode:
Router(config)# logging monitor debugging
Router(config)# logging on
To disable it:
In privileged mode:
Router# undebug all
Router# terminal no monitor
Router# undebug all
Router# terminal no monitor
In configuration mode:
Router(config)# no logging monitor
Hely:
Budapest, Hungary
Subscribe to:
Posts (Atom)
