🎧 New: AI-Generated Podcasts Turn your study notes into engaging audio conversations. Learn more

Layer 2 Switching Quiz
97 Questions
8 Views

Layer 2 Switching Quiz

Created by
@GreatAntigorite

Podcast Beta

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What layer does a network switch operate at?

  • Layer 3
  • Layer 1
  • Layer 4
  • Layer 2 (correct)
  • How does a network switch manage traffic?

  • Based on domain names
  • Based on port numbers
  • Based on IP addresses
  • Based on MAC addresses (correct)
  • What is the function of a router in a switched network design?

  • Creates logical segmentation (correct)
  • Handles MAC address mapping
  • Manages VLAN tagging
  • Reduces collision domains
  • What is the primary advantage of Layer 2 switching?

    <p>Reduced collision domains</p> Signup and view all the answers

    What is the purpose of VLANs in a network?

    <p>To create logical segmentation</p> Signup and view all the answers

    How does a router differ from a network switch?

    <p>Routers manage traffic based on MAC addresses, switches based on IP addresses</p> Signup and view all the answers

    What is the role of a trunk port in VLANs?

    <p>To connect devices in different VLANs</p> Signup and view all the answers

    What does VLAN tagging enable?

    <p>Inter-VLAN communication</p> Signup and view all the answers

    Which layer of the OSI model does a router operate at?

    <p>Layer 3</p> Signup and view all the answers

    What is the function of a network switch?

    <p>Handles logical segmentation</p> Signup and view all the answers

    What is the primary purpose of a router in a network?

    <p>Routes traffic between different networks</p> Signup and view all the answers

    What does Layer 2 switching not modify in a data packet?

    <p>Data payload</p> Signup and view all the answers

    What is the main purpose of VLANs?

    <p>To logically segment a network into separate broadcast domains</p> Signup and view all the answers

    Which protocol helps prevent switching loops in redundant network designs?

    <p>Spanning Tree Protocol (STP)</p> Signup and view all the answers

    What is the purpose of a trunk port in a Layer 2 switch?

    <p>To carry frames for multiple VLANs and tag frames with the appropriate VLAN ID</p> Signup and view all the answers

    What is the IEEE standard that supports VLAN tagging on Ethernet networks?

    <p>802.1Q Protocol</p> Signup and view all the answers

    What is the purpose of access ports in a Layer 2 switch?

    <p>To belong to a VLAN and not tag the outgoing frames</p> Signup and view all the answers

    What is the primary function of Layer 2 switching?

    <p>MAC Address Learning</p> Signup and view all the answers

    What is the purpose of the Forwarding/Filter Table in Layer 2 switching?

    <p>To store the source hardware address of each frame and the corresponding port</p> Signup and view all the answers

    What is the role of a Layer 3 device in inter-VLAN communication?

    <p>To allow communication between VLANs</p> Signup and view all the answers

    What is the purpose of 802.1Q VLAN tagging?

    <p>To help switches identify which VLAN a frame belongs to and forward it accordingly</p> Signup and view all the answers

    What are the benefits of VLANs?

    <p>Enhanced Network Security, Scalability, and Improved Network Performance</p> Signup and view all the answers

    What is the purpose of the Spanning Tree Protocol (STP)?

    <p>To prevent loops in a network</p> Signup and view all the answers

    What is the process of setting up VLANs on a Layer 2 switch?

    <p>Creating the VLAN, assigning interfaces as Access Ports, and assigning interfaces as Trunk Ports</p> Signup and view all the answers

    Layer 2 switching operates at the Data Link Layer of the OSI model

    <p>True</p> Signup and view all the answers

    VLANs can be set up using both access ports and trunk ports

    <p>True</p> Signup and view all the answers

    VLAN tagging is used to identify which VLAN a data packet belongs to

    <p>True</p> Signup and view all the answers

    Layer 2 switching involves modifying the data packet to improve efficiency

    <p>False</p> Signup and view all the answers

    A router creates and handles logical segmentation in a switched network design

    <p>True</p> Signup and view all the answers

    Layer 2 switching is efficient because it does not modify the data packet

    <p>True</p> Signup and view all the answers

    A network switch manages traffic based on MAC addresses

    <p>True</p> Signup and view all the answers

    A complete switched network design includes the implementation of a router

    <p>True</p> Signup and view all the answers

    Switches reduce collision domains by creating separate collision domains for each port

    <p>True</p> Signup and view all the answers

    VLANs enable logical segmentation of a network

    <p>True</p> Signup and view all the answers

    A router is a Layer 3 device in a network

    <p>True</p> Signup and view all the answers

    VLAN tagging is an IEEE standard that supports VLAN identification on Ethernet networks

    <p>True</p> Signup and view all the answers

    Layer 2 switching operates at the network layer of the OSI model

    <p>False</p> Signup and view all the answers

    VLAN stands for Virtual Local Area Network

    <p>True</p> Signup and view all the answers

    Layer 2 switches can perform inter-VLAN routing without the need for a Layer 3 device

    <p>False</p> Signup and view all the answers

    802.1Q is an IEEE standard that supports VLAN tagging on Ethernet networks

    <p>True</p> Signup and view all the answers

    Trunk ports in Layer 2 switches can carry frames for multiple VLANs and tag frames with the appropriate VLAN ID

    <p>True</p> Signup and view all the answers

    VLAN tagging adds a tag to the Ethernet frame denoting its VLAN ID when frames traverse a trunk link

    <p>True</p> Signup and view all the answers

    It's best practice to reserve all VLAN IDs for future use

    <p>False</p> Signup and view all the answers

    A network switch can prevent switching loops using the Spanning Tree Protocol (STP)

    <p>True</p> Signup and view all the answers

    Access ports in Layer 2 switches belong to a VLAN and tag the outgoing frames

    <p>False</p> Signup and view all the answers

    Layer 3 switches are not required for inter-VLAN communication in a network

    <p>False</p> Signup and view all the answers

    The primary function of Layer 2 switching is to forward/filter decisions based on MAC addresses

    <p>True</p> Signup and view all the answers

    Layer 2 switches create a loop-free logical topology using the Spanning Tree Protocol (STP)

    <p>True</p> Signup and view all the answers

    Explain the three main functions of Layer 2 switching mentioned in the text.

    <p>The three main functions of Layer 2 switching mentioned in the text are MAC address learning, forward/filter decisions, and loop avoidance.</p> Signup and view all the answers

    What is the purpose of VLANs?

    <p>The purpose of VLANs is to create logical segmentation within a network, with each VLAN operating as its own broadcast domain.</p> Signup and view all the answers

    What are the benefits of VLANs mentioned in the text?

    <p>The benefits of VLANs mentioned in the text include enhanced network security, scalability, and improved network performance due to smaller broadcast domains.</p> Signup and view all the answers

    What is the main limitation of Layer 2 switches in terms of inter-VLAN communication?

    <p>The main limitation of Layer 2 switches in terms of inter-VLAN communication is the lack of support for inter-VLAN routing. To allow communication between VLANs, a Layer 3 device, such as a router or Layer 3 switch, is needed.</p> Signup and view all the answers

    What are the three steps involved in configuring VLANs on a Layer 2 switch?

    <p>The three steps involved in configuring VLANs on a Layer 2 switch are creating the VLAN, assigning interfaces as access ports, and assigning interfaces as trunk ports.</p> Signup and view all the answers

    What is the difference between access ports and trunk ports in a Layer 2 switch?

    <p>Access ports belong to a single VLAN and do not tag outgoing frames, while trunk ports can carry frames for multiple VLANs and tag frames with the appropriate VLAN ID.</p> Signup and view all the answers

    What is the purpose of VLAN tagging and the 802.1Q protocol mentioned in the text?

    <p>The purpose of VLAN tagging and the 802.1Q protocol is to support VLAN identification on Ethernet networks by adding a tag to the Ethernet frame denoting its VLAN ID when frames traverse a trunk link.</p> Signup and view all the answers

    What are the best practices mentioned for VLANs in the text?

    <p>The best practices mentioned for VLANs include reserving a few VLAN IDs for future use, setting descriptive names for VLANs, isolating all unused ports and putting them in an unused VLAN, and setting a native VLAN that's different from user VLANs.</p> Signup and view all the answers

    What are the commands involved in setting up a VLAN, setting access ports, and setting up trunk ports on a Layer 2 switch?

    <p>The commands involved in setting up a VLAN, setting access ports, and setting up trunk ports on a Layer 2 switch include 'vlan' for creating VLAN, 'switchport access vlan' for setting access ports, and 'switchport mode trunk' for setting up trunk ports.</p> Signup and view all the answers

    What is the IEEE standard that supports VLAN tagging on Ethernet networks?

    <p>The IEEE standard that supports VLAN tagging on Ethernet networks is 802.1Q.</p> Signup and view all the answers

    What is the primary function of the Spanning Tree Protocol (STP) mentioned in the text?

    <p>The primary function of the Spanning Tree Protocol (STP) mentioned in the text is to prevent switching loops by creating a loop-free logical topology in redundant network designs.</p> Signup and view all the answers

    What is the role of Layer 3 devices in inter-VLAN communication according to the text?

    <p>The role of Layer 3 devices in inter-VLAN communication according to the text is to allow communication between VLANs by performing inter-VLAN routing.</p> Signup and view all the answers

    What layer does a network switch operate at?

    <p>A network switch operates at Layer 2 (Data Link Layer) of the OSI model.</p> Signup and view all the answers

    What is the primary function of Layer 2 switching?

    <p>The primary function of Layer 2 switching is to forward/filter decisions based on MAC addresses.</p> Signup and view all the answers

    What is the purpose of VLAN tagging?

    <p>VLAN tagging is used to identify which VLAN a data packet belongs to.</p> Signup and view all the answers

    How does a network switch manage traffic?

    <p>A network switch manages traffic based on MAC addresses.</p> Signup and view all the answers

    What makes Layer 2 switching so efficient?

    <p>What makes Layer 2 switching so efficient is that no modification to the data packet takes place.</p> Signup and view all the answers

    What is the process of setting up VLANs on a Layer 2 switch?

    <p>Understand commands for setting up VLANs.</p> Signup and view all the answers

    What are the benefits of VLANs?

    <p>VLANs enable logical segmentation of a network and can improve network security and performance.</p> Signup and view all the answers

    What is the purpose of access ports in a Layer 2 switch?

    <p>Access ports in Layer 2 switches belong to a VLAN and tag the outgoing frames.</p> Signup and view all the answers

    What is the purpose of the Spanning Tree Protocol (STP)?

    <p>The Spanning Tree Protocol (STP) helps prevent switching loops in redundant network designs.</p> Signup and view all the answers

    What is the role of a trunk port in VLANs?

    <p>Trunk ports in Layer 2 switches can carry frames for multiple VLANs and tag frames with the appropriate VLAN ID.</p> Signup and view all the answers

    What is the function of a router in a switched network design?

    <p>A router creates and handles logical segmentation, and can provide inter-VLAN communication.</p> Signup and view all the answers

    What is the purpose of logical segmentation in a switched network design?

    <p>Logical segmentation helps in organizing and securing the network, and allows for efficient traffic management.</p> Signup and view all the answers

    ______ stands for Virtual Local Area Network

    <p>VLAN</p> Signup and view all the answers

    ______ is an IEEE standard that supports VLAN tagging on Ethernet networks

    <p>802.1Q</p> Signup and view all the answers

    When frames traverse a trunk link, a ______ is added to the Ethernet frame, denoting its VLAN ID. This helps switches identify which VLAN a frame belongs to and forward it accordingly

    <p>tag</p> Signup and view all the answers

    In redundant network designs, loops can cause issues. ______ (Spanning Tree Protocol) is a protocol that helps prevent loops by creating a loop-free logical topology

    <p>STP</p> Signup and view all the answers

    To allow communication between VLANs, a Layer 3 device, like a ______ or Layer 3 switch, is needed

    <p>router</p> Signup and view all the answers

    ______ loops can occur if you have more than one path to a destination

    <p>Switching</p> Signup and view all the answers

    VLANs can be isolated and can restrict access by VLAN

    <p>security</p> Signup and view all the answers

    Belong to a VLAN and do not tag the outgoing frames. They're used to connect end devices like PCs and printers

    <p>Access Ports</p> Signup and view all the answers

    They can carry frames for multiple VLANs and tag frames with the appropriate VLAN ID. They're used to connect switches to each other

    <p>Trunk Ports</p> Signup and view all the answers

    An IEEE standard that supports VLAN tagging on Ethernet networks. It's responsible for adding a tag to the original frame when it goes out on a trunk link and removing the tag when it enters an access link

    <p>802.1Q Protocol</p> Signup and view all the answers

    Reserve a few VLAN IDs for ______ use

    <p>future</p> Signup and view all the answers

    On a Layer 2 switch, ______ are separate broadcast domains

    <p>VLANs</p> Signup and view all the answers

    Setting up VLANs on a Layer 2 switch is a three-step ______

    <p>process</p> Signup and view all the answers

    Layer 2 switching operates at the ________ layer of the OSI model

    <p>Data Link</p> Signup and view all the answers

    VLAN stands for ________ Local Area Network

    <p>Virtual</p> Signup and view all the answers

    What makes Layer 2 switching so efficient is that no ________ to the data packet takes place

    <p>modification</p> Signup and view all the answers

    A network switch manages traffic based on ________ addresses

    <p>MAC</p> Signup and view all the answers

    Trunk ports in Layer 2 switches can carry frames for multiple VLANs and tag frames with the appropriate VLAN ________

    <p>ID</p> Signup and view all the answers

    The router creates and handles ________ segmentation

    <p>logical</p> Signup and view all the answers

    A network switch is a device that connects devices within a ________ area network (LAN)

    <p>local</p> Signup and view all the answers

    Switches reduce collision domains by creating separate collision domains for each ________

    <p>port</p> Signup and view all the answers

    VLAN tagging is used to identify which VLAN a data packet ________ to

    <p>belongs</p> Signup and view all the answers

    A typical, contemporary, and complete switched network design/implementation would include the implementation of a ________

    <p>router</p> Signup and view all the answers

    VLANs including access ports and trunk ports are covered in the context of ________

    <p>NTWK8021</p> Signup and view all the answers

    Layer 3 switches are not required for inter-VLAN communication in a ________

    <p>network</p> Signup and view all the answers

    Study Notes

    Network Switches and VLANs

    • Network switches operate at the Data Link Layer (Layer 2) of the OSI model.
    • Switches manage traffic based on MAC addresses.

    VLANs

    • VLANs (Virtual Local Area Networks) enable logical segmentation of a network.
    • VLANs can be set up using both access ports and trunk ports.
    • VLAN tagging is used to identify which VLAN a data packet belongs to.

    Trunk Ports and Access Ports

    • Trunk ports in Layer 2 switches can carry frames for multiple VLANs and tag frames with the appropriate VLAN ID.
    • Access ports in Layer 2 switches belong to a VLAN and do not tag the outgoing frames.

    Layer 2 Switching

    • Layer 2 switching involves forwarding/filtering decisions based on MAC addresses.
    • Layer 2 switching is efficient because it does not modify the data packet.
    • The primary function of Layer 2 switching is to forward/filter decisions based on MAC addresses.

    Routers and Inter-VLAN Communication

    • Routers operate at Layer 3 of the OSI model.
    • Layer 3 devices are required for inter-VLAN communication in a network.
    • Routers create and handle logical segmentation in a switched network design.

    Spanning Tree Protocol (STP)

    • STP is a protocol that helps prevent switching loops in redundant network designs.
    • STP creates a loop-free logical topology.

    VLAN Tagging and 802.1Q

    • 802.1Q is an IEEE standard that supports VLAN tagging on Ethernet networks.
    • VLAN tagging adds a tag to the Ethernet frame denoting its VLAN ID when frames traverse a trunk link.

    Best Practices and Configuration

    • Reserve a few VLAN IDs for future use.
    • Setting up VLANs on a Layer 2 switch involves three steps: creating the VLAN, assigning access ports, and configuring trunk ports.

    Key Concepts

    • VLANs enable logical segmentation of a network.
    • Layer 2 switching operates at the Data Link Layer of the OSI model.
    • Routers operate at Layer 3 of the OSI model.
    • Trunk ports carry frames for multiple VLANs and tag frames with the appropriate VLAN ID.

    Studying That Suits You

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

    Quiz Team

    Related Documents

    Description

    Test your knowledge of Layer 2 switching with this quiz on MAC address learning, forwarding/filter decisions, and loop avoidance. Challenge yourself to understand how switches handle communication between hosts and how they build and use the forwarding/filter table.

    More Quizzes Like This

    Use Quizgecko on...
    Browser
    Browser