1.13 Switching Concepts Flashcards

Summarize switching concepts, including MAC learning and aging, frame switching, frame flooding, and MAC address tables. (26 cards)

1
Q

In Cisco protocols, which term is often used as a synonym for ‘switch’?

A

Bridge

While “bridge” was historically used before switches were developed, the term “switch” is more accurate and modern. “Bridge” is less commonly used in current Cisco protocols.

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

What is a switch’s MAC address table also known as?

A
  • Switching table
  • Bridging table
  • Content-addressable memory (CAM) table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do switches learn MAC addresses?

A

By checking and adding the source MAC address from incoming frames.

The switch records new MAC addresses when receiving frames, associating them with the port they arrived on.

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

True or False:

When a frame with a new source MAC address arrives, the switch adds it to the MAC address table for the incoming port.

A

True

This learning process allows the switch to update its MAC address table, optimizing frame forwarding.

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

Fill in the blank:

The default aging time for MAC address table entries is ______ seconds.

A

300

Entries are removed if not used within this time frame.

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

Which command configures the MAC address table aging time?

A

mac address-table aging-time time-in-seconds

The aging time can be adjusted globally or per VLAN to control how long MAC addresses are stored.

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

How can you view the aging time of a MAC address entry on a Cisco switch?

A

Use the show mac address-table aging-time command.

This command displays the current aging time setting for the MAC address table. If no value is specified, it defaults to 300 seconds.

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

What happens when a switch’s MAC address table is full?

A

The oldest entry is removed to make space for a new one.

Some switches may broadcast traffic if the table is full.

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

What does the command ‘show mac address-table dynamic’ display?

A

It lists all dynamically learned MAC addresses in the MAC table.

This command helps administrators view and troubleshoot the MAC address table.

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

True or False:

A LAN switch’s primary job is to forward frames to the correct MAC address.

A

True

A LAN switch operates at Layer 2 and directs Ethernet frames to the appropriate port using the MAC address table for efficient data transmission.

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

Fill in the blank:

A switch operates at _____ ___ of the OSI model.

A

Layer 2

(Data Link Layer)

Switches operate at Layer 2, forwarding Ethernet frames based on MAC addresses, making them efficient for LAN communication.

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

What three actions do switches take to fulfill their primary function?

A
  1. Forwarding frames based on the destination MAC address.
  2. Learning source MAC addresses from incoming frames.
  3. Preventing loops using Spanning Tree Protocol (STP).

These functions allow switches to efficiently manage network traffic, ensuring proper delivery while avoiding endless frame transmission in redundant networks.

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

Which command shows the status of STP on a Cisco switch?

A

show spanning-tree

This command allows network administrators to view STP (Spanning Tree Protocol) status and ensure that no loops exist in the network.

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

What are the two types of MAC addresses used in switching logic?

A
  1. Source MAC address
  2. Destination MAC address

The source MAC address helps a switch learn device locations, while the destination MAC address allows the switch to determine where to forward frames.

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

What is a known unicast frame?

A

A frame with a destination MAC address that is known to the switch.

Unicast frames are forwarded to a specific port rather than being flooded, improving network efficiency.

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

What does a switch do when it receives an unknown unicast frame?

A

It floods the frame out all interfaces except the incoming interface.

When a destination MAC address is not in the MAC table, the switch floods the frame to all ports to locate the correct device.

17
Q

What is the purpose of flooding frames?

A

To deliver frames when the destination MAC address is unknown.

Flooding helps the switch learn the destination MAC address and update its MAC address table.

18
Q

What does the command ‘show mac address-table count’ display?

A

It shows the number of MAC address entries and available table space.

This helps track resource usage on a switch.

19
Q

What command would you use to check the status of switch interfaces?

A

‘show interfaces status’

This command displays information about interface status, speed, duplex mode, and VLAN assignments.

20
Q

What does the command ‘show interfaces f0/1 counters’ provide?

A

It lists statistics about incoming and outgoing frames on interface F0/1.

This command helps diagnose network traffic by displaying frame counts, errors, and traffic rates.

21
Q

What command displays MAC addresses from a specific interface?

A

show mac address-table dynamic interface

This command allows engineers to view MAC addresses associated with a particular port.

22
Q

Which command removes dynamic MAC address table entries?

A

clear mac address-table dynamic

This command removes all learned MAC addresses, forcing the switch to relearn them.

23
Q

What does show mac address-table dynamic vlan [vlan-number] display?

A

MAC addresses for a specific VLAN.

This command helps in VLAN-based MAC address troubleshooting.

24
Q

In a scenario with multiple switches, how does MAC learning and forwarding occur?

A

It happens independently on each switch.

Each switch maintains its own MAC address table, forwarding frames based on local learning.

25
What is the **maximum number of MAC addresses** a Cisco Catalyst switch can hold?
About 8000 entries ## Footnote The typical default capacity for most Cisco Catalyst switches is *about 8000 entries*. Higher-end models or switches with advanced configurations may support more entries.
26
What does a MAC address table entry **consist of**?
* VLAN * MAC Address * Type * Ports ## Footnote Each **entry** in the MAC address table is linked to a VLAN and is associated with the specific port through which the device can be reached.