0% found this document useful (0 votes)
18 views10 pages

Conf 3

The document contains configuration files for routers, switches, and their interconnections to setup a network with VLANs 10, 20, 30, 40, 50, 60, 99. Each router is connected to a switch and configured with VLAN interfaces, DHCP pools, and static routes. The switches are configured with VLANs, trunk ports, and management IP addresses.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views10 pages

Conf 3

The document contains configuration files for routers, switches, and their interconnections to setup a network with VLANs 10, 20, 30, 40, 50, 60, 99. Each router is connected to a switch and configured with VLAN interfaces, DHCP pools, and static routes. The switches are configured with VLANs, trunk ports, and management IP addresses.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 10

WEST ROUTER

en
config t
hostname WEST
int g0/0
no shut
exit
int se0/0/0
no shut
ip add <ip address >
exit
int se0/0/1
no shut
ip add <ip address >exit
int g0/0.10
encap dot1q 10
ip add <ip address >int g0/0.20
encap dot1q 20
ip add <ip address >int g0/0.99
encap dot1q 99 native
ip ad <ip address >
exit
ip dhcp pool DHCP_VLAN10
network <ip address > <Subnet Mask >
default-router <ip address >
dns-server 4.4.4.4
ip dhcp excluded-address <ip address > <ip address >
ip dhcp pool DHCP_VLAN20
network <ip address > <Subnet Mask >
default-router <ip address >
dns-server 4.4.4.4
ip dhcp excluded-address <ip address > <ip address >
end
copy run start

-----------------------------------------

NORTH ROUTER

en
config t
hostname NORTH
int loopback1
ip ad <ip address > <Subnet Mask >
description INTERNET CONNECTION
int g0/0
no shut
exit
int se0/0/0
no shut
ip ad <ip address > <Subnet Mask >
exit
int se0/0/1
no shut
ip ad <ip address > <Subnet Mask >
exit
int g0/0.30
encap dot1q 30
ip ad <ip address > <Subnet Mask >
int g0/0.40
encap dot1q 40
ip ad <ip address > <Subnet Mask >
int g0/0.99
encap dot1q 99 native
ip ad <ip address > <Subnet Mask >
exit
ip dhcp pool DHCP_VLAN30
network <ip address > <Subnet Mask >
default-router <ip address >
dns-server 4.4.4.4
ip dhcp excluded-address <ip address > <ip address >
ip dhcp pool DHCP_VLAN40
network <ip address > <Subnet Mask >
default-router <ip address >
dns-server 4.4.4.4
ip dhcp excluded-address <ip address > <ip address >
end
copy run start

-----------------------------------------

EAST ROUTER

en
config t
hostname EAST
int g0/0
no shut
exit
int se0/0/0
no shut
ip ad <ip address > <subnet mask>
exit
int se0/0/1
no shut
ip ad <ip address > <subnet mask>exit
int g0/0.50
encap dot1q 50
ip ad <ip address > <subnet mask>int g0/0.60
encap dot1q 60
ip ad <ip address > <subnet mask>int g0/0.99
encap dot1q 99 native
ip ad <ip address > <subnet mask>
exit
ip dhcp pool DHCP_VLAN50
network <ip address > <subnet mask>
default-router <ip address >
dns-server 4.4.4.4
ip dhcp excluded-address <ip address > <ip address >
ip dhcp pool DHCP_VLAN60
network <ip address > <subnet mask>default-router <ip address >
dns-server 4.4.4.4
ip dhcp excluded-address <ip address > <ip address >
end
copy run start

-----------------------------------------
WEST SWITCH

en
config t
hostname S1
vlan 10
name PC1
vlan 20
name PC2
vlan 99
name NATIVE
exit
int range fa0/1-12
sw mo ac
sw ac vlan 10
exit
int range fa0/13-24
sw mo ac
sw ac vlan 20
exit
int g0/2
sw mo ac
sw ac vlan 99
exit
int g0/1
sw mo trunk
sw trunk native vlan 99
sw trunk allowed vlan 10,20,99
no shut
end
copy run start

-----------------------------------------

NORTH SWITCH

