Chapter 5 - Ethernet LAN Switching Flashcards
LAN Switching Summary
Switches use Layer 2 logic, examining the Ethernet data-link header to choose how to process frames. Switches make decisions to forward and filter frames, learn MAC addresses, and use STP to avoid loops.
EXEC Command
show mac address-table
Shows all MAC table entries of all types
EXEC Command
show mac address-table dynamic
Shows all dynamically learned MAC table entries
EXEC Command
show mac address-table vlan vlan-id
Shows all dynamically learned MAC table entries in the VLAN
EXEC Command
show mac address-table dynamic address mac-address
Shows the dynamically learned MAC table entries with the MAC address
EXEC Command
show mac address-table dynamic interface interface-id
Shows all dynamically learned MAC table entries associated with that interface
EXEC Command
show mac address-table count
Shows the number of entries in the MAC table and the total number of remaining empty slots in the MAC table
EXEC Command
show mac address-table table aging-time
Shows the global and per-VLAN aging timeout for inactive MAC table entries
EXEC Command
clear mac address-table dynamic
Empties the MAC table of all dynamic entries
EXEC Command
show interfaces status
Lists one line per interface on the switch, with basic status and operating information for each
EXEC Command
clear mac address-table dynamic [vlan vlan number] [interface interface-id] [address mac-address]
clears (removes) dynamic MAC table entries: either all (with no parameters), or a subset based on VLAN ID, interface ID, or a specific MAC address
EXEC Command
mac address-table aging-time [time-in-seconds] [vlan vlan-number]
Broadcast Frame
An Ethernet frame sent to destination address FFFF.FFFF.FFFF, meaning that the frame should be delivered to all hosts on that LAN.
Known Unicast Frame
An Ethernet frame whose destination MAC address is listed in a switch’s MAC address table, so the switch will forward the frame out the one port associated with that entry in the MAC address table.
Spanning Tree Protocol (STP)
A protocol defined by IEEE standard 802. ID. Allows switches and bridges to create a redundant LAN, with the protocol dynamically causing some ports to block traffic, so that the bridge/ switch forwarding logic will not cause frames to loop indefinitely around the LAN.