SOURCECODEBD.NET

Live Experience

2. CONFIGURE TRUNKING

HOW TO CONFIGURE TRUNKING
 
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/11 Configured as trunk  
  
SW2  
  
Ports                                   Assigned VLANs   PC   
FA 0/1                                 VLAN 2           PC 3 (10.1.1.3)  
FA 0/2                                 VLAN 3           PC 4 (20.1.1.3)  
FA 0/11 Configured as trunk 
 
 
Task 1  
  
Create VLANs according to the scenarioand assign to their respective access-ports.  
Configure ISL trunk between SW1 (fa0/11) and SW 2 (fa0/11)  
  
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/11  
shutdown  
Switchport trunk encapsulation isl  
Switchport mode trunk  
No shutdown 
 
 
SW2  
  
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/11  
shutdown  
Switchport trunk encapsulation isl  
Switchport mode trunk  
No shutdown  
  
  
Verification :  
  
SW1#show interfaces trunk
SW1#show interfaces fastEthernet 0/11 switchport
 
 
Task 2  
  
Create VLANs according to the scenarioand assign to their respective access-ports.  
Configure 802.1q (dot1q)  trunk between SW1 (fa0/11) and SW 2 (fa0/11)
 
SW1  
  
Int fa0/11  
shutdown  
Switchport trunk encapsulation dot1q  
Switchport mode trunk  
No shutdown  
  
  
SW2  
  
Int fa0/11  
shutdown  
Switchport trunk encapsulation dot1q  
Switchport mode trunk  
No shutdown  
  
  
Verification :  
  
SW1#show interfaces trunk
SW1#show interfaces fa0/11 switchport
 
The output displays mode as trunk and encapsulation used is dot1q, and the default native  
vlan is vlan1 which is used to carry the untagged frames across.  
  
Verifying connectivity between PC 1 and PC 3 (i.e PC’s  in the same vlan)
You are here: Home / Switching / HOW TO CONFIGURE TRUNKING