Open Godlike-Dodo opened 1 year ago
vlan show vlan brief show interface trunk show vlan 100 show vlan name show vlan summary
show interfaces trunk show running config
Trunk
enable configure terminal interface fa0/1 switchport mode trunk switchport trunk native vlan [vlan id] (Sets the native VLAN to something other than VLAN). switchport trunk allowed vlan vlan-list (Specify the list of VLANs to be allowed on the trunk link) end copy running-config startup-config
enable configure terminal vlan 100 name dodovlan
Only use numbers vlans: vlan2-1001
interface gig0/1 switchport mode acces switchport access vlan 100
switchport trunk encapsulation dot1q end show vlan brief copy startup-config running-config
go to the interface switchport trunk allowed vlan 100,2
Set native VLAN to a specific number. switchport trunk native vlan <>
2 switches needs a trunk connection! PC and a Switch needs an Access connection!
Check Trunk connection if there are problems to ping for example show interfaces trunk OR show running config