Switching
Switching is the process of forwarding Ethernet frames within a local network based on MAC addresses. Switches learn which devices connect to which ports, build forwarding tables, and deliver frames only where they need to go, creating fast, loop-free, segmented networks.
itNetworking | OpenSkills.info
Course pathWalk it in order
Look it upDip in anytime
Go furtherLeaves this page
Don't Panic
Don't Panic — Switching
Switching is the part of a local network that decides where an Ethernet frame goes. It learns which MAC address arrived on which port, then forwards a known destination to one port instead of telling the whole building. This is progress over a hub, which had the social boundaries of a megaphone.
The useful picture is a table: MAC address on the left, switch port on the right. A frame supplies a source address, so the switch learns. A destination either matches the table and gets one precise exit, or does not and gets flooded while the switch waits to learn better manners. Broadcast traffic is always flooded, which is why a large flat LAN becomes an unwanted group conversation.
A VLAN is the fence in that conversation. It makes one physical switch carry separate broadcast domains. An access port belongs to one VLAN for an endpoint; a trunk carries several VLANs between switches with 802.1Q tags. The sharp edge is the native VLAN: its frames travel untagged, so two trunk ends that disagree can put traffic in a place neither design intended.
Redundant links are where the furniture develops opinions. Two paths are good for survival, but at layer 2 they can let flooded frames circle forever. Spanning Tree Protocol picks a root bridge and blocks enough redundant ports to form one forwarding tree. The idle link is not broken; it is waiting for a failure. Link aggregation is different: it turns parallel members into one logical link, while a hash keeps each flow on one member.
Read the intro for the full forwarding path and the security controls that protect it. The slides make topology and STP decisions visible at a glance. Use the cheatsheet when a port role, VLAN rule, or mitigation needs a quick answer. The practice reference is the operational checklist for checking that the network you meant to build is the one currently forwarding frames.
Where this skill leads
Relevant careers
See how this topic contributes to broader role-level skill maps.
Sources
- https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/24248-147.html
Supports
- STP root bridge election and port role assignment
- RSTP proposal-agreement convergence mechanism
- MST VLAN-to-instance mapping
- Port channel interaction with STP topology
- https://www.ieee802.org/1/pages/802.1Q-2022.html
Supports
- VLAN tagging with 802.1Q (4-byte tag, 12-bit VLAN ID)
- Access and trunk port classification
- MSTP as part of the bridge standard
- LACP negotiation for link aggregation
- https://www.cisco.com/c/en/us/td/docs/switches/lan/cisco_ie3010/software/release/15-2_2_e/configuration/guide/SwCfg/swstp.html
Supports
- MAC address table learning and aging
- STP port states and transitions
- Port security and MAC limiting
- BPDU guard and root guard configuration
- Native VLAN mismatch behavior
- CAM table overflow behavior under MAC flooding attack
- https://www.rfc-editor.org/rfc/rfc7348
Supports
- VXLAN as layer-2 overlay over layer-3 infrastructure
- Extending broadcast domains across routed networks
- Modern data center switching architecture
- https://www.ieee802.org/1/pages/802.1D-2003.html
Supports
- IEEE 802.1D-1998 bridge baseline
- 802.1D-2004 incorporation of 802.1w
- https://www.ieee802.org/1/pages/802.1w.html
Supports
- Rapid reconfiguration of spanning tree
- RSTP incorporation into 802.1D-2004
- https://www.ieee802.org/1/pages/802.1ab.html
Supports
- LLDP publication in 2005 for adjacent-device discovery
- https://www.ieee802.org/1/pages/802.1Q-2005.html
Supports
- 802.1Q revision approval in 2005 and publication in 2006
- VLAN bridge interoperability scope
- https://www.ieee802.org/1/pages/802.1ah.html
Supports
- Provider Backbone Bridges approval in 2008
- https://www.ieee802.org/1/pages/802.1Q-2014.html
Supports
- 802.1Q-2014 incorporation of earlier bridging amendments
- Inclusion of functions previously specified in 802.1D
- https://www.ieee802.org/1/pages/802.1aq.html
Supports
- Shortest Path Bridging approval in 2012
- Multiple active topologies for bridged networks
- https://www.cisco.com/site/us/en/products/networking/switches/campus-lan-switching/index.html
Supports
- Cisco Catalyst campus switching portfolio
- https://www.cisco.com/site/us/en/products/networking/switches/data-center-switches/index.html
Supports
- Cisco Nexus data center switching portfolio
- https://www.hpe.com/us/en/networking/aruba-cx-switches.html
Supports
- HPE Aruba Networking CX switch portfolio
- https://www.juniper.net/us/en/products/switches/ex-series.html
Supports
- Juniper EX switch portfolio
- https://www.arista.com/en/products/720xp-series
Supports
- Arista 720XP campus switching portfolio
- https://www.extremenetworks.com/products/switches
Supports
- Extreme Networks switching portfolio
