2.2 Flashcards

(31 cards)

1
Q

What is the purpose of a VLAN database on a switch?

  • Stores VLAN IDs and names for configuration and reference
  • Controls physical port speed
  • Stores DNS records for the switch
  • Manages SSH credentials
A

βœ… Correct Answer: Stores VLAN IDs and names for configuration and reference

πŸ“˜ Explanation: The VLAN database keeps track of configured VLANs and their associated details, allowing for consistent application.

πŸ“Œ Practical Use Case: A network admin uses the VLAN database to check which VLAN IDs are already in use before creating a new one.

πŸ“š Exam Objective Reference: 2.2 – VLAN database

πŸ” Follow-Up: How can you view or modify the VLAN database on a Cisco switch?

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

What is a Switch Virtual Interface (SVI) used for?

  • Tags traffic with 802.1Q headers
  • Extends a VLAN across routers
  • Assigns MAC addresses to ports
  • Provides Layer 3 IP connectivity to a VLAN
A

βœ… Correct Answer: Provides Layer 3 IP connectivity to a VLAN

πŸ“˜ Explanation: SVIs allow switches to route between VLANs by assigning IP addresses to virtual interfaces.

πŸ“Œ Practical Use Case: A network uses SVIs to route traffic between VLAN 10 and VLAN 20 internally without a separate router.

πŸ“š Exam Objective Reference: 2.2 – Switch Virtual Interface (SVI)

πŸ” Follow-Up: What command is used to assign an IP address to an SVI?

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

What is the function of a native VLAN on a trunk port?

  • Prevents VLAN hopping
  • Carries untagged traffic across the trunk link
  • Encrypts VLAN data
  • Assigns a dynamic VLAN ID to voice devices
A

βœ… Correct Answer: Carries untagged traffic across the trunk link

πŸ“˜ Explanation: The native VLAN allows untagged traffic to pass on trunk ports, typically used for management or legacy devices.

πŸ“Œ Practical Use Case: A printer that doesn’t support VLAN tagging is placed on the native VLAN so it can still communicate.

πŸ“š Exam Objective Reference: 2.2 – Native VLAN

πŸ” Follow-Up: What risk is associated with an unconfigured native VLAN?

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

How is a voice VLAN different from a data VLAN?

  • It encrypts all data traffic
  • It assigns static IP addresses
  • It blocks internet access
  • It prioritizes traffic for IP phones using QoS
A

βœ… Correct Answer: It prioritizes traffic for IP phones using QoS

πŸ“˜ Explanation: Voice VLANs are configured to ensure voice traffic receives higher priority over data on the same link.

πŸ“Œ Practical Use Case: IP phones and computers share a port; the phone uses the voice VLAN for guaranteed call quality.

πŸ“š Exam Objective Reference: 2.2 – Voice VLAN

πŸ” Follow-Up: What switch configuration enables a port to support both voice and data VLANs?

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

What does 802.1Q tagging allow on a trunk link?

  • It disables MAC flooding
  • It encrypts VLAN traffic
  • It prevents duplex mismatches
  • It allows multiple VLANs to be identified over a single physical connection
A

βœ… Correct Answer: It allows multiple VLANs to be identified over a single physical connection

πŸ“˜ Explanation: 802.1Q tagging inserts VLAN ID headers into Ethernet frames for proper delivery across trunk links.

πŸ“Œ Practical Use Case: A switch uses 802.1Q to send VLAN 10 and VLAN 20 traffic to another switch over the same port.

πŸ“š Exam Objective Reference: 2.2 – 802.1Q tagging

πŸ” Follow-Up: What field in the Ethernet frame is modified by 802.1Q?

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

What is the benefit of link aggregation?

  • Allows VoIP without VLANs
  • Increases bandwidth and provides redundancy between switches
  • Prevents switch boot failures
  • Disables broadcast domains
A

βœ… Correct Answer: Increases bandwidth and provides redundancy between switches

πŸ“˜ Explanation: Link aggregation combines multiple physical links into a single logical link to improve performance and failover.

πŸ“Œ Practical Use Case: Two switches are connected with four Ethernet cables in an aggregated group to improve throughput.

πŸ“š Exam Objective Reference: 2.2 – Link aggregation

πŸ” Follow-Up: What protocols are used for link aggregation negotiation?

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

