6, ch3- vlan and trunk configuration
DESCRIPTION
trunk configurationTRANSCRIPT
![Page 1: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/1.jpg)
Ali Nezhad
Routing and Switching
CNET 311
Centennial CollegeCentennial College
Configuring VLANs and Trunks
Week #6Ch3. Wayne Lewis
![Page 2: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/2.jpg)
2
Ali Nezhad
Routing and SwitchingCNET 311
Outline
� Configure a VLAN
� Manage VLANs
� Configure a Trunk
� Troubleshoot VLANs and Trunks
![Page 3: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/3.jpg)
3
Ali Nezhad
Routing and SwitchingCNET 311
Configuring a VLAN
![Page 4: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/4.jpg)
4
Ali Nezhad
Routing and SwitchingCNET 311
Configure a Static VLAN
� Two Methods
� Database Config Mode
� Being deprecated.
� Global Config Mode
![Page 5: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/5.jpg)
5
Ali Nezhad
Routing and SwitchingCNET 311
Example
![Page 6: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/6.jpg)
6
Ali Nezhad
Routing and SwitchingCNET 311
Display VLANs
![Page 7: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/7.jpg)
7
Ali Nezhad
Routing and SwitchingCNET 311
Static VLAN Assignment
� A static access port can belong to only one VLAN.
� To reassign this interface to VLAN1:
![Page 8: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/8.jpg)
8
Ali Nezhad
Routing and SwitchingCNET 311
Managing VLANs
![Page 9: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/9.jpg)
9
Ali Nezhad
Routing and SwitchingCNET 311
show vlan command
![Page 10: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/10.jpg)
10
Ali Nezhad
Routing and SwitchingCNET 311
show interfaces command
![Page 11: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/11.jpg)
11
Ali Nezhad
Routing and SwitchingCNET 311
Managing VLANs
Example#1
![Page 12: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/12.jpg)
12
Ali Nezhad
Routing and SwitchingCNET 311
Managing VLANs
Example#2
![Page 13: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/13.jpg)
13
Ali Nezhad
Routing and SwitchingCNET 311
Managing VLANs
Example#3
� VLAN is a virtual interface.
![Page 14: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/14.jpg)
14
Ali Nezhad
Routing and SwitchingCNET 311
Other Commands
� Counting all VLANs
� # show vlan summary
� Deleting a VLAN
� # no vlan 20
� First, assign member ports to another VLAN.
� Deleting all non-default VLANs:
� # del flash:vlan.dat
� # reload
![Page 15: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/15.jpg)
15
Ali Nezhad
Routing and SwitchingCNET 311
Configuring Trunks
![Page 16: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/16.jpg)
16
Ali Nezhad
Routing and SwitchingCNET 311
switchport command
� Issue in the interface context
� Interface goes to a permanent trunking
mode.
� It enters into a DTP negotiation to
convert the link into a trunk.
� Even if the opposite interface disagrees.
![Page 17: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/17.jpg)
17
Ali Nezhad
Routing and SwitchingCNET 311
switchport command
![Page 18: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/18.jpg)
18
Ali Nezhad
Routing and SwitchingCNET 311
Removing a Trunk
![Page 19: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/19.jpg)
19
Ali Nezhad
Routing and SwitchingCNET 311
Troubleshooting VLANs
![Page 20: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/20.jpg)
20
Ali Nezhad
Routing and SwitchingCNET 311
Common Issues
1. Native VLAN Mismatch
� Must be the same on both trunk ends.
2. Trunk Mode Mismatch
� One end ON, the other OFF
3. VLANs and IP subnets
� Incorrect IP addressing info. On PCs, …
4. Allowed VLANs on Trunks
![Page 21: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/21.jpg)
21
Ali Nezhad
Routing and SwitchingCNET 311
Example#1
![Page 22: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/22.jpg)
22
Ali Nezhad
Routing and SwitchingCNET 311
Example#1, Diagnosis & Solution
Fix:
![Page 23: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/23.jpg)
23
Ali Nezhad
Routing and SwitchingCNET 311
Example#2
![Page 24: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/24.jpg)
24
Ali Nezhad
Routing and SwitchingCNET 311
Example#2, Diagnosis
![Page 25: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/25.jpg)
25
Ali Nezhad
Routing and SwitchingCNET 311
Example#2, Solution
![Page 26: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/26.jpg)
26
Ali Nezhad
Routing and SwitchingCNET 311
Example#3
![Page 27: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/27.jpg)
27
Ali Nezhad
Routing and SwitchingCNET 311
Example#3, Diagnosis
![Page 28: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/28.jpg)
28
Ali Nezhad
Routing and SwitchingCNET 311
Example#3, Solution
![Page 29: 6, Ch3- VLAN and Trunk Configuration](https://reader034.vdocuments.us/reader034/viewer/2022051116/55cf97ef550346d0339488f5/html5/thumbnails/29.jpg)
29
Ali Nezhad
Routing and SwitchingCNET 311
Questions?