Purpose: describe what the switch does with each frame.
Template. This page is an outline. Each TODO heading lists what the section should cover; replace the notes with prose. Every option is in udeswitch(8).
TODO: Learning and aging
- Every non-group source MAC is learned;
-aages entries (default 300 s); a MAC seen on a new port moves there. -Msizes the MAC table; a full table stops learning and keeps flooding.
TODO: Flooding, filtering, no hairpin
- Group and unknown destinations are flooded to every port but the
ingress port; known unicast goes to one port; nothing goes back to
the ingress port. Hub mode
-H.
TODO: What is dropped
- Runts, frames over
-m, group source MACs, frames from unregistered endpoints with-R, a full port table (-P). - Tagged frames are forwarded as they are; VLAN-aware ports are future work.
S: box "udeswitch" wid 1.4 ht 1.0 P1: box "port 1" fit at S + (-2.2, 0.5) P2: box "port 2" fit at S + (-2.2, -0.5) P3: box "port 3" "MAC learned" fit at S + (2.3, 0.5) P4: box "port 4" fit at S + (2.3, -0.5) arrow from P1.e to S.w + (0, 0.25) "unicast" above arrow from S.e + (0, 0.25) to P3.w arrow from P2.e to S.w + (0, -0.25) "broadcast" below arrow dashed from S.e + (0, -0.25) to P4.w arrow dashed from S.s to P1.s + (0, -0.6) then to P1.s text "TODO: unicast to one port; broadcast to all but the ingress" at S + (0, -1.3)→ /pikchrshow