What does configuring a switch port for auto speed do?

  • Allows the port to negotiate speed with the connected device
  • Forces full duplex mode
  • Disables VLAN tagging
  • Locks the port at 100 Mbps
A

βœ… Correct Answer: Allows the port to negotiate speed with the connected device

πŸ“˜ Explanation: Auto speed enables devices to negotiate the highest mutually supported speed during connection setup.

πŸ“Œ Practical Use Case: A technician plugs a laptop into a switch, and the port auto-negotiates to 1 Gbps based on the NIC.

πŸ“š Exam Objective Reference: 2.2 – Speed

πŸ” Follow-Up: What happens if auto speed fails to negotiate properly?

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

What is a common symptom of a duplex mismatch between two switch ports?

  • Incorrect VLAN assignment
  • Slow network performance and high collisions
  • Broadcast storm from STP
  • MAC address duplication
A

βœ… Correct Answer: Slow network performance and high collisions

πŸ“˜ Explanation: Duplex mismatches result in one side using full duplex while the other uses half, causing frame loss and retransmissions.

πŸ“Œ Practical Use Case: A user reports slow file transfers because their PC is set to full duplex, but the switch port is on half duplex.

πŸ“š Exam Objective Reference: 2.2 – Duplex

πŸ” Follow-Up: How can you check duplex settings on a Cisco switch?

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

What is the primary function of Spanning Tree Protocol (STP)?

  • Prevents switching loops by blocking redundant paths
  • Configures access control lists
  • Assigns IP addresses to switches
  • Encrypts VLAN traffic
A

βœ… Correct Answer: Prevents switching loops by blocking redundant paths

πŸ“˜ Explanation: STP detects and disables redundant switch paths to prevent broadcast storms and loops.

πŸ“Œ Practical Use Case: A network uses STP to block one of two paths between switches to avoid looping broadcast traffic.

πŸ“š Exam Objective Reference: 2.2 – Spanning Tree

πŸ” Follow-Up: What is the default STP protocol version used by most modern switches?

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

What is a jumbo frame?

  • A packet used only by STP
  • A frame that contains multiple VLAN tags
  • An Ethernet frame that exceeds the standard 1500-byte MTU
  • A broadcast frame with priority tagging
A

βœ… Correct Answer: An Ethernet frame that exceeds the standard 1500-byte MTU

πŸ“˜ Explanation: Jumbo frames allow larger payloads (often 9000 bytes) to reduce overhead in high-throughput environments.

πŸ“Œ Practical Use Case: A storage network enables jumbo frames to optimize file transfers over a 10 Gbps link.

πŸ“š Exam Objective Reference: 2.2 – MTU / Jumbo Frames

πŸ” Follow-Up: Why must all devices in a path support jumbo frames for them to work correctly?

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

What does BPDU Guard do in Spanning Tree Protocol?

  • Disables a port if a BPDU is received, protecting the STP topology
  • Sends BPDUs to all VLANs
  • Enables jumbo frame inspection
  • Automatically promotes the port to root
A

βœ… Correct Answer: Disables a port if a BPDU is received, protecting the STP topology

πŸ“˜ Explanation: BPDU Guard prevents edge ports from participating in STP if a BPDU is received, protecting against rogue switches.

πŸ“Œ Practical Use Case: BPDU Guard shuts down a user port that mistakenly receives a BPDU from an unauthorized switch.

πŸ“š Exam Objective Reference: 2.2 – Spanning Tree (BPDU Guard)

πŸ” Follow-Up: When should BPDU Guard be enabled on access ports?

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

What is the purpose of Loop Guard in Spanning Tree Protocol?

  • Prevents loops by blocking ports that stop receiving BPDUs
  • Forces root bridge reelection
  • Enables load balancing on VLANs
  • Allows voice VLANs on trunk ports
A

βœ… Correct Answer: Prevents loops by blocking ports that stop receiving BPDUs

πŸ“˜ Explanation: Loop Guard maintains STP stability by blocking non-designated ports if BPDUs stop arriving unexpectedly.

πŸ“Œ Practical Use Case: A port stops receiving BPDUs due to a unidirectional link; Loop Guard keeps the port in a blocking state.

πŸ“š Exam Objective Reference: 2.2 – Spanning Tree (Loop Guard)

πŸ” Follow-Up: How does Loop Guard differ from Root Guard?

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

