Project Vlan
Project Vlan
Project Vlan
PROJECT SCENARIO:
SWITCH 1 CONFIGURATION
Switch>enable
Switch(config-if)#exit
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up
SWITCH 2 CONFIGURATION
Switch>enable
Switch(config-if)#exit Switch(config)# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up
SWITCH 3 CONFIGURATION Switch>enable STEP 1:Create Vlans Switch#vlan database % Warning: It is recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode. Switch(vlan)#vlan 10 name student VLAN 10 added: Name: student Switch(vlan)#vl Switch(vlan)#vlan 20 n Switch(vlan)#vlan 20 name teacher VLAN 20 added: Name: teacher Switch(vlan)#exit APPLY completed. Exiting.... Switch#conf Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. STEP 2:Assign Switchport on fastethernet interface ports Switch(config)#interface fastEthernet 0/1 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit Switch(config)#interface fastEthernet 0/2 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 20 Switch(config-if)#exit Switch(config)# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up
VLANS VLAN 10:-PC0,PC2,PC4 THESE PCS ARE PING TOGETHER VLAN 20:-PC1,PC3,PC5 THESE PCS ARE PING TOGETHER