search the web

Sunday, April 24, 2016

backup IOS and Configuration files

Using Trivial file transfer protocol to backup our IOS and Configuration files

--------------------------------
Switch and Router
-------------------------------
We have to have a tftp server installed on one of our computers
There is TFTP server by name of PUMPKIN KLEVER
install it on the system.

copy startup-config tftp
!it asks you some questions will copy the file

copy tftp star

dir flash:
!copy the IOS name with .bin extension
copy flash tftp

delete flash:c2950-i6q4l2-mz.121-22.EA1.bin

copying IOS through XMODEM on our switch.

copy xmodem: flash:c2950-i6q4l2-mz.121-22.EA1.bin

Go to Transfer menu click send file and then select xmodem and browse the IOS file and at last click send.


Sunday, April 17, 2016

Configuring Static Routing


Configuring Static Routing

--------------------------------------------
R3
--------------------------------------------
conf t
ip route 192.168.1.0 255.255.255.0 192.168.3.1
ip route 192.168.2.0 255.255.255.0 192.168.3.1
ip route 192.168.4.0 255.255.255.0 192.168.3.1

The above command meant that i want to route to the network 192.168.1.0 which has a subnet mask of 255.255.255.0 through a forwarder address 192.168.3.1

-------------------------------------------------
R1
-------------------------------------------------
conf t
ip route 192.168.2.0 255.255.255.0 192.168.1.1
ip route 192.168.3.0 255.255.255.0 192.168.1.1
ip route 192.168.4.0 255.255.255.0 192.168.1.1

-------------------------------------------------
R2
-------------------------------------------------
conf t
ip route 192.168.1.0 255.255.255.0 192.168.2.1
ip route 192.168.3.0 255.255.255.0 192.168.2.1
ip route 192.168.4.0 255.255.255.0 192.168.2.1



For example we have a router as our gateway to the internet. Now our router can not have static route to the routers of the internet or the networks of the internet

Default Static Route

--------------------------------------------------
R1
-------------------------------------------------
conf t
ip route 0.0.0.0 0.0.0.0 192.168.1.1

to route to any network with any subnet through the gate 192.168.1.1

Monday, April 11, 2016

redistribution

conf t
router ospf 1
redistribute eigrp 10 subnets
redistribute rip subnets
exit

router eigrp 10
redistribute rip metric 128 10 255 255 1500
redistribute ospf 1 metric 128 10 255 255
exit
exit

router rip
redistribute ospf 1 metric 2
redistribute ospf 1 metric 2

Sunday, April 3, 2016

Recovering Cisco Router IOS through TFTP

Recovering Cisco Router IOS through TFTP

The following Information is required.

IP_ADDRESS: The IP address for this unit
IP_SUBNET_MASK: The subnet mask for this unit
DEFAULT_GATEWAY: The default gateway for this unit
TFTP_SERVER: The IP address of the server to fetch from
TFTP_FILE: The filename to fetch

IP_ADDRESS=192.168.0.1
ASSIGNS IP ADDRESS TO THE ETHERNET INTERFACE OF THE ROUTER
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=192.168.0.1
TFTP_SERVER=192.168.0.112
TFTP_FILE=c2600-J1s3-Mz-123-6.bin
tftpdnld