What are the main STP port states during convergence?

  • Initialize, Commit, Accept
  • Hold, Start, Push, Pull
  • Blocking, Listening, Learning, Forwarding, Disabled
  • Idle, Waiting, Sending, Receiving
A

βœ… Correct Answer: Blocking, Listening, Learning, Forwarding, Disabled

πŸ“˜ Explanation: STP transitions ports through several states to safely establish a loop-free topology.

πŸ“Œ Practical Use Case: A technician observes a port in the learning state while STP recalculates after a topology change.

πŸ“š Exam Objective Reference: 2.2 – Spanning Tree

πŸ” Follow-Up: Which port state learns MAC addresses but doesn’t forward frames?

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

What happens when MTU values are mismatched between switches?

  • STP disables the interfaces
  • MAC address tables are erased
  • VLANs are merged automatically
  • Traffic may be dropped or fragmented, causing performance issues
A

βœ… Correct Answer: Traffic may be dropped or fragmented, causing performance issues

πŸ“˜ Explanation: MTU mismatches lead to dropped frames or fragmentation, especially with jumbo frames.

πŸ“Œ Practical Use Case: A switch fails to transfer large backup files due to MTU mismatch with the upstream core switch.

πŸ“š Exam Objective Reference: 2.2 – MTU

πŸ” Follow-Up: What command can verify MTU on a Cisco interface?

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

How can you verify if jumbo frames are supported on a switch port?

  • Check the MTU setting and supported frame size on the interface
  • Enable port security and check logs
  • Use STP root guard
  • Ping the VLAN interface
A

βœ… Correct Answer: Check the MTU setting and supported frame size on the interface

πŸ“˜ Explanation: You must confirm the interface supports higher-than-standard MTU and that jumbo frames are enabled.

πŸ“Œ Practical Use Case: An admin enables jumbo frames to support a SAN that requires 9000-byte frames.

πŸ“š Exam Objective Reference: 2.2 – Jumbo Frames

πŸ” Follow-Up: How do you test jumbo frame support using ping?

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

What does ‘allowed VLANs’ mean in trunk configuration?

  • Creates new VLANs automatically
  • Specifies which VLANs are permitted to traverse the trunk link
  • Blocks voice VLANs by default
  • Forces trunk ports to become access ports
A

βœ… Correct Answer: Specifies which VLANs are permitted to traverse the trunk link

πŸ“˜ Explanation: Allowed VLANs limit trunk traffic to only those explicitly listed, enhancing control and security.

πŸ“Œ Practical Use Case: An admin restricts a trunk to only carry VLANs 10, 20, and 30 to prevent broadcast storms.

πŸ“š Exam Objective Reference: 2.2 – Trunking

πŸ” Follow-Up: What command shows which VLANs are allowed on a trunk?

17
Q

What occurs if a VLAN is not allowed on a trunk link?

  • The switch shuts down
  • Port changes to dynamic mode
  • Traffic for that VLAN is dropped at the trunk port
  • VLAN is automatically created
A

βœ… Correct Answer: Traffic for that VLAN is dropped at the trunk port

πŸ“˜ Explanation: If a VLAN isn’t part of the trunk’s allowed list, frames tagged with that VLAN are discarded.

πŸ“Œ Practical Use Case: VLAN 50 traffic doesn’t pass between switches because it’s not included in the trunk’s allowed VLAN list.

πŸ“š Exam Objective Reference: 2.2 – Trunking

πŸ” Follow-Up: How do you add a VLAN to the allowed list on a trunk port?

18
Q

What is a sign of misconfigured voice and data VLANs on a switch port?

  • MAC address flooding
  • STP loop detection
  • Excessive broadcast traffic
  • Phones fail to get IP addresses or register with the call server
A

βœ… Correct Answer: Phones fail to get IP addresses or register with the call server

πŸ“˜ Explanation: Incorrect VLAN assignment can prevent IP phones from communicating with DHCP or VoIP services.

πŸ“Œ Practical Use Case: An office reports all phones offline because the switch ports have no voice VLAN configured.

πŸ“š Exam Objective Reference: 2.2 – Voice VLAN

πŸ” Follow-Up: What Cisco command assigns a voice VLAN to a port?

19
Q

What issue arises when two trunk ports have different native VLANs?

  • Trunk negotiation is reversed
  • All ports enter blocking state
  • Untagged traffic is misinterpreted, leading to VLAN confusion
  • STP is disabled
