hostname HQ
no ip domain-lookup
banner motd #Welcome to Router HQ#
line console 0
login
line vty 0
password cisco
login
int fa0/0
ip add 192.168.1.1 255.255.255.224
no shutdown
int s0/0
ip add 192.168.1.33 255.255.255.224
clock rate 64000
no shutdown
int s0/1
ip add 192.168.1.65 255.255.255.224
no shutdown
end
copy running-config startup-config
startup-config
reload
y
hostname Branch 1
no ip domain-lookup
banner motd #Welcome to Router Branch 1#
line console 0
login
line vty 0
password cisco
login
int fa0/0
ip add 192.168.1.97 255.255.255.224
no shutdown
int fa0/1
ip add 192.168.1.129 255.255.255.224
no shutdown
int s0/0
ip add 192.168.1.62 255.255.255.224
clock rate 64000
no shutdown
int s0/1
ip add 192.168.1.254 255.255.255.224
no shutdown
end
copy running-config startup-config
startup-config
reload
y
hostname Branch 2
no ip domain-lookup
banner motd #Welcome to Router Branch 2#
line console 0
login
line vty 0
password cisco
login
int fa0/0
ip add 192.168.1.161 255.255.255.224
no shutdown
int fa0/1
ip add 192.168.1.193 255.255.255.224
no shutdown
int s0/0
ip add 192.168.1.225 255.255.255.224
clock rate 64000
no shutdown
int s0/1
ip add 192.168.1.126 255.255.255.224
clock rate 64000
no shutdown
end
copy running-config startup-config
startup-config
reload
y
No comments:
Post a Comment