Facility A - LAN architecture (lab)
This LAN architecture was designed for an office and production facility.
In the first step, I set VLANs for the switches. The easier way is to set VLANs on the main switch and use VTP (Vlan Trunking Protocol) to re-distribute them to the rest of the switches. There are some people in networking sceptically thinking about VTP protocol. Personally, I think that VTP properly used is a great benefit, so we will use it in the this case.
First, (as mentioned above) I set required Vlans on the core switch.
Picture 1 - show brief vlan command with displayed available vlans on switch Core.
Switch Core 1 - Adding vlans:
Core(config)#vlan 10
Core(config-vlan)#name Engineering
Core(config-vlan)#vlan 20
Core(config-vlan)#name Finance
Core(config-vlan)#vlan 30
Core(config-vlan)#name Production
Core(config-vlan)#vlan 40
Core(config-vlan)#name Logistics
Core(config-vlan)#vlan 100
Core(config-vlan)#name Public
Core(config-vlan)#vlan 101
Core(config-vlan)#name Security_cameras
Core(config-vlan)#vlan 102
Core(config-vlan)#name Production_printers
Core(config-vlan)#vlan 103
Core(config-vlan)#name Office_printers
Core(config-vlan)#
Core#
We have the required Vlans, now it is time to set up VTP (Vlan Trunking Protocol) on all switches. VTP will copy the vlans from the server switch to the clients. To ensure that the rest switches will always copy vlans setup from the Core switch, I made Core switch a "Server" and the rest are "Clients". Abviously, all
Core(config)#int fa0/2
Core(config-if)#no switchport
Core(config-if)# no ip address
Core(config-if)#channel-group 10 mode on
Core(config-if)#int fa0/1
Core(config-if)#no switchport
Core(config-if)#no ip address
Core(config-if)#channel-g
Core(config-if)#channel-group 10 mode on
Core(config-if)#exit
Core(config)#int Port-Channel 10
Core(config-if)#ip address 10.1.1.1 255.255.255.0
Core(config-if)#no shut
Core(config-if)#end
Distribution-1(config)#int fa0/2
Distribution-1(config-if)#no switch
Distribution-1(config-if)#no switchport
Distribution-1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up
Distribution-1(config-if)#no ip add
Distribution-1(config-if)#no ip address
Distribution-1(config-if)#channel-gro
Distribution-1(config-if)#channel-group 11 mode on
Distribution-1(config-if)#
Creating a port-channel interface Port-channel 11
%LINK-5-CHANGED: Interface Port-channel11, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel11, changed state to up
Distribution-1(config-if)#exit
Distribution-1(config)#int fa0/1
Distribution-1(config-if)#no switch
Distribution-1(config-if)#no switchport
Distribution-1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Distribution-1(config-if)#no ip add
Distribution-1(config-if)#no ip address
Distribution-1(config-if)#channel-gro
Distribution-1(config-if)#channel-group 11 mode on
Distribution-1(config-if)#exit
Distribution-1(config)#ip routing
Distribution-1(config)#channel-gro
Distribution-1(config)#int Port-channe
Distribution-1(config)#int Port-channel 11
Distribution-1(config-if)#ip add
Distribution-1(config-if)#ip address 10.1.1.2 255.255.255.0
Distribution-1(config-if)#no shut
Distribution-1(config-if)#