Saturday, June 26, 2010

6.4.2 scripts

hostname HQ
no ip domain-lookup
enable password cisco
banner motd #Welcome to Router HQ#
line console 0
password cisco
login
line vty 0
password cisco
login
int fa0/0
ip add 192.168.9.129 255.255.255.224
no shutdown
int s0/0/0
ip add 192.168.9.161 255.255.255.224
no shutdown
clock rate 64000
int s0/0/1
ip add 192.168.9.97 255.255.255.224
no shutdown
clock rate 64000
end
copy running-config startup-config
startup-config
reload
y


hostname BRANCH1
no ip domain-lookup
enable password cisco
banner motd #Welcome to Router BRANCH1#
line console 0
password cisco
login
line vty 0
password cisco
login
int fa0/0
ip add 192.168.9.33 255.255.255.240
no shutdown
int fa0/1
ip add 192.168.9.49 255.255.255.240
no shutdown
int s0/0/0
ip add 192.168.9.66 255.255.255.252
no shutdown
clock rate 64000
end
copy running-config startup-config
startup-config
reload
y


hostname BRANCH2
no ip domain-lookup
enable password cisco
banner motd #Welcome to Router BRANCH2#
line console 0
password cisco
login
line vty 0
password cisco
login
int fa0/1
ip add 192.168.9.1 255.255.255.224
no shutdown
int fa0/0
ip add 192.168.9.17 255.255.255.240
no shutdown
int s0/0/1
ip add 192.168.9.70 255.255.255.252
no shutdown
clock rate 64000
end
copy running-config startup-config
startup-config
reload
y



int s0/0/1
ip add 192.168.9.102 255.255.255.252
no shutdown
clock rate 64000

3 comments:

  1. No man, i think that's not gonna work since the network address given to subnet this activity is 172.16.0.0/16, alnd like 10 routers to configure...

    ReplyDelete
  2. I am looking for 6.4.1.6 script packet tracer ccna 2

    ReplyDelete