Saturday, June 26, 2010

8.4.2 scripts

hostname R1
no ip domain-lookup
banner motd #Welcome to Router R1#
line console 0
password cisco
login
line vty 0
password cisco
login
int loopback 0
ip add 192.168.1.1 255.255.255.0
no shutdown
int fa0/0
ip add 172.16.1.1 255.255.255.224
no shutdown
int fa0/1
ip add 172.16.3.1 255.255.255.128
no shutdown
int s0/0/0
ip add 10.10.10.5 255.255.255.252
no shutdown
clock rate 64000
int s0/0/1
ip add 10.10.10.9 255.255.255.252
no shutdown
clock rate 64000
router rip
version 2
no auto-summary
network 10.10.10.0
network 172.16.0.0
network 192.168.1.0
ip route 0.0.0.0 0.0.0.0 loopback 0
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 s0/0/0
ip add 10.10.10.1 255.255.255.252
no shutdown
clock rate 64000
int fa0/0
ip add 172.16.2.1 255.255.255.192
no shutdown
int fa0/1
ip add 172.16.3.193 255.255.255.248
no shutdown
router rip
version 2
no auto-summary
network 10.10.10.0
network 172.16.0.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 s0/0/0
ip add 10.10.10.6 255.255.255.252
no shutdown
clock rate 64000
int s0/0/1
ip add 10.10.10.2 255.255.255.252
no shutdown
clock rate 64000
int fa0/0
ip add 172.16.3.129 255.255.255.192
no shutdown
int fa0/1
ip add 172.16.1.193 255.255.255.192
no shutdown
router rip
version 2
no auto-summary
network 10.10.10.0
network 172.16.0.0
end
copy running-config startup-config
startup-config
reload
y



hostname R4
no ip domain-lookup
enable password cisco
banner motd #Welcome to Router R4#
line console 0
password cisco
login
line vty 0
password cisco
login
int s0/0/0
ip add 10.10.10.10 255.255.255.252
no shutdown
clock rate 64000
int s0/0/1
ip add 10.10.10.13 255.255.255.252
no shutdown
clock rate 64000
int fa0/0
ip add 172.16.4.1 255.255.255.224
no shutdown
int fa0/1
ip add 172.16.2.65 255.255.255.224
no shutdown
router rip
version 2
no auto-summary
network 10.10.10.0
network 172.16.0.0
end
copy running-config startup-config
startup-config
reload
y



hostname R5
no ip domain-lookup
enable password cisco
banner motd #Welcome to Router R5#
line console 0
password cisco
login
line vty 0
password cisco
login
int s0/0/0
ip add 10.10.10.14 255.255.255.252
no shutdown
clock rate 64000
int fa0/0
ip add 172.16.4.129 255.255.255.128
no shutdown
int fa0/1
ip add 172.16.1.33 255.255.255.240
no shutdown
router rip
version 2
no auto-summary
network 10.10.10.0
network 172.16.0.0
end
copy running-config startup-config
startup-config
reload
y

No comments:

Post a Comment

Post a Comment