Saturday, June 26, 2010

5.6.1 Script

hostname R1
no ip domain-lookup
enable password cisco
banner motd #Welcome to Router R1#
line console 0
password cisco
login
line vty 0
password cisco
login
int fa0/0
ip add 192.168.1.1 255.255.255.0
no shutdown
int s0/0/0
ip add 192.168.2.1 255.255.255.0
no shutdown
clock rate 64000
router rip
network 192.168.1.1
network 192.168.2.1
end
copy running-config startup-config
startup-config
reload
y




hostname R2
no ip domain-lookup
enable password cisco
banner motd #Welcome to Router R2#
line console 0
password cisco
login
line vty 0
password cisco
login
int fa0/0
ip add 192.168.3.1 255.255.255.0
no shutdown
int s0/0/0
ip add 192.168.2.2 255.255.255.0
no shutdown
clock rate 64000
int s0/0/1
ip add 192.168.4.2 255.255.255.0
no shutdown
clock rate 64000
router rip
network 192.168.3.0
network 192.168.2.0
network 192.168.4.0
end
copy running-config startup-config
startup-config
reload
y



hostname R3
no ip domain-lookup
enable password cisco
banner motd #Welcome to Router R3#
line console 0
password cisco
login
line vty 0
password cisco
login
int fa0/0
ip add 192.168.5.1 255.255.255.0
no shutdown
int s0/0/1
ip add 192.168.4.1 255.255.255.0
no shutdown
clock rate 64000
router rip
network 192.168.5.0
network 192.168.4.0
end
copy running-config startup-config
startup-config
reload
y

1 comment:

  1. I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post.

    Bry
    www.gofastek.com

    ReplyDelete