Ethernet LAN Switching Flashcards
1
Q
Functions of Switches in Networks for:
- Home LAN
- Corporate LAN
- Data Centre(DC) LAN
A
- Connect home end devices
- Connects campus end devices
- Connects DC Servers
2
Q
In general, what does a switch do?
A
Frame forwarding to correct destination
3
Q
Major functions of a switch?
A
- 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 - 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 - 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
4
Q
How does a switch do Address Learning?
A
- Switches don’t ask hosts for MAC
- Hosts don’t directly advertise MAC
- Switches learn through passive learning
5
Q
What is FLOODING in terms of switches?
A
Sending frames out to all ports (except the incoming port)
6
Q
What is a broadcast storm?
A
Flood of endless broadcast packets using up significant parts of the capacities of the links
7
Q
What is STP?
A
Spanning Tree Protocol
8
Q
What does STP do?
A
- Stops loops in layer 2 switched networks
Layer 2 Protocol - Uses Spanning Tree Algorithm
STP: IEEE 802.1D - Stops:
a. Broastcast Storms
b. MAC table instability
c. Multiple frame transmission
9
Q
How does STP break loops?
A
Logically blocks a port to break the loops in the LAN
All switches run STP.
10
Q
Steps of STP:
A
- All switches run STP
- Root switch is elected as common reference point
- Every other switch finds the best way (port) to send frames to the root switch
- Using SPA, only required ports are kept open for regular (data) frames
- Other ports blocked only STP protocol PDUs are allowed