You are on page 1of 29

Configuring VLANs and Trunks

Week #6
Ch3. Wayne Lewis

Routing and Switching CNET 311
Centennial College

Ali Nezhad

Outline
Configure a VLAN Manage VLANs Configure a Trunk Troubleshoot VLANs and Trunks

Ali Nezhad CNET 311 Routing and Switching

2

Configuring a VLAN Ali Nezhad CNET 311 Routing and Switching 3 .

Configure a Static VLAN Two Methods Database Config Mode Being deprecated. Global Config Mode Ali Nezhad CNET 311 Routing and Switching 4 .

Example Ali Nezhad CNET 311 Routing and Switching 5 .

Display VLANs Ali Nezhad CNET 311 Routing and Switching 6 .

Static VLAN Assignment A static access port can belong to only one VLAN. To reassign this interface to VLAN1: Ali Nezhad CNET 311 Routing and Switching 7 .

Managing VLANs Ali Nezhad CNET 311 Routing and Switching 8 .

show vlan command Ali Nezhad CNET 311 Routing and Switching 9 .

show interfaces command Ali Nezhad CNET 311 Routing and Switching 10 .

Managing VLANs Example#1 Ali Nezhad CNET 311 Routing and Switching 11 .

Managing VLANs Example#2 Ali Nezhad CNET 311 Routing and Switching 12 .

Ali Nezhad CNET 311 Routing and Switching 13 .Managing VLANs Example#3 VLAN is a virtual interface.

assign member ports to another VLAN. Deleting all non-default VLANs: # del flash:vlan.Other Commands Counting all VLANs # show vlan summary Deleting a VLAN # no vlan 20 First.dat # reload Ali Nezhad CNET 311 Routing and Switching 14 .

Configuring Trunks Ali Nezhad CNET 311 Routing and Switching 15 .

It enters into a DTP negotiation to convert the link into a trunk.switchport command Issue in the interface context Interface goes to a permanent trunking mode. Ali Nezhad CNET 311 Routing and Switching 16 . Even if the opposite interface disagrees.

switchport command Ali Nezhad CNET 311 Routing and Switching 17 .

Removing a Trunk Ali Nezhad CNET 311 Routing and Switching 18 .

Troubleshooting VLANs Ali Nezhad CNET 311 Routing and Switching 19 .

… Allowed VLANs on Trunks Ali Nezhad Routing and Switching CNET 311 20 . 2. 4. Native VLAN Mismatch Must be the same on both trunk ends. Trunk Mode Mismatch One end ON. the other OFF VLANs and IP subnets Incorrect IP addressing info. 3. On PCs.Common Issues 1.

Example#1 Ali Nezhad CNET 311 Routing and Switching 21 .

Example#1. Diagnosis & Solution Fix: Ali Nezhad CNET 311 Routing and Switching 22 .

Example#2 Ali Nezhad CNET 311 Routing and Switching 23 .

Diagnosis Ali Nezhad CNET 311 Routing and Switching 24 .Example#2.

Solution Ali Nezhad CNET 311 Routing and Switching 25 .Example#2.

Example#3 Ali Nezhad CNET 311 Routing and Switching 26 .

Example#3. Diagnosis Ali Nezhad CNET 311 Routing and Switching 27 .

Solution Ali Nezhad CNET 311 Routing and Switching 28 .Example#3.

Questions? Ali Nezhad CNET 311 Routing and Switching 29 .