VLANs (Part 2)

trunk ports are basically allow traffic to forward using a single interface like one cable
access ports are using a lot of cable to send traffic



































































Last updated

trunk ports are basically allow traffic to forward using a single interface like one cable
access ports are using a lot of cable to send traffic



































































Last updated
default mode vlan all10
20
30
are vlansint range f0/1,f0/2
switch mode access
switch access vlan 10
do show vlan brief
int range f0/3,f0/4
switch mode access
switch access vlan 30
do show vlan briefint range 0/1
switch mode access
switch access vlan 20
do show vlan brief
int range f0/3,f0/2
switch mode access
switch access vlan 10
do show vlan brief# You have to specify the interface first
int g0/1
switchport mode trunk
switchport trunk allowed vlan 10,30
do show interfaces trunkswitch trunk native vlan 1001int g0/1
switchport mode trunk
switchport trunk allowed vlan 10,30
switch trunk native vlan 1001
do show vlan briefdo show interfaces trunkvlan 30
exit
do show interfaces trunkint g0/2
switch mode trunk
switchport trunk allowed vlan 10,20,30
switchport trunk native vlan 1001
do show interface trunkint g0/0
no shutint g0/0.10
encapsulation dot1q 10
ip add 10.0.0.62 255.255.255.192int g0/0.20
encapsulation dot1q 20
ip add 10.0.0.126 255.255.255.192int g0/0.30
encapsulation dot1q 30
ip add 10.0.0.190 255.255.255.192