LAN Switching Functions and Frame Forwarding
5 Questions
1 Views

LAN Switching Functions and Frame Forwarding

Created by
@EfficientOstrich

Questions and Answers

What is one of the main functions of a LAN switch?

  • Assigning IP addresses to devices
  • Routing traffic between different networks
  • Providing wireless access to the network
  • Filtering data packets based on MAC addresses (correct)
  • How does a LAN switch forward a known unicast frame?

  • By dropping the frame if the destination is unknown
  • By broadcasting the frame to all connected devices
  • By creating a multicast for the frame to reach multiple devices
  • By sending the frame to the device associated with the destination MAC address (correct)
  • What is the process of learning MAC addresses in a LAN switch?

  • Recording the source MAC addresses of incoming frames (correct)
  • Switching the data to the nearest router
  • Adding MAC addresses to a static table manually
  • Requesting MAC addresses from connected devices
  • Which command is used to display the dynamic MAC address table in a switch?

    <p>show mac address-table dynamic</p> Signup and view all the answers

    What describes the forwarding logic of a switch when dealing with a known address?

    <p>Directs the frame only to the port learned for that specific MAC address</p> Signup and view all the answers

    Study Notes

    Main Functions of a LAN Switch

    • Connect multiple devices within a Local Area Network (LAN) to facilitate communication.
    • Operate at the Data Link Layer (Layer 2) of the OSI model, making decisions based on MAC addresses.
    • Improve network efficiency and speed by reducing collisions and creating a dedicated communication path.

    Forwarding a Known Unicast Frame

    • When a switch receives a known unicast frame, it checks its MAC address table for the corresponding MAC address.
    • If the MAC address is found, the switch forwards the frame only to the specific port connected to that address.
    • This process minimizes unnecessary traffic across the network.

    Forwarding a Known Frame to a Second Switch

    • If a switch needs to forward a known frame to another switch, it follows similar logic by looking up the destination MAC address.
    • The frame is sent out through the appropriate trunk link connecting the two switches.
    • Proper VLAN tagging is crucial to maintain data separation across different networks.

    Learning MAC Addresses

    • A switch learns MAC addresses by examining the source MAC address of incoming frames.
    • The address is then added to the MAC address table along with the port number from which the frame was received.
    • This learning process helps to build an efficient switching table for future frame forwarding.

    Switch Forwarding Logic Summary

    • The switch uses a MAC address table to map devices to their respective ports.
    • When a frame is received, the switch checks if the MAC address is in the table.
    • If the address is known, the frame is forwarded to the designated port; if unknown, it is broadcast to all ports except the incoming port.

    "show mac address-table dynamic" Command

    • This command displays the dynamically learned MAC addresses stored in the switch's MAC address table.
    • It provides information on the MAC addresses, associated ports, and the VLANs they belong to.
    • Useful for troubleshooting and verifying correct operation of the switch.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Description

    This quiz covers the main functions of a LAN switch including its role in connecting devices within a Local Area Network and how it operates at the Data Link Layer. It also explains the process of forwarding known unicast frames and the importance of VLAN tagging when communicating between switches.

    More Quizzes Like This

    COMP 310 Computer Networks: VLANs and LAN Switching Quiz
    12 questions
    Ethernet Switching and LAN Technologies
    40 questions
    Ethernet LAN Module 5 Quiz
    32 questions

    Ethernet LAN Module 5 Quiz

    IndulgentOctagon6691 avatar
    IndulgentOctagon6691
    Ethernet LAN Switching - Module 5
    32 questions
    Use Quizgecko on...
    Browser
    Browser