Introduction to Computer Networks — Switches section
Switches, hubs, frames, collision domains, broadcast domains, and CSMA/CD.
MAC learning, unknown-unicast flooding, forwarding, and aging.
VLANs, Layer 3 switches, port mirroring, PoE, and Lab 10.
Listen first — is the medium free before transmitting?
Many hosts share the same physical medium.
If two signals collide, stop, send a jam signal, and retry after a random backoff.
CSMA/CD & CSMA/CA Explained — PowerCert Animated Videos
| Unmanaged | Managed |
|---|---|
| Plug in devices and it works. | Administrator can configure behavior. |
| Common in homes and very small offices. | Common in business and enterprise networks. |
| No VLAN control or monitoring features. | Supports VLANs, port monitoring, security, PoE controls, and more. |
Separate departments or roles on one physical switch.
Inspect port status, MAC tables, statistics, and mirrored traffic.
Control ports, power, priority, and security settings.
How a switch learns MAC addresses — step-by-step tutorial
| MAC | Port |
|---|---|
| - | - |
| - | - |
The switch learns from the source MAC of incoming frames.
| Switch port | Assigned VLAN | Department | Behavior |
|---|---|---|---|
| Port 1 | 20 | Sales | Talks inside Sales VLAN |
| Port 2 | 20 | Sales | Talks inside Sales VLAN |
| Port 3 | 10 | HR | Talks inside HR VLAN |
| Port 4 | 10 | HR | Talks inside HR VLAN |
VLAN 10 and VLAN 20 are isolated. Segmentation is the goal.
A router or Layer 3 switch can forward between VLANs, often with policy or firewall rules.
| Device | Power need | Count | Total |
|---|---|---|---|
| IP phones | 7 W | 8 | 56 W |
| Access points | 18 W | 4 | 72 W |
| Cameras | 12 W | 6 | 72 W |
| Needed | 200 W |
| Scenario | Best feature |
|---|---|
| Separate HR and Sales on one physical switch. | |
| Copy traffic to a Wireshark laptop for troubleshooting. | |
| Power cameras without separate electrical outlets. | |
| Route between VLANs inside the campus LAN. |