CS FundamentalsModerateGATE CS · Product company CS fundamentals

Which statement correctly describes how a learning switch updates its MAC table and forwards a frame?

  1. A. It records the DESTINATION MAC with the incoming port
  2. B. It forwards by source MAC and learns destinations from replies
  3. C. It learns the SOURCE MAC on the incoming port and forwards by DESTINATION MAC
  4. D. It floods every frame until its table is full

Correct answer: C. It learns the SOURCE MAC on the incoming port and forwards by DESTINATION MAC

Learning uses source addresses (the sender is reachable via the arrival port). Forwarding uses the destination: if it maps to the incoming port the frame is filtered, if known it goes out one port, and if unknown or broadcast it is flooded.

More Computer Networks questions

Exams that ask this topic