Debian Admin

Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips

  • RSS Subscribe

    subscribe to the Debian Admin RSS feed
  • Sponsors



  • Categories

  • Sponsors

  • Support DebianAdmin

    Amount $:
    Website(Optional):


  • Meta

  • Archives



Cisco Layer 2 Switch Functions

Posted by Admin on November 18th, 2007

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Layer 2 switch is A network device that forwards traffic based on MAC layer (Ethernet or Token Ring) addresses.

Bridging technology has been around since the 1980s (and maybe even earlier). Bridging involves segmentation of local-area networks (LANs) at the Layer 2 level. A multiport bridge typically learns about the Media Access Control (MAC) addresses on each of its ports and transparently passes MAC frames destined to those ports. These bridges also ensure that frames destined for MAC addresses that lie on the same port as the originating station are not forwarded to the other ports. For the sake of this discussion, we consider only Ethernet LANs.

Layer 2 switches effectively provide the same functionality. They are similar to multiport bridges in that they learn and forward frames on each port. The major difference is the involvement of hardware that ensures that multiple switching paths inside the switch can be active at the same time.

There are three distinct functions of layer 2 switching

1)address learning

2)forward/filter decisions

3)loop avoidance

Address learning

Layer 2 switches and bridges remember the source hardware address of each
frame received on an interface, and they enter this information into a MAC database called a forward/filter table.

Forward/filter decisions

When a frame is received on an interface, the switch looks at the destination
hardware address and finds the exit interface in the MAC database. The frame is only
forwarded out the specified destination port.

Loop avoidance

If multiple connections between switches are created for redundancy purposes,
network loops can occur. Spanning Tree Protocol (STP) is used to stop network loops
while still permitting redundancy.

  • Share/Bookmark

One Response to “Cisco Layer 2 Switch Functions”

  1. XKO Says:

    Thanks for the heads up on the layer 2 switch, the Cisco 4500 series look great, with a hefty price tag, well worth it for 320gbps.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>