Ethernet LAN Switching Flashcards

1
Q

Functions of Switches in Networks for:

  1. Home LAN
  2. Corporate LAN
  3. Data Centre(DC) LAN
A
  1. Connect home end devices
  2. Connects campus end devices
  3. Connects DC Servers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In general, what does a switch do?

A

Frame forwarding to correct destination

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Major functions of a switch?

A
  1. Forwarding Decisions:
    a. Receives frame then looks at destination hardware address and finds exit interface in MAC database
    b. The frame will only be forwarded out the specified destination port
  2. Address Learning:
    a. Layer 2 switches and bridges remember the source hardware address of each frame received on an interface
    b. Enters this information into a MAC database called a forward/filter table
  3. Loop Avoidance:
    a. If multiple connections between switches are created for redundancy purposes, network loops can occur
    b. Spanning Tree Protocol(STP) is used to stop network loops while permitting redundancy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does a switch do Address Learning?

A
  1. Switches don’t ask hosts for MAC
  2. Hosts don’t directly advertise MAC
  3. Switches learn through passive learning
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is FLOODING in terms of switches?

A

Sending frames out to all ports (except the incoming port)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a broadcast storm?

A

Flood of endless broadcast packets using up significant parts of the capacities of the links

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is STP?

A

Spanning Tree Protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does STP do?

A
  1. Stops loops in layer 2 switched networks
    Layer 2 Protocol
  2. Uses Spanning Tree Algorithm
    STP: IEEE 802.1D
  3. Stops:
    a. Broastcast Storms
    b. MAC table instability
    c. Multiple frame transmission
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does STP break loops?

A

Logically blocks a port to break the loops in the LAN

All switches run STP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Steps of STP:

A
  1. All switches run STP
  2. Root switch is elected as common reference point
  3. Every other switch finds the best way (port) to send frames to the root switch
  4. Using SPA, only required ports are kept open for regular (data) frames
  5. Other ports blocked only STP protocol PDUs are allowed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly