Master LAN switching, VLANs, STP, and switch configuration for CCNA
| Feature | Switch | Router |
|---|---|---|
| Layer | Layer 2 | Layer 3 |
| Forwarding | MAC addresses | IP addresses |
| Protocols | STP, VLAN | OSPF, EIGRP |
No forwarding, listens for BPDUs
Processes BPDUs, no MAC learning
Builds MAC table, no forwarding
Normal operation, forwards frames
Disables port if BPDU received on PortFast-enabled port
Prevents port from becoming root port if superior BPDUs received
Prevents alternate ports from becoming designated if BPDUs stop