en
config t
hostname S2
vlan 30
name PC3
vlan 40
name PC4
vlan 99
name NATIVE
exit
int range fa0/1-12
sw mo ac
sw ac vlan 30
exit
int range fa0/13-24
sw mo ac
sw ac vlan 40
exit
int g0/2
sw mo ac
sw ac vlan 99
exit
int g0/1
sw mo trunk
sw trunk native vlan 99
sw trunk allowed vlan 30,40,99
no shut
end
copy run start

-----------------------------------------

EAST SWITCH

en
config t
hostname S3
vlan 50
name PC5
vlan 60
name PC6
vlan 99
name NATIVE
exit
int range fa0/1-12
sw mo ac
sw ac vlan 50
exit
int range fa0/13-24
sw mo ac
sw ac vlan 60
exit
int g0/2
sw mo ac
sw ac vlan 99
exit
int g0/1
sw mo trunk
sw trunk native vlan 99
sw trunk allowed vlan 50,60,99
no shut
end
copy run start

-----------------------------------------

WEST SWITCH

config t
int vlan 99
ip ad 180.15.10.2 255.255.255.252
exit
int vlan 1
no ip ad
exit
ip default-gateway 180.15.10.1
end
copy run start

-----------------------------------------
NORTH SWITCH

config t
int vlan 99
ip ad 180.15.11.2 255.255.255.252
exit
int vlan 1
no ip ad
exit
ip default-gateway 180.15.11.1
end
copy run start

-----------------------------------------

EAST SWITCH

en
config t
int vlan 99
ip ad 180.15.12.2 255.255.255.252
exit
int vlan 1
no ip ad
exit
ip default-gateway 180.15.12.1
end
copy run start

-----------------------------------------

WEST ROUTER

en
config t
banner motd #"Warning: Unauthorized Access is Prohibited"#
ip domain-name fcpc.com.ph
enable secret cisco
no ip domain-lookup
service password-encryption
line con 0
pass cisco
login
exec-timeout 5 0
logging synchronous
exit
line aux 0
pass cisco
exec-timeout 5 0
logging synchronous
exit
line vty 0 4
pass cisco
exec-timeout 5 0
logging synchronous
exit
username BSIT secret cisco
crypto key generate rsa
2048
line vty 0 15
login local
transport input all
end
copy run start

-----------------------------------------

NORTH ROUTER

en
config t
banner motd #"Warning: Unauthorized Access is Prohibited"#
ip domain-name fcpc.com.ph
enable secret cisco
no ip domain-lookup
service password-encryption
line con 0
pass cisco
login
exec-timeout 5 0
logging synchronous
exit
line aux 0
pass cisco
exec-timeout 5 0
logging synchronous
exit
line vty 0 4
pass cisco
exec-timeout 5 0
logging synchronous
exit
username BSIT secret cisco
crypto key generate rsa
2048
line vty 0 15
login local
transport input all
end
copy run start

-----------------------------------------

EAST ROUTER

en
config t
banner motd #"Warning: Unauthorized Access is Prohibited"#
ip domain-name fcpc.com.ph
enable secret cisco
no ip domain-lookup
service password-encryption
line con 0
login
pass cisco
exec-timeout 5 0
logging synchronous
exit
line aux 0
pass cisco
exec-timeout 5 0
logging synchronous
exit
line vty 0 4
pass cisco
exec-timeout 5 0
logging synchronous
exit
username BSIT secret cisco
crypto key generate rsa
2048
line vty 0 15
login local
transport input all
end
copy run start

-----------------------------------------

WEST SWITCH

en
config t
banner motd #"Warning: Authorized Access Only"#
ip domain-name fcpc.com.ph
enable secret cisco
no ip domain-lookup
service password-encryption
line con 0
pass cisco
login
exec-timeout 5 0
logging synchronous
exit
line vty 0 4
pass cisco
exec-timeout 5 0
logging synchronous
exit
username BSIT secret cisco
crypto key generate rsa
2048
line vty 0 15
login local
transport input all
end
copy run start

-----------------------------------------

NORTH SWITCH

