CSMA/CD, Switching, and VLANs Flashcards

1
Q

What is the purpose of CSMA/CD in Ethernet networks?

A

To detect and handle data collisions

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

When does a device transmit on a CSMA/CD network?

A

After sensing that the channel is idle

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

What does a device do after a collision is detected?

A

Sends a jam signal and waits a random time

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

On which types of Ethernet is CSMA/CD required?

A

Half-duplex Ethernet

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

Why is CSMA/CD unnecessary in full-duplex Ethernet?

A

No collisions occur

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

Which layer of the OSI model is CSMA/CD associated with?

A

Data Link

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

What is a ‘jam signal’?

A

A signal to stop data transmission

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

What algorithm is used after a collision is detected in CSMA/CD?

A

Backoff algorithm

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

What technology has largely replaced CSMA/CD in modern LANs?

A

Full-duplex Ethernet switching

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

What topology did early Ethernet use that required CSMA/CD?

A

Bus

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

What does a switch use to forward frames?

A

MAC addresses

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

What table does a switch build to make forwarding decisions?

A

MAC address table

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

What is microsegmentation?

A

Isolating each port into its own collision domain

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

What happens if a switch doesn’t know the destination MAC address?

A

Floods it out all ports except the incoming port

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

Which device creates multiple collision domains by default?

A

Switch

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

What is the main difference between a switch and a hub?

A

Switches forward based on MAC addresses

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

What is store-and-forward switching?

A

The switch stores and checks the frame before forwarding

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

What type of switch port carries traffic from multiple VLANs?

A

Trunk port

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

What does STP (Spanning Tree Protocol) prevent?

A

Broadcast storms

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

Which command shows the MAC address table on a Cisco switch?

A

show mac address-table

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

How many collision domains exist in a 24-port switch?

A

24

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

How does a switch learn a MAC address?

A

Observing source MAC addresses in frames

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

What is the default action of a switch for unknown unicast frames?

A

Flood to all ports

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

Which protocol prevents Layer 2 loops in switched networks?

25
What is the benefit of full-duplex mode on a switch port?
Eliminates collisions
26
What is the purpose of VLANs?
Segment a network logically
27
Which device is needed for inter-VLAN communication?
Router or Layer 3 switch
28
What protocol is used for VLAN tagging?
802.1Q
29
What VLAN number is the default VLAN on Cisco switches?
1
30
What is the function of a trunk link?
Carries traffic for multiple VLANs
31
What type of port is configured for a single VLAN only?
Access
32
Which command sets a port as an access port?
switchport mode access
33
What is the purpose of the native VLAN on a trunk link?
To carry untagged frames
34
Which protocol distributes VLAN information across switches?
VTP
35
What are the three VTP modes?
Server, Client, Transparent
36
What is a broadcast domain in switching?
A group of devices in the same subnet
37
What is VLAN hopping?
A security exploit
38
How do you verify VLAN configuration on a switch?
show vlan brief
39
How many usable VLANs are defined in the IEEE 802.1Q standard?
4094
40
What happens to a frame tagged with an unallowed VLAN on a trunk port?
It is dropped
41
What does a Layer 3 switch offer beyond Layer 2 switching?
Routing capability
42
Which VLAN ID is reserved and cannot be used?
0
43
What does 'Dynamic Auto' mode do in switch port configuration?
Responds to trunk negotiation
44
What causes a VLAN mismatch on a trunk link?
Different native VLANs on each end
45
What is the purpose of the 'switchport trunk encapsulation dot1q' command?
Sets trunking protocol
46
What is the VLAN ID range for extended VLANs?
1006–4094
47
What happens if you don't assign a port to a VLAN explicitly?
It defaults to VLAN 1
48
What is the maximum number of VLANs supported by 802.1Q?
4096
49
Which command displays trunk status?
show interface trunk
50
Which feature can restrict a switch port to specific MAC addresses?
Port Security
51
Switches contain a memory chip known as an _______, which builds a table listing which device is plugged into which port.
CAM (Content Addressable Memory)
52
Which two commands add an IP address to the VLAN?
interface vlan 1 ip address [IP] [SUBNET]
53
Which commands will enable Telnet and add a password to the switch Telnet lines?
line vty 0 4 password YOUR_PASSWORD login
54
How do you permit only SSH traffic into your Telnet lines?
line vty 0 4 transport input ssh
55
What is the most likely cause of Telnet to another switch not working?
No IP address configured on the VLAN interface
56
Switches remember all VLAN info, even when reloaded. True or False?
True
57
A switch interface can be in which of three modes?
Access Trunk Dynamic (Auto or Desirable)
58