A

βœ… Correct Answer: Untagged traffic is misinterpreted, leading to VLAN confusion

πŸ“˜ Explanation: Mismatch in native VLANs causes untagged frames to be misrouted or discarded.

πŸ“Œ Practical Use Case: A network sees management traffic dropped between switches due to mismatched native VLANs.

πŸ“š Exam Objective Reference: 2.2 – Native VLAN

πŸ” Follow-Up: What command checks native VLAN on both sides of a trunk?

20
Q

What causes a link aggregation group to fail even if physical links are connected?

  • MAC address aging timers
  • Port security is disabled
  • Inconsistent port settings (speed, duplex, VLANs)
  • Trunking protocol mismatch
A

βœ… Correct Answer: Inconsistent port settings (speed, duplex, VLANs)

πŸ“˜ Explanation: All physical interfaces in an aggregation group must have identical configurations.

πŸ“Œ Practical Use Case: Only 2 of 4 aggregated ports come online due to a speed mismatch on one port.

πŸ“š Exam Objective Reference: 2.2 – Link Aggregation

πŸ” Follow-Up: Which show command helps verify port-channel consistency?

21
Q

How can you test if STP is blocking a redundant link?

  • Enable port security
  • Change interface to access mode
  • Use show spanning-tree to check port state
  • Ping the root bridge directly
A

βœ… Correct Answer: Use show spanning-tree to check port state

πŸ“˜ Explanation: The show spanning-tree command displays each port’s STP state, confirming if it’s forwarding or blocking.

πŸ“Œ Practical Use Case: An admin sees one uplink in blocking state to prevent loops due to STP topology decisions.

πŸ“š Exam Objective Reference: 2.2 – Spanning Tree

πŸ” Follow-Up: What causes a port to enter blocking state in STP?

22
Q

Why is the native VLAN a potential security risk?

  • It disables voice VLAN functionality
  • It triggers jumbo frame floods
  • It prevents STP from operating
  • Untagged traffic can be intercepted or misrouted if not secured
A

βœ… Correct Answer: Untagged traffic can be intercepted or misrouted if not secured

πŸ“˜ Explanation: Since untagged traffic travels on the native VLAN, attackers can exploit misconfigurations or spoof VLANs.

πŸ“Œ Practical Use Case: An attacker gains access to sensitive data by injecting untagged traffic into a trunk link using the native VLAN.

πŸ“š Exam Objective Reference: 2.2 – Native VLAN

πŸ” Follow-Up: How can you secure the native VLAN on trunk ports?

23
Q

What happens if both ends of a trunk port are set to different native VLANs?

  • Trunking is disabled
  • Spanning Tree blocks the port
  • Voice VLAN is automatically reset
  • Traffic may be misrouted or dropped due to VLAN mismatch
A

βœ… Correct Answer: Traffic may be misrouted or dropped due to VLAN mismatch

πŸ“˜ Explanation: A native VLAN mismatch can cause confusion about which VLAN untagged traffic belongs to, disrupting communication.

πŸ“Œ Practical Use Case: Two switches on a trunk link fail to pass management traffic due to native VLAN mismatch.

πŸ“š Exam Objective Reference: 2.2 – Native VLAN

πŸ” Follow-Up: What command shows native VLAN configuration on a trunk?

24
Q

How does a switch treat voice traffic in a configured voice VLAN?

  • It tags voice traffic for prioritization over data
  • It blocks it from crossing trunk links
  • It compresses it before transmission
  • It tunnels it over HTTP
A

βœ… Correct Answer: It tags voice traffic for prioritization over data

πŸ“˜ Explanation: Voice VLANs tag voice traffic for QoS, ensuring lower latency and jitter.

πŸ“Œ Practical Use Case: An IP phone on a switch port sends voice traffic over the voice VLAN and data traffic from a PC on the same port over the data VLAN.

πŸ“š Exam Objective Reference: 2.2 – Voice VLAN

πŸ” Follow-Up: Which command assigns a voice VLAN to a switch port?