en
config t
banner motd #"Warning: Authorized Access Only"#
ip domain-name fcpc.com.ph
enable secret cisco
no ip domain-lookup
service password-encryption
line con 0
pass cisco
login
exec-timeout 5 0
logging synchronous
exit
line vty 0 4
pass cisco
exec-timeout 5 0
logging synchronous
exit
username BSIT secret cisco
crypto key generate rsa
2048
line vty 0 15
login local
transport input all
end
copy run start

-----------------------------------------

EAST SWITCH

en
config t
banner motd #"Warning: Authorized Access Only"#
ip domain-name fcpc.com.ph
enable secret cisco
no ip domain-lookup
service password-encryption
line con 0
pass cisco
login
exec-timeout 5 0
logging synchronous
exit
line vty 0 4
pass cisco
exec-timeout 5 0
logging synchronous
exit
username BSIT secret cisco
crypto key generate rsa
2048
line vty 0 15
login local
transport input all
end
copy run start

-----------------------------------------

WEST ROUTER
config t
ip route <ip address > <subnet mask> <next hop>
ip route <ip address > <subnet mask> <next hopip route <ip address > <subnet mask>
<next hopip route <ip address > <subnet mask> <next hopip route <ip address >
<subnet mask> <next hop>ip route <ip address > <subnet mask> <next hop
ip route <ip address > <subnet mask> <next hop
ip route <ip address > <subnet mask> <next hopip route <ip address > <subnet mask>
<next hopip route <ip address > <subnet mask> <next hopip route <ip address >
<subnet mask> <next hopip route <ip address > <subnet mask> <next hop
ip route <internet ip address > <subnet mask> <next hopip route <internet ip
address > <subnet mask> <next hopip route <ip address > <subnet mask> <next hopip
route <ip address > <subnet mask> <next hopend
copy run start

-----------------------------------------

NORTH ROUTER

config t
ip route 180.15.5.128 255.255.255.192 180.15.5.241
ip route 180.15.5.128 255.255.255.192 180.15.5.246 2
ip route 180.15.5.224 255.255.255.240 180.15.5.241
ip route 180.15.5.224 255.255.255.240 180.15.5.246 2
ip route 180.15.10.0 255.255.255.252 180.15.5.241
ip route 180.15.10.0 255.255.255.252 180.15.5.246 2
ip route 180.15.5.192 255.255.255.224 180.15.5.246
ip route 180.15.5.192 255.255.255.224 180.15.5.241 2
ip route 180.15.4.0 255.255.254.0 180.15.5.246
ip route 180.15.4.0 255.255.254.0 180.15.5.241 2
ip route 180.15.12.0 255.255.255.252 180.15.5.246
ip route 180.15.12.0 255.255.255.252 180.15.5.241 2
ip route 180.15.5.248 255.255.255.252 180.15.5.246
ip route 180.15.5.248 255.255.255.252 180.15.5.241 2
ip route 180.15.12.0 255.255.255.252 180.15.5.249
ip route 0.0.0.0 0.0.0.0 lo1
end
copy run start

-----------------------------------------

EAST ROUTER

config t
ip route 180.15.5.128 255.255.255.192 180.15.5.250
ip route 180.15.5.128 255.255.255.192 180.15.5.245 2
ip route 180.15.5.224 255.255.255.240 180.15.5.250
ip route 180.15.5.224 255.255.255.240 180.15.5.245 2
ip route 180.15.5.0 255.255.255.128 180.15.5.245
ip route 180.15.5.0 255.255.255.128 180.15.5.250 2
ip route 180.15.2.0 255.255.254.0 180.15.5.245
ip route 180.15.2.0 255.255.254.0 180.15.5.250 2
ip route 180.15.10.0 255.255.255.252 180.15.5.250
ip route 180.15.10.0 255.255.255.252 180.15.5.245 2
ip route 180.15.11.0 255.255.255.252 180.15.5.245
ip route 180.15.11.0 255.255.255.252 180.15.5.250 2
ip route 180.15.5.240 255.255.255.252 180.15.5.250
ip route 180.15.5.240 255.255.255.252 180.15.5.245 2
ip route 11.0.0.1 255.255.255.255 180.15.5.245
ip route 11.0.0.1 255.255.255.255 180.15.5.250 2
end
copy run start

You might also like