SOURCECODEBD.NET

Live Experience

1. IMPLEMENTING VLAN’s

HOW TO IMPLEMENTING VLAN’s
 
SW1  
  
Ports        Assigned VLANs    PC   
FA 0/1       VLAN 2            PC 1 (10.1.1.2)  
FA 0/2       VLAN 3            PC 2 (20.1.1.2)  
FA 0/3       VLAN 2            PC 3 (10.1.1.3)  
FA 0/4       VLAN 3            PC 4 (20.1.1.3)  
  
Task 1  
  
Create VLAN 2 and VLAN 3 and assign name SALES and FINANCE to each VLAN.  
Configure ports fa 0/2 –fa 0/4 as access-ports and assign VLAN 2 to ports fa 0/1 and  
fa0/3. Assign VLAN 3 to ports fa 0/2 and fa 0/4. Configure VLANs using the database  
mode.  
 
 
Vlan database  
Vlan 2  
vlan 2 name sales  
  
Vlan 3  
Vlan 3 name finance  
  
Int fa0/1  
Switchport mode access  
Switchport access vlan2  
  
Int fa0/2  
Switchport mode access  
Switchport access vlan3  
  
Int fa0/3  
Switchport mode access  
Switchport access vlan2  
  
Int fa0/4  
Switchport mode access  
Switchport access vlan3  
  
  
Verification:  
  
SW1#show interfaces fastEthernet 0/1 switchport
SW1#show vlan brief
 
 
Task 2  
  
Create VLAN 2 and VLAN 3 and assign name SALES and FINANCE to each VLAN.  
Configure ports fa 0/2 –fa 0/4 as access-ports and assign VLAN 2 to ports fa 0/1 and  
fa0/3. Assign VLAN 3 to ports fa 0/2 and fa 0/4. Configure VLANs using the global  
configuration mode.  
 
 
SW1  
  
Vlan 2  
name sales  
  
Vlan 3  
name finance  
  
Int fa0/1  
Switchport mode access  
Switchport access vlan2  
  
Int fa0/2  
Switchport mode access  
Switchport access vlan3  
  
Int fa0/3  
Switchport mode access  
Switchport access vlan2  
  
Int fa0/4  
Switchport mode access  
Switchport access vlan3
You are here: Home / Switching / HOW TO IMPLEMENTING VLAN’s