25
What does link aggregation require to function correctly? - Matching speed and duplex on all aggregated interfaces - Dynamic VLAN assignment - Multiple routing protocols enabled - Jumbo frames disabled
βœ… Correct Answer: Matching speed and duplex on all aggregated interfaces πŸ“˜ Explanation: All links in an aggregation group must match in speed and duplex to operate without errors. πŸ“Œ Practical Use Case: A switch blocks one of four aggregated links because it’s set to half-duplex while others are full-duplex. πŸ“š Exam Objective Reference: 2.2 – Link aggregation πŸ” Follow-Up: Which protocol dynamically negotiates link aggregation?
26
What condition can cause a duplex mismatch? - Both devices use the same MAC address - One device is set to auto and the other is hardcoded to full - IP conflict on different VLANs - STP is disabled on both sides
βœ… Correct Answer: One device is set to auto and the other is hardcoded to full πŸ“˜ Explanation: Auto-negotiation can fall back to half-duplex if the peer is forced to full, leading to mismatch. πŸ“Œ Practical Use Case: A PC connected to a switch has poor performance due to a duplex mismatch. πŸ“š Exam Objective Reference: 2.2 – Duplex πŸ” Follow-Up: How can you resolve duplex mismatches on Cisco devices?
27
What is the result of enabling jumbo frames? - More frequent STP recalculations - Faster VLAN discovery - Larger Ethernet frames can be transmitted to reduce overhead - Broadcast traffic is blocked
βœ… Correct Answer: Larger Ethernet frames can be transmitted to reduce overhead πŸ“˜ Explanation: Jumbo frames increase efficiency by allowing more data per frame but require uniform support across the path. πŸ“Œ Practical Use Case: A storage system enables jumbo frames for better performance on 10 Gbps links. πŸ“š Exam Objective Reference: 2.2 – Jumbo Frames πŸ” Follow-Up: What is the typical MTU size for a jumbo frame?
28
Which scenario best describes a VLAN hopping attack? - An attacker sends double-tagged frames to access a different VLAN - Voice VLAN is reconfigured dynamically - STP is disabled and causes a loop - An attacker uses jumbo frames to overflow buffers
βœ… Correct Answer: An attacker sends double-tagged frames to access a different VLAN πŸ“˜ Explanation: VLAN hopping takes advantage of misconfigured trunk ports to inject traffic into other VLANs. πŸ“Œ Practical Use Case: A compromised device forges 802.1Q tags to jump from VLAN 10 to VLAN 20. πŸ“š Exam Objective Reference: 2.2 – VLAN/802.1Q πŸ” Follow-Up: How can VLAN hopping be prevented on access ports?
29
What is the role of the root bridge in Spanning Tree Protocol? - Blocks all trunk ports by default - Routes VLAN traffic - Serves as the central point for calculating the spanning tree topology - Assigns IP addresses to hosts
βœ… Correct Answer: Serves as the central point for calculating the spanning tree topology πŸ“˜ Explanation: The root bridge is the anchor switch from which all path costs are calculated in STP. πŸ“Œ Practical Use Case: A network administrator manually assigns bridge priority to control the STP root bridge. πŸ“š Exam Objective Reference: 2.2 – Spanning Tree πŸ” Follow-Up: Which STP attribute determines the root bridge?
30
What happens when multiple switches in a network form a loop without STP? - Broadcast storms and MAC table instability occur - Speed and duplex mismatch - Switches enter VTP transparent mode - Switch ports convert to access mode
βœ… Correct Answer: Broadcast storms and MAC table instability occur πŸ“˜ Explanation: Without STP, redundant paths result in endless frame forwarding, flooding the network. πŸ“Œ Practical Use Case: A new switch added without STP causes the entire LAN to slow down due to looping broadcasts. πŸ“š Exam Objective Reference: 2.2 – Spanning Tree πŸ” Follow-Up: How can you confirm STP is enabled on a port?
31
Which parameter must match on both sides of a trunk link for it to function properly? - MAC address table age - Port security settings - Encapsulation type (e.g., 802.1Q) - Switch hostname
βœ… Correct Answer: Encapsulation type (e.g., 802.1Q) πŸ“˜ Explanation: Trunk ports must agree on the encapsulation method to properly tag and interpret VLAN frames. πŸ“Œ Practical Use Case: A trunk link fails to pass VLAN traffic because one side uses ISL and the other uses 802.1Q. πŸ“š Exam Objective Reference: 2.2 – Trunking πŸ” Follow-Up: What command verifies encapsulation type on a trunk port?