Professional Documents
Culture Documents
CH 3. Network LAN and VLAN
CH 3. Network LAN and VLAN
ALPHA University
IT and Cypher security
Borama, Somaliland
Chapter 3
Finally, switches were created and are still widely used today.
Switches have more ports than bridges, can inspect incoming
traffic and make forwarding decisions accordingly. Each port
on a switch is a separate collision domain.
Here is an example of the typical LAN network used today – the
switch serves as a central device that connects all devices together:
Differences between hubs and switches
As you can see we have computers on both sides and they are in
different VLANs, by using trunks we can make sure all VLAN traffic
can be sent between the switches.
trunk ports
To configure a trunk interface, the switch-port mode trunk
interface command is used. This type of interface can carry traffic
of multiple VLANs.
First we will look at the default VLAN configuration on
SwitchA: By default, all ports on a switch are in the VLAN 1. We
can verify that by typing the show vlan command
Interesting VLAN 1 is the default LAN and you can see that all
active interfaces are assigned to VLAN
Two steps are required to create a VLAN and assign a switch port to
the VLAN:
switch(config)#vlan 10
switch(config-vlan)IT
switch(config-vlan)#exit
switch(config)#Interface fastEthernet 0/1
switch(config-if)#switchport access vlan 10
To configure a trunk interface, the switchport mode trunk interface
command is used. This type of interface can carry traffic of multiple
VLANs.
On switch 1
On switch 2
End