Courseiva

CCNA Switching Network Access Questions

75 of 320 questions · Page 4/5 · Switching Network Access topic · Answers revealed

226
Multi-Selecthard

Which two conditions must match on two switch ports before they can successfully form a Layer 2 EtherChannel? (Choose two.)

Select 2 answers
A.The switchport mode and VLAN settings
B.The STP root bridge ID on both switches
C.The speed and duplex settings
D.The interface description
E.The ARP timeout value
AnswersA, C

For an EtherChannel to operate correctly, each member port on both switches must be assigned the same switchport mode (access or trunk) and, if trunking, the identical set of allowed VLANs. When mode or VLAN permissions differ across links, frames may be dropped or forwarded inconsistently because the channel treats all member ports as a single logical link, and STP or negotiation protocols will reject the bundle if these attributes disagree.

Why this answer

Layer 2 EtherChannel members must have compatible Layer 2 configuration. Port mode, VLAN-related settings, speed, and duplex all need to align for the bundle to form correctly.

Exam trap

Remember that EtherChannel requires consistent speed and duplex settings, and also consistent switchport mode (access or trunk) and allowed VLANs.

Why the other options are wrong

B

This option is wrong because the STP root bridge ID does not directly affect the formation of an EtherChannel; EtherChannel requires matching port configurations, not spanning tree parameters.

D

The interface description does not affect the formation of an EtherChannel, as it is merely a label for identification purposes and does not influence Layer 2 connectivity or protocol negotiation.

E

The ARP timeout value does not affect the formation of a Layer 2 EtherChannel, as EtherChannel operates at Layer 2 and is concerned with port configurations, not Layer 3 settings like ARP.

227
MCQmedium

A user says the phone connected to a switch port works, but the attached PC does not get network access. What is the most likely switch-side issue?

A.The access VLAN for the PC is misconfigured
B.The voice VLAN should always match the access VLAN
C.PortFast blocks the PC from sending traffic
D.The phone requires the switch to be in trunk mode
AnswerA

In a typical IP phone topology, the phone passes PC traffic toward the switch as untagged frames, relying on the port's access VLAN assignment. If the PC's access VLAN is incorrect or doesn't match the intended data subnet, the PC receives no valid IP connectivity even though the phone registers. The voice VLAN only affects the phone's tagged voice traffic; it does not fix PC data VLAN misconfiguration.

Why this answer

An IP phone can use a voice VLAN while the attached PC uses the access VLAN. If the access VLAN is missing or wrong, the phone may still work while the PC fails.

Exam trap

Ensure you understand the difference between voice and access VLANs and how they affect different devices on the same port.

Why the other options are wrong

B

The voice VLAN and access VLAN are typically different; matching them would defeat the purpose of separating voice and data traffic, and it would not cause the PC to lose network access.

D

In the described scenario, the phone works but the PC does not, indicating a VLAN mismatch for the PC's access VLAN, not a trunk mode issue. Trunk mode is not required for a phone; instead, the switch port typically uses a voice VLAN and an access VLAN, with the phone tagging voice traffic and passing PC traffic untagged.

228
MCQhard

A switch has a root port and an alternate port for the same VLAN. Which statement best explains the operational role of the alternate port?

A.It is a backup path toward the root bridge and normally does not forward while the active root path is healthy.
B.It always forwards traffic at the same time as the root port for load balancing.
C.It is the port that elects the root bridge for the VLAN.
D.It is a special routed port used for inter-VLAN communication.
AnswerA

In Rapid PVST+ or classic STP, an alternate port receives a superior BPDU from another switch on the same segment, providing a redundant path to the root. It remains in discarding/blocking state while the root port is healthy, and only transitions to forwarding if the root port fails, ensuring a loop-free topology while preserving redundancy.

Why this answer

The alternate port acts as a backup path toward the root bridge and stays in a non-forwarding state under normal conditions. In practical terms, STP keeps it ready in case the active path fails, but it does not allow it to forward frames while the primary root path is healthy. That is how STP preserves redundancy without creating loops.

This question is useful because many learners understand root ports and designated ports but do not clearly understand what the alternate role represents.

Exam trap

Don't confuse STP's redundancy roles with load balancing or congestion management. Remember, alternate ports are for backup, not active traffic routing.

Why the other options are wrong

B

Option B is incorrect because an alternate port does not forward traffic while the root port is active; it serves as a backup path and only becomes active if the root port fails.

C

This option is wrong because the alternate port does not participate in the election process for the root bridge; it only serves as a backup path to the root bridge once it is established.

D

Option D is incorrect because an alternate port is not a routed port; it operates at Layer 2 and is part of the Spanning Tree Protocol, which does not involve routing functionalities for inter-VLAN communication.

229
MCQhard

A trunk between two switches is up, but users in VLAN 40 cannot communicate across it. The output shows both sides allow VLAN 40. What is another likely trunk-related cause to check next?

A.Native VLAN mismatch between the two trunk ends
B.Missing router ID in OSPF
C.Incorrect NTP source interface
D.Lack of PAT overload on the WAN router
AnswerA

A native VLAN mismatch on an 802.1Q trunk means each switch expects a different VLAN ID for untagged frames. If VLAN 40 is the native VLAN on one side but not the other, frames sent untagged from one switch are received and categorized into the wrong VLAN or dropped, breaking connectivity for that VLAN. This is a classic trunk misconfiguration to verify after confirming the allowed VLAN list includes VLAN 40 on both ends. Cisco best practice is to set the native VLAN to an unused VLAN or ensure it matches exactly on both trunk peers.

Why this answer

If VLAN 40 is allowed on both ends and the trunk is up, a native VLAN mismatch is still worth checking because trunk problems are not limited to the allowed VLAN list. In plain language, the link may be carrying traffic, but if the two switches disagree on how untagged traffic should be treated, behavior can still become unpredictable. Native VLAN mismatches are a well-known source of warnings and unexpected traffic handling on 802.1Q trunks.

That does not mean every VLAN problem is caused by the native VLAN, but once the obvious allowed-list issue has been ruled out, it becomes a logical next trunk-specific item to verify.

Exam trap

Don't assume that allowed VLANs are the only trunk-related issue; native VLAN mismatches can also disrupt communication.

Why the other options are wrong

B

This option is wrong because the question specifically addresses VLAN communication issues over a trunk link, which are unrelated to OSPF router ID configuration. OSPF router ID affects routing protocols, not VLAN traffic directly.

C

NTP source interface is unrelated to VLAN communication issues over a trunk link; it primarily affects time synchronization across devices. Since the question focuses on VLAN connectivity, this option does not address the core problem.

D

Lack of PAT overload on the WAN router is unrelated to VLAN communication issues between switches. This option pertains to address translation for outbound traffic, not VLAN trunking problems.

230
PBQhard

You are connected to a multilayer switch MLS1. The network has two other switches SW1 and SW2 forming a triangle topology. Currently, SW1 is the root bridge but it should be SW2. Additionally, configure PortFast and BPDU Guard on interface GigabitEthernet0/2 of MLS1, which connects to a host. Simulate a BPDU violation on that port and then recover the port from err-disabled state.

Network Topology
Gi0/0Gi0/0Gi0/1Gi0/1Gi0/2Gi0/2Gi0/2SiMLS1SW1SW2Host

Hints

  • •Check which switch is currently root and change the priority on MLS1 to allow SW2 to become root.
  • •The err-disabled port needs to be re-enabled with 'no shutdown' after the cause is removed.
  • •Ensure PortFast and BPDU Guard are configured on the edge port.
A.On MLS1, remove 'spanning-tree vlan 1 root primary' and set priority to 4096; on SW2, set priority to 0. On MLS1 Gi0/2, configure 'spanning-tree portfast' and 'spanning-tree bpduguard enable'. After BPDU violation, recover with 'shutdown' then 'no shutdown'.
B.On MLS1, set priority to 0 to make it root; on SW2, set priority to 4096. On MLS1 Gi0/2, configure 'spanning-tree portfast' and 'spanning-tree bpduguard enable'. After BPDU violation, recover by removing BPDU Guard.
C.On MLS1, remove 'spanning-tree vlan 1 root primary' and set priority to 4096; on SW2, set priority to 0. On MLS1 Gi0/2, configure 'spanning-tree portfast' and 'spanning-tree bpduguard enable'. After BPDU violation, recover by reloading MLS1.
D.On MLS1, set priority to 0; on SW2, set priority to 4096. On MLS1 Gi0/2, configure 'spanning-tree portfast' and 'spanning-tree bpduguard enable'. After BPDU violation, recover with 'no shutdown'.
AnswerA
solution
! MLS1
configure terminal
no spanning-tree vlan 1 root primary
spanning-tree vlan 1 priority 4096
interface gigabitEthernet 0/2
no shutdown

Why this answer

Currently, SW1 is the root bridge per the topology, but the goal is to make SW2 the root. On MLS1, removing the 'spanning-tree vlan 1 root primary' command and setting a higher priority (4096) ensures it does not interfere. On SW2, set priority to 0 to make it root.

On MLS1 Gi0/2, configure PortFast and BPDU Guard. If a BPDU is received, the port goes err-disabled; to recover, issue 'shutdown' then 'no shutdown' after resolving the BPDU source.

Exam trap

Trap: Candidates may forget that the root bridge is determined by lowest priority. They might set the wrong switch to lower priority or use incorrect recovery methods like reloading or removing BPDU Guard.

Why the other options are wrong

B

The specific factual error: Setting MLS1 priority to 0 makes it root, opposite of the requirement. Removing BPDU Guard does not recover the port; 'no shutdown' is needed.

C

The specific factual error: Reloading the switch is not the standard recovery for an err-disabled port; 'no shutdown' is the proper command.

D

The specific factual error: MLS1 should have a higher priority (e.g., 4096) and SW2 a lower priority (e.g., 0) to make SW2 root. The option does the opposite.

231
MCQhard

Exhibit: Users on SW2 in VLAN 30 can reach local devices but not hosts in VLAN 30 on SW1. What is the most likely reason?

A.The trunk native VLAN is 1 on both sides
B.VLAN 30 is not allowed on the trunk
C.SW2 must run VTP server mode
D.Spanning tree blocks all user VLANs by default
AnswerB

Inter-switch traffic for a VLAN requires that VLAN to be present in the trunk's allowed list on both ends. When VLAN 30 is omitted or 'pruned' from that list, frames are discarded at the trunk port, so SW2's local clients can communicate within their broadcast domain but cannot reach devices beyond the switch. The command 'show interfaces trunk' would reveal that VLAN 30 is not in the allowed VLAN list, confirming the filter is the cause.

Why this answer

The trunk is allowing only VLANs 10 and 20. Even though both switches have VLAN 30 defined locally, VLAN 30 traffic cannot cross the trunk unless that VLAN is allowed on the link. Option A is incorrect because the native VLAN (default 1) does not affect tagged VLAN 30 traffic, and native VLAN mismatch causes different issues.

Option C is incorrect because VTP is used for VLAN database synchronization, not for forwarding traffic over a trunk; switches do not need to be VTP servers to pass VLAN traffic. Option D is incorrect because spanning tree only blocks redundant paths to prevent loops, not all user VLANs by default.

Exam trap

Ensure you verify trunk configurations when VLAN traffic is not passing between switches, even if VLANs are correctly configured locally.

Why the other options are wrong

A

This option is incorrect because the native VLAN being set to 1 does not prevent VLAN 30 traffic from being transmitted across the trunk link. The issue lies in VLAN 30 not being allowed on the trunk, which is not addressed by the native VLAN setting.

C

This option is incorrect because VTP server mode is not required for VLANs to communicate across switches; VLAN configuration can be done independently on each switch. The issue in the question is related to trunking and VLAN allowance, not VTP mode.

D

Spanning Tree Protocol (STP) does not block all user VLANs by default; it only blocks specific ports to prevent loops. In this case, the issue is related to VLAN 30 not being allowed on the trunk, not STP blocking the VLAN.

232
MCQhard

A network administrator has several access points. All APs except one have successfully joined the wireless controller. The administrator verifies the failing AP’s IP address, subnet mask, and controller IP address are correctly configured. What is the most likely reason the AP cannot join the controller?

A.The AP has an incorrect default gateway for its subnet.
B.CAPWAP can be used only if the AP has no IP address.
C.The AP must use PPP instead of Ethernet to reach the controller.
D.The controller can support only 14 APs maximum.
AnswerA

If the AP's default gateway is incorrect, the access point cannot route CAPWAP packets off its local subnet to reach a controller on a different IP subnet. CAPWAP discovery and join responses from the controller would never arrive, even though the AP's own IP address and controller discovery mechanism (such as DNS or broadcast) are correctly set. The result is the AP stuck in an unjoined/disabled state, exactly as shown.

Why this answer

The most likely cause is that the AP has an incorrect default gateway. For the AP to reach the controller (which may be on a different subnet), it needs a correct default gateway to route traffic. The other APs joined successfully, eliminating a controller-wide issue.

Option B is incorrect because CAPWAP requires an IP address; it does not work without one. Option C is incorrect because CAPWAP uses IP/UDP, not PPP. Option D is unlikely because there is no indication that the controller is at its AP limit; the problem affects only one AP, suggesting an individual misconfiguration.

Exam trap

Avoid assuming global issues when only one AP is affected; focus on individual AP configuration and connectivity.

Why the other options are wrong

B

CAPWAP tunnels require the AP to have an IP address; the statement is false.

C

CAPWAP operates over IP using UDP ports, not PPP.

D

The controller may have an AP capacity limit, but with only one AP failing and no evidence that the limit is 14, this is not the strongest explanation.

233
MCQhard

Refer to the exhibit. A network engineer notices that a user connected to GigabitEthernet0/5 cannot access the network. The engineer issues the show port-security interface GigabitEthernet0/5 command. Based on the output, what is the most likely cause of the issue?

A.The interface is administratively shut down.
B.An unauthorized device with a different MAC address was connected, triggering a port-security violation and placing the port in an error-disabled state.
C.The sticky MAC address feature is disabled, allowing any MAC address to cause a violation.
D.The maximum number of secure MAC addresses has been exceeded, causing the port to err-disable.
AnswerB

The output shows 'Port Status: Secure-shutdown' after a violation, a violation count of 3, and the 'Last Source Address' (aaaa.bbbb.cccc) differing from the sticky MAC. This confirms an unauthorized MAC triggered the violation and shut down the port.

Why this answer

The output of 'show port-security interface GigabitEthernet0/5' would show a port status of 'err-disabled' and a security violation count greater than zero. This occurs because an unauthorized device with a different MAC address connected to the port, triggering a port-security violation (typically a security violation action of 'shutdown'), which places the interface in an error-disabled state. This matches the scenario where the user cannot access the network.

Exam trap

Cisco often tests the distinction between the violation action 'shutdown' (which err-disables the port) and 'restrict' or 'protect' (which do not err-disable), and candidates may confuse exceeding the maximum MAC addresses with the specific trigger of a different MAC address being seen after the maximum is already learned.

Why the other options are wrong

A

A common misconception is that any down state is an admin shutdown, but Cisco IOS distinguishes 'Secure-shutdown' for port-security errdisable from 'administratively down'.

C

Some candidates misread the output and assume sticky is off, but the presence of a sticky MAC count proves it is active.

D

It is tempting to assume any violation with maximum 1 is due to exceeding the limit, but in this case the secure MAC is the original sticky address, and the violation is from a different unauthorized MAC, which still respects the limit count but fails the authorization check.

234
MCQeasy

A network technician is configuring a new Cisco switch. The technician wants to connect a server that requires 802.1Q trunking to carry multiple VLANs. The server's network interface card supports VLAN tagging and is configured to use VLAN 10, 20, and 30. Which switch port mode should be configured on the switch port connected to the server?

A.Access mode
B.Dynamic auto mode
C.Dynamic desirable mode
D.Trunk mode
AnswerD

Trunk mode allows multiple VLANs to traverse the link by tagging frames with VLAN IDs. The server's NIC supports 802.1Q tagging and needs to communicate on VLANs 10, 20, and 30. Configuring the switch port as a trunk will enable this functionality.

Why this answer

Trunk mode is required to carry multiple VLANs over a single link. The server supports 802.1Q tagging, so configuring the switch port as a trunk allows VLAN 10, 20, and 30 traffic to pass. Access mode is for single VLAN, and dynamic modes rely on DTP, which the server does not support.

Exam trap

The trap here is assuming that dynamic auto or desirable modes will work with a server, but they require DTP, which servers typically do not support.

235
MCQhard

Which command output would be the best next step to verify whether the port-channel is operational after configuration changes?

A.show etherchannel summary
B.show ip ospf neighbor
C.show ip route
D.show access-lists
AnswerA

This command displays the EtherChannel bundle status, including the port-channel interface, member ports, and their state (e.g., LACP, PAgP, or static). It directly shows whether the port channel is up and which physical interfaces are bundled, making it the best next step to confirm EtherChannel operation.

Why this answer

The best next step is to check EtherChannel status directly. In practical terms, after fixing the member-link configuration, the quickest verification is to inspect the summary output that shows whether the bundle exists and whether the member ports are actively participating. That is more direct than checking unrelated switching or routing tables.

This is a simulation-style 'what do you verify next' question, which is important for realistic CCNA prep.

Exam trap

Avoid confusing general interface or trunk status with specific EtherChannel status. Always use the command that directly addresses the feature in question.

Why the other options are wrong

B

The command 'show ip ospf neighbor' is used to display OSPF neighbor relationships, which is not directly related to verifying the operational status of a port-channel. This command would not provide information about the port-channel configuration or status.

C

The command 'show ip route' is used to display the routing table of a device, which does not provide information about the operational status of a port-channel after configuration changes.

D

The command 'show access-lists' is not relevant for verifying the operational status of a port-channel; it focuses on access control lists rather than link aggregation status.

236
PBQhard

You are connected to SW1. Configure an LACP EtherChannel between SW1 and SW2 using ports GigabitEthernet0/1 and GigabitEthernet0/2. Set the channel-group mode to active on both sides. The port-channel interface should be configured as a trunk allowing VLANs 10, 20, and 30. Initially, the EtherChannel fails to form due to mismatched speed/duplex on one link. Identify and correct the issue, then verify the channel is up and operational.

Network Topology
Gi0/1-Gi0/2Gi0/1-Gi0/2EtherChannelSW1SW2

Hints

  • •Check the speed and duplex settings on each member interface.
  • •LACP requires all ports in the channel to have identical speed and duplex.
  • •Use 'show interfaces status' to quickly see speed/duplex mismatches.
A.Change speed and duplex on Gi0/2 to 1000 and full, then verify with 'show etherchannel summary'.
B.Change the channel-group mode on Gi0/2 to passive, then verify with 'show etherchannel summary'.
C.Change the allowed VLANs on the port-channel to include only VLAN 1, then verify with 'show etherchannel summary'.
D.Change the port-channel interface to access mode, then verify with 'show etherchannel summary'.
AnswerA
solution
! SW1
interface GigabitEthernet0/2
speed 1000
duplex full

Why this answer

The EtherChannel fails because GigabitEthernet0/2 has speed 100 and duplex half, while GigabitEthernet0/1 has speed 1000 and duplex full. LACP requires all member ports to have identical speed and duplex settings. To resolve, change the speed and duplex on Gi0/2 to match Gi0/1: 'speed 1000' and 'duplex full'.

After correction, the channel will bundle. Verify with 'show etherchannel summary' to see both ports in the 'P' (bundled) state.

Exam trap

Do not confuse Layer 1 issues (speed/duplex) with Layer 2 configuration (VLANs, trunking) or LACP mode settings. Always check physical parameters first when an EtherChannel fails to form.

Why the other options are wrong

B

The specific factual error is that LACP modes must be compatible (active-active or active-passive), but the question states both sides are active, so mode is not the issue.

C

The specific factual error is that VLAN settings are irrelevant to the physical bundling of ports in an EtherChannel.

D

The specific factual error is that interface mode is a Layer 2 property unrelated to the physical bundling process.

237
MCQeasy

An AP broadcasts the correct SSID, but many clients on one floor experience poor performance while the same SSID works well on another floor. Which category of issue is most strongly suggested first?

A.A radio-frequency or local wireless environment issue on that floor
B.The SSID name must be misspelled only on that floor
C.BGP autonomous system mismatch
D.IPv6 loopback addressing on the clients
AnswerA

The problem is strictly local to that floor while the AP continues to broadcast the correct SSID, which isolates the fault to Layer 1 RF conditions rather than the WLAN configuration. Interference from co-channel neighboring APs, physical obstructions, or RF absorption by building materials can degrade signal-to-noise ratio enough to cause client disconnects or poor throughput even though the beacon remains visible. This matches the symptom of a location-specific environmental issue.

Why this answer

The issue is location-specific, with performance problems only on one floor. This strongly suggests a local radio frequency (RF) or wireless environment issue such as interference, signal attenuation, or channel congestion on that floor. The SSID is correctly broadcast because clients on other floors connect successfully, so option B (misspelling) is not plausible.

Options C and D are unrelated to wireless performance: BGP is a routing protocol not used in basic WLAN deployments, and IPv6 loopback addressing does not affect client connectivity or throughput. Therefore, the most direct and likely first suspect is an RF or environmental issue on that specific floor.

Exam trap

Avoid assuming that SSID issues are always configuration-related; consider environmental factors when performance issues are location-specific.

Why the other options are wrong

B

An SSID misspelling would prevent all clients from seeing the SSID, but since clients on other floors connect successfully, this cannot be the issue.

C

BGP autonomous system mismatch is a routing protocol concept unrelated to wireless LAN performance issues and would not cause performance problems on a single floor.

D

IPv6 loopback addressing is a configuration detail that does not impact wireless client performance or connectivity in a local-area network context.

238
MCQhard

A trunk is up between two switches, but traffic for VLAN 40 fails while other VLANs work. Which output item should be checked first?

A.Whether VLAN 40 is included in the allowed VLAN list on the trunk
B.Whether the router ID matches on both switches
C.Whether NetFlow is enabled on the VLAN
D.Whether NTP is synchronized on the switches
AnswerA

A trunk being administratively up indicates the physical and data-link layers are functioning, but Layer 2 connectivity for a particular VLAN depends on the VLAN being present in the trunk's allowed list (via switchport trunk allowed vlan). If VLAN 40 is not included on one or both sides, its frames are silently discarded or not placed on the trunk, even though other VLANs pass normally. This configuration discrepancy is the classic cause of a single-VLAN outage on an otherwise healthy trunk.

Why this answer

The first thing to check is whether VLAN 40 appears in the trunk’s allowed VLAN list. In practical terms, this is a selective failure, not a total trunk failure. Since other VLANs are crossing successfully, the link is operational. That strongly suggests one VLAN is being excluded rather than the trunk being generally broken.

This is one of the most common VLAN troubleshooting patterns in switching.

Exam trap

Avoid assuming a total trunk failure when only one VLAN is affected. Focus on VLAN-specific configurations.

Why the other options are wrong

B

This option is wrong because the router ID is relevant for routing protocols, not for VLAN traffic issues on a trunk link. The problem specifically pertains to VLAN 40 traffic, which is not influenced by router IDs.

C

NetFlow is a network protocol used for collecting IP traffic information, but it does not directly affect VLAN traffic flow on a trunk link. Therefore, checking if NetFlow is enabled does not address the issue of VLAN 40 traffic failure.

D

NTP synchronization is not directly related to VLAN traffic issues on a trunk link; it primarily affects time-sensitive protocols. Therefore, checking NTP synchronization would not help diagnose why VLAN 40 traffic is failing.

239
MCQhard

A switchport connected to another switch is configured with `switchport mode dynamic auto` on both ends. What is the most likely outcome if neither side actively negotiates trunking?

A.The link is likely to remain non-trunking because both sides are waiting passively.
B.The link always becomes a trunk immediately.
C.The link becomes a routed Layer 3 link.
D.All VLANs are deleted from both switches.
AnswerA

On a switchport configured with dynamic auto, the interface passively listens for DTP frames but does not actively send them. Since the neighboring switch is also in dynamic auto, neither side initiates a trunk negotiation, so DTP never completes and the link remains in its default access mode, functioning as a normal nontrunking port.

Why this answer

If both ends are set to dynamic auto, the most likely outcome is that the link does not become a trunk automatically. In plain language, both interfaces are waiting passively for the other side to initiate the negotiation. Since neither side is actively trying to form the trunk, the link typically remains non-trunking unless one side is changed to a more active mode or trunk is configured directly.

This is a classic DTP behavior question because it tests whether you understand the difference between active and passive negotiation roles. The correct answer is the one that reflects the passive nature of dynamic auto on both sides.

Exam trap

Be careful not to confuse dynamic auto with dynamic desirable. Only dynamic desirable actively negotiates trunking.

Why the other options are wrong

B

This option is wrong because `switchport mode dynamic auto` does not force immediate trunking; it relies on negotiation, and if neither side actively negotiates, the link remains non-trunking.

C

This option is wrong because a switchport configured with `switchport mode dynamic auto` does not automatically convert to a routed Layer 3 link unless explicitly configured to do so. The default behavior is to remain in access mode unless trunking is negotiated.

D

Option D is incorrect because configuring `switchport mode dynamic auto` does not delete VLANs; it merely affects trunk negotiation. VLANs remain configured on the switches regardless of trunking status.

240
MCQhard

A non-root switch has two uplinks toward the root bridge. One path has a lower total STP cost than the other. What role will the lower-cost uplink have?

A.Alternate port
B.Root port
C.Designated port
D.Disabled port
AnswerB

The root port is selected on each non-root bridge by comparing received BPDUs; the port with the lowest cumulative root path cost (with tie-breaking rules) becomes the root port, placing it in the forwarding state. This is the port that provides the single best path toward the root bridge, carrying all upstream traffic. Since the non-root switch has two uplinks, the one with the lower cost to the root is the root port.

Why this answer

On a non-root switch, the port with the lowest path cost toward the root bridge becomes the root port. The higher-cost uplink would become an alternate (blocked) port. A designated port is found on the upstream switch toward this switch, not on the non-root switch itself.

A disabled port is administratively shut down, which does not apply here.

Exam trap

Remember, the root port is determined by the lowest path cost to the root bridge, not by any other criteria.

Why the other options are wrong

A

The higher-cost uplink becomes an alternate (blocked) port, not the lower-cost one.

C

A designated port exists on the upstream switch toward this switch, not on the non-root switch.

D

A disabled port is administratively shut down, not a port with a lower STP cost.

241
MCQhard

Clients in VLAN 30 are not receiving addresses from the DHCP server located in VLAN 99. Which configuration change should be made on the Layer 3 interface for VLAN 30?

A.Add ip dhcp snooping trust under interface Vlan30.
B.Add switchport mode trunk under interface Vlan30.
C.Add ip default-gateway 10.99.99.20 under interface Vlan30.
D.Add ip helper-address 10.99.99.20 under interface Vlan30.
AnswerD

This is correct because the SVI for VLAN 30 is the interface that receives the client DHCP broadcasts. By adding `ip helper-address 10.99.99.20`, the Layer 3 device forwards the request as a unicast packet to the DHCP server in VLAN 99.

Why this answer

The DHCP server is on a different subnet, so the client broadcast messages from VLAN 30 will not naturally cross the Layer 3 boundary. In simple terms, the clients are asking for an address by shouting on their own floor of the building, but the server lives on another floor and cannot hear that broadcast directly. The router or Layer 3 switch must relay the request for them. On Cisco devices, that relay function is usually configured with `ip helper-address` on the interface that receives the client broadcasts.

Here, that receiving interface is Vlan30, because that is the default gateway for the clients in VLAN 30. Pointing `ip helper-address` to 10.99.99.20 tells the Layer 3 device to forward DHCP requests to the remote server. DHCP snooping trust is a separate security feature, trunk mode is unrelated to an SVI, and `ip default-gateway` is not the correct solution for relaying DHCP across subnets.

Exam trap

Remember that DHCP snooping and trunk mode do not facilitate DHCP relay. Focus on the purpose of `ip helper-address` for relaying requests across VLANs.

Why the other options are wrong

A

This option is wrong because enabling DHCP snooping trust on VLAN 30 does not facilitate communication with the DHCP server in VLAN 99; it only protects against rogue DHCP servers.

B

Adding 'switchport mode trunk' under interface Vlan30 is incorrect because VLAN 30 is already configured as a Layer 3 interface, and trunking is not applicable to Layer 3 interfaces. This command is used for Layer 2 interfaces to allow multiple VLANs over a single link.

C

This option is wrong because the command 'ip default-gateway' is used to set a default gateway for a Layer 2 device, not for enabling DHCP relay on a Layer 3 interface. Clients in VLAN 30 need a helper address to reach the DHCP server in VLAN 99.

242
Drag & Dropmedium

Drag and drop the following steps into the correct order to configure BPDU Guard, Loop Guard, and Root Guard on a Cisco switch.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
6Step 6
7Step 7

Why this order

The correct order starts by entering global configuration mode, then globally enabling PortFast on all access ports to allow immediate transition to forwarding state. BPDU Guard is then enabled globally on all PortFast-enabled ports to protect against unauthorized switches. Next, Loop Guard is enabled globally to prevent loops from unidirectional links.

Afterwards, the specific uplink interface is selected and Root Guard is applied to prevent a rogue switch from becoming the root bridge. This sequence follows Cisco best practices: apply fast convergence first, then protect the edge with BPDU Guard, apply loop prevention globally, and finally secure core links with Root Guard.

243
MCQhard

Refer to the exhibit. A network administrator is troubleshooting connectivity issues for hosts on VLAN 50 on SW1. The hosts on VLAN 50 cannot reach any devices outside SW1, even though the trunk link between SW1 and SW2 is up. The administrator issues the 'show interfaces GigabitEthernet0/1 trunk' command on SW1. Based on the output, what is the most likely cause of the issue?

A.The native VLAN on the trunk is misconfigured, causing VLAN 50 traffic to be dropped.
B.The trunk is operating in access mode instead of trunk mode, preventing VLAN 50 traffic.
C.VLAN 50 is not in the allowed VLAN list on the trunk.
D.Spanning tree protocol has blocked the trunk port for VLAN 50, isolating the hosts.
AnswerC

The exhibit's 'Vlans allowed on trunk' line explicitly lists '1-49,60-4094', which omits VLAN 50. This configured allowed list filters which VLANs can traverse the trunk; any VLAN not listed is blocked, even if it is defined on the switch. The absence of VLAN 50 from the allowed list means its frames are dropped at the trunk interface, isolating hosts in VLAN 50 from other switches. This is the exact administrative misconfiguration causing the problem.

Why this answer

The 'show interfaces GigabitEthernet0/1 trunk' output would list the allowed VLANs on the trunk. If VLAN 50 is not included in the allowed VLAN list, traffic from VLAN 50 will be dropped at the trunk, preventing hosts on SW1 from reaching devices outside SW1. This is the most likely cause because the trunk is up but VLAN 50 traffic is not forwarded.

Exam trap

Cisco often tests the distinction between native VLAN misconfiguration and allowed VLAN list misconfiguration, where candidates mistakenly attribute all trunk issues to native VLAN mismatches rather than checking the allowed VLAN list.

Why the other options are wrong

A

The assumption that a native VLAN mismatch can drop tagged VLAN traffic is a common misunderstanding.

B

Misreading the output may lead to believing the trunk is not in trunking mode.

D

Confusing spanning tree blocking with allowed VLAN filtering; the output shows no block state, only absence of the VLAN.

244
MCQhard

A switch port connected to an end host is configured with both PortFast and BPDU Guard. What is the most likely outcome if a small switch is connected there and starts sending BPDUs?

A.The port is error-disabled by BPDU Guard.
B.The port automatically becomes the root port.
C.The port converts into a trunk for the attached switch.
D.The port ignores the BPDU because PortFast disables STP entirely.
AnswerA

BPDU Guard places a PortFast-enabled port into err-disabled state the moment it receives a BPDU, since PortFast ports should only face end hosts. Connecting a switch generates BPDUs, triggering immediate shutdown, satisfying the stem's requirement to prevent loops and rogue switch attachment.

Why this answer

BPDU Guard places the port into an error-disabled state upon receiving a BPDU, because PortFast defines the port as an edge port that should never receive BPDUs. Option B is incorrect because receiving a BPDU does not automatically make a port a root port; root port selection depends on bridge ID and path cost, and BPDU Guard prevents further STP processing by disabling the port. Option C is incorrect because a port cannot convert to a trunk solely by receiving a BPDU; trunking requires manual configuration or Dynamic Trunking Protocol (DTP).

Option D is incorrect because PortFast does not disable STP entirely; it only speeds up initial convergence, and BPDU Guard actively responds to BPDUs by error-disabling the port.

Exam trap

Remember, BPDU Guard is about protection, not ignoring or processing BPDUs. It disables the port to prevent loops.

Why the other options are wrong

B

This option is wrong because a port configured with PortFast and BPDU Guard will not automatically become the root port when it receives BPDUs; instead, it will be error-disabled due to BPDU Guard's protective mechanism.

C

This option is incorrect because a port configured with PortFast and BPDU Guard does not convert to a trunk when receiving BPDUs; instead, BPDU Guard will disable the port to prevent potential loops.

D

This option is incorrect because PortFast does not disable Spanning Tree Protocol (STP) entirely; it only allows the port to transition to the forwarding state immediately without waiting for STP convergence. BPDU Guard will still take effect if BPDUs are received on a PortFast-enabled port.

245
MCQhard

Refer to the exhibit. A network administrator connects an IP phone to interface GigabitEthernet1/0/1 on a Cisco Catalyst switch. The PC connected through the phone works normally on the data VLAN, but the phone cannot obtain an IP address and fails to register with the call server. Which action will resolve the problem?

A.Configure 'switchport trunk allowed vlan 10,20' on interface Gi1/0/1 and change the switchport mode to trunk.
B.Add 'switchport voice vlan 20' on interface GigabitEthernet1/0/1.
C.Issue 'switchport access vlan 20' and 'switchport voice vlan 10' on interface Gi1/0/1.
D.Enable 'switchport port-security mac-address sticky' on the interface and manually add the phone’s MAC address to the access VLAN.
AnswerB

The 'switchport voice vlan 20' command is the correct Cisco IOS configuration for a voice-enabled access port. It leaves VLAN 10 as the default access VLAN for PC data (untagged) while defining VLAN 20 as the voice VLAN for the IP phone. The phone discovers VLAN 20 via CDP or LLDP and tags its voice frames with 802.1Q, keeping voice and data in separate Layer 2 domains and subnets.

Why this answer

The PC works on the data VLAN, but the phone cannot obtain an IP address, indicating the phone is not receiving the correct VLAN assignment. The phone should be placed in the voice VLAN (VLAN 20) using the 'switchport voice vlan 20' command, which allows the switch to tag the phone's traffic with VLAN 20 via CDP/LLDP, enabling it to get an IP from the voice VLAN DHCP server.

Exam trap

Cisco often tests the distinction between 'switchport access vlan' (for data) and 'switchport voice vlan' (for voice), and the trap here is that candidates may confuse which VLAN is assigned to which device, or incorrectly think trunking is required for a phone connection.

Why the other options are wrong

A

A trunk port does not provide the voice VLAN advertisement mechanism to the phone; the PC would need to send tagged frames, which typical endpoint NICs do not do.

C

The phone requires access to VLAN 20 for voice services, and the PC must remain in VLAN 10 for data; this configuration does the opposite, failing to meet the requirement.

D

The phone still cannot learn the voice VLAN; port security does not provide a DHCP address or make the switch advertise VLAN 20 to the phone.

246
MCQhard

A network engineer notices that an uplink port on a distribution switch has moved to a root-inconsistent state and is blocking traffic. The port is configured with Root Guard and is connected to a new access switch. The new access switch has a lower bridge priority than the current root bridge. What is the most likely cause?

A.BPDU Guard has errdisabled the port because a BPDU was received on an access port.
B.BPDU Filter is blocking inbound BPDUs, causing the switch to fail to detect the topology change and isolate the port.
C.Root Guard has placed the port into root-inconsistent state because the new switch advertised a superior BPDU.
D.Loop Guard has detected a unidirectional link and placed the port in a blocking state to prevent a loop.
AnswerC

Root Guard is designed to prevent the port from becoming a root port. Upon receiving a superior BPDU (lower bridge ID), it places the port in root-inconsistent state, effectively blocking traffic. This directly matches the symptom described.

Why this answer

Root Guard is configured on the uplink port of the distribution switch. When the new access switch advertises a superior BPDU (lower bridge priority than the current root bridge), Root Guard places the port into a root-inconsistent state to prevent the distribution switch from accepting the new switch as the root bridge. This blocks traffic on that port to protect the spanning-tree topology.

Exam trap

Cisco often tests the distinction between Root Guard and BPDU Guard, where candidates confuse the root-inconsistent state with an errdisable state or assume any BPDU-related protection will errdisable the port.

Why the other options are wrong

A

Candidates mistakenly equate BPDU Guard with any BPDU-induced blocking, but the state 'root-inconsistent' is specific to Root Guard.

B

Candidates may think that filtering BPDUs leads to port isolation, but BPDU Filter would not trigger a protective state like root-inconsistent.

D

Candidates often confuse Loop Guard and Root Guard because both can cause inconsistent states, but Loop Guard triggers loop-inconsistent, not root-inconsistent, and is triggered by BPDU loss, not receipt of superior BPDUs.

247
MCQmedium

A PC connected to switch port Gi0/10 should be in VLAN 20 but receives broadcasts only from VLAN 1. Which switchport setting is most likely wrong?

A.switchport mode trunk
B.switchport access vlan 20 missing or incorrect
C.speed 1000
D.duplex full
AnswerB

The access VLAN assignment on a switchport determines which untagged (native) VLAN the port belongs to. If a PC on interface Gi0/10 should be in VLAN 20 but is not, the most direct cause is that the port is either left in the default VLAN (often VLAN 1) or configured with a different access VLAN via the 'switchport access vlan' command. Without this correct mapping, the PC's frames are forwarded in the wrong broadcast domain and cannot reach VLAN 20 resources. This is the primary configuration that controls the behavior described.

Why this answer

The PC is receiving broadcasts only from VLAN 1, which indicates the switchport is not correctly assigned to VLAN 20. The most likely cause is that the 'switchport access vlan 20' command is missing or incorrect, leaving the port in its default VLAN (VLAN 1). This prevents the PC from participating in VLAN 20 and receiving its broadcasts.

Exam trap

Cisco often tests the misconception that a trunk port is needed for VLAN membership, but for a single end device, an access port with the correct VLAN assignment is required.

Why the other options are wrong

A

The switchport mode trunk setting is incorrect because a trunk port allows multiple VLANs to pass, while the question indicates that the PC should only receive broadcasts from VLAN 20. Therefore, the issue lies with the access VLAN configuration.

C

The speed setting of 1000 Mbps (1 Gbps) does not influence VLAN membership or broadcast traffic; it only affects the data transfer rate. Therefore, this option does not address the issue of the PC receiving broadcasts only from VLAN 1.

D

The duplex setting of the switch port does not influence VLAN membership or broadcast traffic. Therefore, a duplex configuration of 'full' does not affect the ability of a PC to receive broadcasts from VLAN 20.

248
MCQhard

After connecting a new switch to interface GigabitEthernet1/0/1 on a distribution switch, a network engineer notices that the interface is in err-disable state. The engineer checks the configuration and finds that spanning-tree portfast and spanning-tree bpduguard enable are applied to the interface. What is the most likely cause of the err-disable state?

A.BPDU Guard was incorrectly enabled on a port that should be a trunk link.
B.The connected switch is sending BPDUs with a lower bridge priority.
C.Spanning-tree PortFast is enabled on a port that connects to another switch.
D.The port is configured as an access port, but should be a trunk.
AnswerC

PortFast skips the listening and learning STP states and is designed for end hosts. When combined with BPDU Guard, the switch was instructed to disable the port upon receiving any BPDU. The downstream switch naturally sends BPDUs, causing BPDU Guard to react and place the port in err-disable. Removing PortFast (and leaving BPDU Guard alone, or disabling BPDU Guard on that link) would resolve the issue.

Why this answer

PortFast is designed for end-host ports that should not receive BPDUs. When PortFast is enabled on a port connecting to another switch, the switch will immediately transition the port to forwarding state, but if it then receives a BPDU from the connected switch, BPDU Guard will error-disable the port. This is the most common cause of err-disable state when both PortFast and BPDU Guard are configured on an inter-switch link.

Exam trap

Cisco often tests the misconception that BPDU Guard alone causes err-disable, but the trap here is that PortFast must be enabled for BPDU Guard to trigger err-disable on a port receiving BPDUs from another switch.

Why the other options are wrong

A

Candidates often associate BPDU Guard exclusively with access ports and assume configuring it on a trunk is itself a misconfiguration, overlooking that PortFast is the real culprit.

B

Students may confuse root bridge placement with BPDU Guard operation, thinking that a BPDU from a superior switch might cause a port to be disabled, when in fact BPDU Guard is content-agnostic.

D

Candidates may think that because a link between switches should be a trunk, the access mode misconfiguration is the root cause. However, they miss the fact that BPDU Guard acts on the BPDU regardless of the port mode, and the real misconfiguration is PortFast.

249
MCQmedium

A switch displays this output: Port Name Status Vlan Fa0/1 connected 10 Fa0/2 connected 10 Fa0/24 connected trunk Which port should be checked first if a user in VLAN 20 cannot reach the distribution switch over the uplink?

A.Fa0/1
B.Fa0/2
C.Fa0/24
D.Any access port in VLAN 1
AnswerC

Fa0/24 is the only port configured as a trunk, which is necessary for carrying traffic from multiple VLANs, including VLAN 20, to the distribution switch over the uplink. When a user in VLAN 20 cannot reach the distribution switch, this trunk port represents the primary path for inter-VLAN communication upstream. Investigating its configuration for allowed VLANs or potential physical layer issues is the logical first step to diagnose the connectivity problem for VLAN 20.

Why this answer

If users in VLAN 20 must cross the uplink, the trunk port is the first place to verify allowed VLANs and tagging.

Exam trap

Don't confuse access ports with trunk ports; only trunk ports can carry multiple VLANs.

Why the other options are wrong

A

Fa0/1 is connected to VLAN 10, and since the user in VLAN 20 cannot reach the distribution switch, checking this port would not address the issue, as it is not part of the user's VLAN.

B

Fa0/2 is connected to VLAN 10, which means it cannot facilitate communication for a user in VLAN 20. The issue lies with the trunk port, which is responsible for carrying multiple VLANs, including VLAN 20.

D

Option D is incorrect because it suggests checking any access port in VLAN 1, which is not relevant to the user's issue in VLAN 20. The problem lies with the trunk port not allowing VLAN 20 traffic, not with access ports in VLAN 1.

250
MCQhard

A switch trunk is carrying several VLANs, but VLAN 99 traffic is failing. The trunk allowed list includes VLAN 99 on both sides. Which statement best explains why a VLAN can still fail even when it is allowed?

A.Because the VLAN may still be absent, inactive, or otherwise not operational locally even if it is allowed on the trunk
B.Because allowing a VLAN on a trunk automatically disables it
C.Because VLANs can cross trunks only when PAT is enabled
D.Because VLAN 99 must always be the native VLAN
AnswerA

An entry in the trunk's allowed VLAN list only authorizes 802.1Q frames for that VLAN to pass; it does not create or activate the VLAN. If VLAN 99 is absent from the local VLAN database, is administratively shutdown with the 'shutdown vlan' command, or has no active member ports or up SVI, it is not operational locally. Therefore, even though the trunk configuration permits VLAN 99, end-to-end connectivity will fail because the VLAN is not functioning on the switch itself.

Why this answer

A VLAN can still fail across a trunk even when it is allowed because the allowed list is only one part of the overall design. In plain language, a switch may permit the VLAN on the link, but if the VLAN does not actually exist locally, is not active, or if some other trunk characteristic is inconsistent, traffic can still fail. This is an important CCNA troubleshooting principle: one correct line of configuration does not guarantee the full end-to-end condition is correct.

Candidates often stop at the allowed VLAN list because it is visible in common show commands. However, VLAN presence, local status, and other trunk parameters still matter. The best answer is the one recognizing that permission on the trunk does not automatically prove the entire VLAN path is healthy.

Exam trap

A common exam trap is assuming that simply including VLAN 99 in the trunk allowed list guarantees that VLAN 99 traffic will pass. Many candidates stop troubleshooting once they see the VLAN is allowed on the trunk, neglecting to verify if VLAN 99 is actually created and active on each switch. This mistake leads to incorrect conclusions, as the allowed list only controls trunk forwarding permissions, not VLAN existence or operational status.

The exam tests your understanding that VLAN configuration and status are equally critical for successful VLAN traffic flow.

Why the other options are wrong

B

Incorrect. Allowing a VLAN on a trunk does not disable it; this option contradicts how VLANs and trunks operate in Cisco switches.

C

Incorrect. Port Address Translation (PAT) is unrelated to VLAN trunking. VLANs do not require PAT to cross trunks.

D

Incorrect. VLAN 99 does not have to be the native VLAN to function on a trunk. The native VLAN is independent of VLAN allowance and operation.

251
PBQhard

You are connected to SW1. The network has three switches (SW1, SW2, SW3) running Rapid-PVST+. SW1 should be the root bridge for VLAN 10. PortFast and BPDU Guard must be enabled on all edge ports connected to end hosts. An err-disabled port (G0/1) has occurred due to a BPDU violation on an edge port. Recover the port and ensure it is configured correctly to prevent recurrence.

Network Topology
Gi0/0Gi0/0Gi0/2Gi0/0Gi0/1SW1SW2SW3Host

Hints

  • •The port is in err-disabled state. You need to manually recover it by cycling the interface.
  • •After recovery, verify the port is forwarding and still has PortFast and BPDU Guard enabled.
  • •If the err-disabled condition recurs, the connected device may be sending BPDUs; consider removing BPDU Guard from that port if it is not truly an edge port.
A.Enter interface configuration mode for Gi0/1, issue 'shutdown' followed by 'no shutdown', then configure 'spanning-tree bpduguard disable' on the interface.
B.Enter interface configuration mode for Gi0/1, issue 'shutdown' followed by 'no shutdown', then configure 'spanning-tree portfast' and 'spanning-tree bpduguard enable' on the interface.
C.Enter interface configuration mode for Gi0/1, issue 'shutdown' followed by 'no shutdown', then configure 'spanning-tree guard root' on the interface.
D.Enter interface configuration mode for Gi0/1, issue 'shutdown' followed by 'no shutdown', then verify that the connected device is not a switch or remove it from the network.
AnswerD
solution
! SW1
configure terminal
interface gigabitEthernet 0/1
shutdown
no shutdown
end

Why this answer

The port Gi0/1 is in err-disabled state because BPDU Guard disabled it after receiving a BPDU on a PortFast edge port. First, shut down the interface and then re-enable it with 'no shutdown' to recover from err-disabled. However, to prevent recurrence, the root cause must be addressed: the connected device (likely another switch) should not be sending BPDUs on an edge port.

Optionally, you can disable BPDU Guard on that specific port if it is not truly an edge port, but the task requires PortFast and BPDU Guard on edge ports. The correct fix is to ensure no BPDUs are sent from the downstream device or use 'spanning-tree bpduguard disable' on that port if it is not an edge port (but the task mandates BPDU Guard). Since the scenario requires BPDU Guard, the candidate should recover the port and then verify that the connected device is not a switch (or remove it from the topology).

Exam trap

The exam trap is that candidates may focus on recovering the port (shutdown/no shutdown) but forget to address why the BPDU was received. Simply re-enabling BPDU Guard or reapplying PortFast will not prevent recurrence. The key is to ensure the connected device is not sending BPDUs, either by removing it or reclassifying the port.

Why the other options are wrong

A

The specific factual error is that BPDU Guard should not be disabled on a port that is supposed to be an edge port with BPDU Guard enabled.

B

The specific factual error is that simply re-enabling the same features does not prevent recurrence; the source of BPDUs must be removed or the port must be reconfigured as a non-edge port.

C

The specific factual error is that Root Guard and BPDU Guard serve different purposes; Root Guard does not stop BPDU Guard from disabling the port.

252
Drag & Dropmedium

Drag and drop the following steps into the correct order to interpret packet capture output for L2/L3 troubleshooting.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
6Step 6

Why this order

The logical troubleshooting sequence for packet capture analysis starts at Layer 2 to verify the data link layer. First, examine the source and destination MAC addresses in the Ethernet header to confirm correct frame delivery. Next, check for ARP requests and responses to ensure proper IP-to-MAC resolution.

Then, analyze the source and destination IP addresses to verify Layer 3 addressing and routing. After that, look for ICMP Destination Unreachable or Time Exceeded messages to identify network path issues. Proceed to inspect transport layer port numbers (TCP/UDP) to identify the service and possible blocking.

Finally, review TCP flags (e.g., SYN, RST, FIN) to understand session state and detect retransmissions or connection issues.

253
MCQhard

A switch port connected to a user PC is configured as a trunk. The PC cannot communicate normally. What is the best explanation?

A.The port role is wrong because a normal PC-facing switchport should usually be an access port, not a trunk
B.A user PC requires EtherChannel to function
C.Trunk mode disables MAC address learning automatically
D.Trunk mode forces the switch to stop using IP addressing
AnswerA

A normal PC expects to receive and send untagged Ethernet frames in a single VLAN, so the switchport facing it should be an access port assigned to one access VLAN. Configuring it as a trunk makes the switch tag frames with 802.1Q headers, which the PC's NIC typically cannot process, breaking connectivity. Thus the port role is the primary misconfiguration.

Why this answer

The best explanation is that the port role is wrong: a PC-facing port should be an access port, not a trunk, because PCs normally send untagged frames and cannot process VLAN tags. Option B is incorrect because EtherChannel is used for link aggregation, not required for a single PC. Option C is wrong because trunk mode does not disable MAC address learning.

Option D is irrelevant, as switches do not stop using IP addressing in trunk mode.

Exam trap

Be careful not to confuse physical link issues with logical configuration mismatches. A trunk port on a user PC is a logical mismatch, not a hardware failure.

Why the other options are wrong

B

A user PC does not require EtherChannel to function; EtherChannel is a method for bundling multiple physical links into a single logical link, which is not necessary for standard PC connectivity.

C

Trunk mode does not disable MAC address learning; it actually allows the switch to learn MAC addresses from multiple VLANs. Therefore, a switch port configured as a trunk can still learn MAC addresses normally.

D

Trunk mode does not disable IP addressing; it allows multiple VLANs to be carried over a single link, and IP addressing is still applicable to the switch interfaces. Therefore, the user PC's inability to communicate is not due to trunk mode disabling IP addressing.

254
PBQhard

You are connected to SW1 via the console. The network has three switches connected in a triangle: SW1 (G0/1 to SW2 G0/1), SW1 (G0/2 to SW3 G0/1), and SW2 (G0/2 to SW3 G0/2). SW1 is the root bridge. A PC is connected to SW3's G0/3 port, which should be an edge port. However, the PC has been sending BPDUs, causing the port to go err-disabled. Configure SW3 to prevent this in the future: enable PortFast and BPDU Guard on G0/3. Then, verify that the port recovers from err-disabled state and that a specific blocked port on SW2 is identified. Use the provided show output to determine the current state and necessary commands.

Network Topology
G0/1 to SW2 G0/1G0/2 to SW3 G0/2G0/2 to SW3 G0/2G0/3 to PCSW2SW1SW3

Hints

  • •The err-disabled port must be manually recovered with shutdown/no shutdown.
  • •PortFast is configured at the interface level.
  • •BPDU Guard is also configured at the interface level using 'spanning-tree bpduguard enable'.
A.interface g0/3 spanning-tree portfast spanning-tree bpduguard enable shutdown no shutdown
B.interface g0/3 spanning-tree portfast spanning-tree bpduguard enable no shutdown
C.interface g0/3 spanning-tree portfast spanning-tree bpduguard enable end copy running-config startup-config
D.interface g0/3 spanning-tree portfast spanning-tree bpduguard enable shutdown
AnswerA
solution
! SW3
interface GigabitEthernet0/3
spanning-tree portfast
spanning-tree bpduguard enable
shutdown
no shutdown

Why this answer

The PC connected to SW3's G0/3 was sending BPDUs, causing the port to go err-disabled due to BPDU Guard. To prevent this, enable PortFast and BPDU Guard on that interface. First, move to interface configuration mode for G0/3, then issue 'spanning-tree portfast' and 'spanning-tree bpduguard enable'.

After configuration, the port will remain err-disabled until manually recovered by issuing 'shutdown' followed by 'no shutdown'. The blocked port on SW2 is G0/2, as shown by the 'Altn BLK' role/status in its spanning-tree output.

Exam trap

A common trap is forgetting that err-disabled ports require a manual shutdown/no shutdown cycle to recover. Simply enabling BPDU Guard or saving the configuration does not restore the port. Always remember to reset the interface after correcting the cause.

Why the other options are wrong

B

The err-disabled state requires a manual interface reset (shutdown followed by no shutdown) to recover; a single 'no shutdown' command is insufficient.

C

Saving the configuration preserves the settings but does not affect the current operational state of the interface; the port stays err-disabled.

D

The shutdown command disables the interface but does not automatically re-enable it; the err-disabled state is cleared only after a shutdown/no shutdown cycle.

255
MCQmedium

A controller-based WLAN is deployed across multiple floors. Users can associate to the SSID on both floors, but their experience improves when moving between APs compared with a poorly designed standalone deployment. Which wireless concept is most closely related to that client movement experience?

A.Roaming between access points
B.NetFlow export
D.Route summarization
AnswerA

In a controller-based WLAN spanning multiple floors, the primary user-centric issue is client mobility. When a wireless client moves from one AP's coverage to another, the controller coordinates the handoff, maintaining the client's session and IP address. This is known as roaming, and controller-based architectures support fast, secure roaming via protocols like 802.11r. Therefore, this is the correct answer.

Why this answer

The concept most closely related is roaming between access points. In practical terms, client mobility experience depends on how smoothly a device can move from one AP coverage area to another while staying on the WLAN. Controller-based designs often help manage this more consistently than fragmented independent configurations.

The key point is that the question is about movement between APs while remaining on the wireless network, not about VLAN trunks or routing protocol neighbors.

Exam trap

Be careful not to confuse network performance improvements like channel bonding with client mobility improvements like roaming.

Why the other options are wrong

B

NetFlow export is related to network traffic analysis and monitoring, not directly to client movement or experience between access points in a WLAN. It does not address the seamless connectivity aspect of roaming.

C

DHCP snooping is a security feature that helps prevent unauthorized DHCP servers from distributing IP addresses on a network. It does not directly relate to the user experience of roaming between access points in a WLAN deployment.

D

Route summarization is a technique used in routing protocols to reduce the size of routing tables by aggregating multiple routes into a single route. It does not pertain to client movement or wireless connectivity between access points.

256
MCQeasy

Which VLAN is used by default for most switch ports on a new Cisco switch?

A.VLAN 1
B.VLAN 99
C.VLAN 1002
D.No VLAN until the port is manually assigned
AnswerA

On a new Cisco switch, every port is automatically placed in VLAN 1, which is the factory-default VLAN and cannot be deleted or renamed. This default assignment applies to both access and trunk ports, and VLAN 1 also serves as the default native VLAN. Therefore, VLAN 1 is the correct answer for the default switch port VLAN.

Why this answer

On a default Cisco switch, access ports belong to VLAN 1 until changed. Best practice is usually to move user ports away from VLAN 1, but the default is still VLAN 1.

Exam trap

Remember that VLAN 1 is the default VLAN on Cisco switches, despite being discouraged for use in production environments.

Why the other options are wrong

B

VLAN 99 is not the default VLAN for switch ports on a new Cisco switch; the default is VLAN 1. VLAN 99 is often used in specific configurations but is not the factory default setting.

C

VLAN 1002 is a reserved VLAN for Token Ring and FDDI, and it is not the default VLAN for switch ports on a new Cisco switch. Most switch ports default to VLAN 1 unless configured otherwise.

D

This option is incorrect because, by default, Cisco switches assign all ports to VLAN 1, not leaving them unassigned. Every port is part of VLAN 1 unless configured otherwise.

257
MCQhard

A switch port connected to a workstation is configured with sticky MAC learning and a maximum secure MAC count of 1. What is the main operational benefit of sticky learning in this case?

A.It dynamically learns a secure MAC address and can preserve it if the configuration is saved.
B.It disables the maximum secure MAC limit on the interface.
C.It automatically saves the running configuration to the startup configuration after learning the MAC address.
D.It prevents the port from ever generating a security violation.
AnswerA

Sticky port-security dynamically learns the MAC address of the connected workstation and converts it into a secure MAC address entry in the running configuration. If the configuration is saved to startup-config, the learned address persists across reboots, preventing the need to relearn it. This behavior is characteristic of sticky learning, which combines dynamic learning with static persistence.

Why this answer

Sticky learning gives the convenience of dynamic discovery while still treating the learned address as a secure port-security entry. In practical terms, the switch can observe the first legitimate MAC address on the port and record it as a secure address without the administrator having to type that address manually. If the running configuration is later saved, that sticky entry can persist after a reload.

This is useful because it balances ease of deployment with access control. The maximum secure MAC count still matters, and port security is still active. Sticky learning does not replace port security; it works within it.

Exam trap

Be careful not to confuse sticky learning with allowing multiple MAC addresses or automatic removal of unauthorized addresses.

Why the other options are wrong

B

Option B is incorrect because sticky MAC learning does not disable the maximum secure MAC limit; it simply allows the switch to learn and retain the MAC address within that limit. The maximum secure MAC count remains enforced regardless of sticky learning.

C

Sticky learning does not automatically save the running configuration; it only adds the learned MAC to the running configuration, which must be explicitly saved to the startup configuration to persist across reboots.

D

This option is incorrect because sticky MAC learning does not prevent security violations; it only allows the learned MAC address to be retained across reboots if saved. A security violation can still occur if an unauthorized MAC address is detected on the port.

258
Multi-Selectmedium

Which TWO commands are required to configure a switch port to support both a desktop PC and a VoIP phone using voice VLAN?

Select 2 answers
A.switchport mode access
B.switchport mode trunk
C.switchport voice vlan <vlan-id>
D.switchport access vlan <vlan-id>
E.switchport port-security maximum 1
AnswersA, C

This command configures the port as an access port, which is required for connecting a desktop PC and a VoIP phone (the phone typically uses the access port for data and a separate voice VLAN).

Why this answer

'switchport mode access,' is required because voice VLAN only operates on an access port. Option C, 'switchport voice vlan <vlan-id>,' is the command that actually assigns the voice VLAN ID. Option B is incorrect because a trunk port would not properly separate voice and data traffic as the phone expects an access port.

Option D is a common data VLAN configuration but is not strictly necessary for voice VLAN operation; the access VLAN can be left as the default or configured separately. Option E is wrong because 'switchport port-security maximum 1' would allow only a single MAC address, while the port must support two devices (the phone and the PC), second MAC being the phone's internal switch.

Exam trap

Candidates often mistakenly include 'switchport access vlan' as one of the two required commands, but the question specifically asks for voice VLAN configuration, not the full port setup.

Why the other options are wrong

B

Trunk mode is incompatible because the phone expects an access port, and the voice VLAN is tagged internally by the phone, not by switch port trunking.

D

Configuring an access VLAN is not mandatory for voice VLAN; the question targets only the commands unique to enabling the voice feature.

E

Limiting the port to one MAC address would block the PC's MAC, breaking dual-device support provided by the phone's internal switch.

259
MCQeasy

Which wireless design objective is achieved by using nonoverlapping channels in adjacent cells?

A.It increases PoE budget for the access points
B.It reduces interference between nearby APs
C.It removes the need for authentication
D.It forces all clients to use 5 GHz only
AnswerB

Careful channel planning assigns non-overlapping channels (e.g., 1, 6, 11 in 2.4 GHz) to neighboring access points, preventing co-channel and adjacent-channel overlap. Because each AP transmits on a different frequency in a given area, packet collisions and retransmissions are minimized, which reduces interference and improves aggregate throughput.

Why this answer

Using nonoverlapping channels minimizes interference between adjacent APs, improving wireless performance in dense environments. Option A is wrong because nonoverlapping channels have no effect on PoE budget, which is determined by the switch and cable specifications. Option C is wrong because authentication mechanisms operate independently of channel assignment and are still required.

Option D is wrong because nonoverlapping channels are used in both the 2.4 GHz and 5 GHz bands, and they do not mandate client use of a specific frequency.

Exam trap

Avoid confusing interference reduction with bandwidth or range improvements.

Why the other options are wrong

A

This option is incorrect because using nonoverlapping channels does not impact the Power over Ethernet (PoE) budget for access points; PoE budget is determined by the power supply and the devices connected, not by channel selection.

C

This option is incorrect because using nonoverlapping channels does not eliminate the need for authentication in wireless networks; authentication is a separate security measure that ensures only authorized users can connect.

D

This option is wrong because using nonoverlapping channels does not force clients to operate exclusively on the 5 GHz band; it simply allows for better channel management to reduce interference. Clients can still connect on both 2.4 GHz and 5 GHz bands based on their capabilities and network configuration.

260
PBQhard

You are connected to SW1. The current configurations of interfaces GigabitEthernet0/1 and GigabitEthernet0/2 are as follows: Gi0/1: speed 100, duplex half, switchport access vlan 10 Gi0/2: speed 1000, duplex full, switchport access vlan 20 The port-channel interface 1 does not exist. Configure a LACP EtherChannel between SW1 and SW2 using these two interfaces, with port-channel 1 and mode active on both sides. Ensure the channel forms by resolving any speed/duplex or VLAN mismatches. After configuration, verify with 'show etherchannel summary'.

Network Topology
Gi0/1Gi0/1LACPSW1SW2

Hints

  • •Check speed and duplex consistency between member interfaces.
  • •All member interfaces must be in the same VLAN.
  • •The port-channel interface VLAN must match the physical interfaces.
A.The EtherChannel will not form because the physical interfaces have mismatched speed/duplex and VLAN assignments. You must configure both interfaces with the same speed (1000), duplex (full), and access VLAN (10), then apply channel-group 1 mode active on each.
B.The EtherChannel will form successfully because LACP active mode negotiates the channel regardless of speed/duplex or VLAN differences.
C.The EtherChannel will not form because the port-channel interface must be configured with the same VLAN as the physical interfaces, but the physical interfaces can have different speeds.
D.The EtherChannel will form successfully because the port-channel interface inherits the VLAN from the first physical interface added, so no additional configuration is needed.
AnswerA
solution
! SW1
interface GigabitEthernet0/1
speed 1000
duplex full
switchport access vlan 10
channel-group 1 mode active
interface GigabitEthernet0/2
speed 1000
duplex full
switchport access vlan 10
channel-group 1 mode active
interface Port-channel1
switchport access vlan 10

Why this answer

The EtherChannel fails because member interfaces have mismatched speed/duplex (Gi0/1 is 100/half, Gi0/2 is 1000/full) and different VLANs (VLAN 10 vs 20). Additionally, the port-channel interface and physical interfaces must have matching VLAN assignments. To fix, unify both physical interfaces to the same speed (1000), duplex (full), and access VLAN (10).

Then set channel-group mode active on each physical interface. Finally, ensure the port-channel interface also uses VLAN 10. Verify with 'show etherchannel summary' which should show the port-channel as SU (in use).

Exam trap

Cisco exam traps often test the requirement for identical speed, duplex, and VLAN on all EtherChannel member interfaces. Do not assume LACP can negotiate mismatches; it only handles aggregation, not physical or VLAN parameters.

Why the other options are wrong

B

LACP active mode only enables negotiation, but it does not resolve underlying parameter mismatches. The interfaces must still have consistent speed, duplex, and VLAN configuration.

C

All member interfaces must have identical speed and duplex settings. Even if VLANs match, speed mismatch will cause the channel to fail.

D

The port-channel interface is a logical interface that requires its own VLAN configuration. Physical interfaces must have identical VLAN assignments; otherwise, the channel will not form.

261
Drag & Dropmedium

Drag and drop the following steps into the correct order to capture and analyze traffic for L2/L3 troubleshooting.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
6Step 6
7Step 7

Why this order

The steps follow the logical sequence of a packet capture: first identify the traffic source, then configure a SPAN session to mirror it, connect the capture device, start capture, reproduce the issue, stop capture, and finally analyze the output. Each step must be completed before the next can succeed.

262
PBQhard

You are connected to a multilayer switch MLSW1. PortFast and BPDU Guard have already been enabled on interface GigabitEthernet0/1, which connects to an end device, and a BPDU received on that interface placed it in the err-disabled state. Configure Rapid PVST+ so that MLSW1 becomes the root bridge for VLAN 10 with a priority of 4096. Recover the interface by re-enabling it. Finally, verify which port is blocking on VLAN 10 by connecting to MLSW2 and executing the appropriate show command.

Network Topology
G0/1 to PCG0/2 to MLSW3 G0/1G0/2 to MLSW3 G0/1G0/2 to MLSW1 G0/3SiMLSW2SiMLSW1SiMLSW3

Hints

  • •Check the current root priority and adjust with 'spanning-tree vlan <vlan> priority <value>'.
  • •An err-disabled interface can be recovered by administrative shutdown and no shutdown.
  • •Look at the spanning-tree topology to find which port is blocking; it will be in 'ALT' role with 'BLK' state.
A.spanning-tree vlan 10 priority 4096; interface GigabitEthernet0/1; shutdown; no shutdown; show spanning-tree vlan 10
B.spanning-tree vlan 10 root primary; interface GigabitEthernet0/1; no shutdown; show spanning-tree vlan 10
C.spanning-tree vlan 10 priority 4096; interface GigabitEthernet0/1; no shutdown; show interfaces status
D.spanning-tree vlan 10 priority 4096; interface GigabitEthernet0/1; shutdown; no shutdown; show running-config
AnswerA
solution
! MLSW1
spanning-tree vlan 10 priority 4096
interface gigabitEthernet 0/1
shutdown
no shutdown

Why this answer

The correct solution sets the spanning-tree priority for VLAN 10 to 4096 on MLSW1, ensuring it becomes the root bridge. PortFast and BPDU Guard are already configured on G0/1, which caused the interface to go err-disabled when a BPDU was received. To recover, you must issue the 'shutdown' followed by 'no shutdown' commands on the interface.

Because MLSW1 is the root bridge, it has no blocking ports; the blocking port (alternate) will be seen on a downstream switch like MLSW2. Therefore, verification must be done on MLSW2 using 'show spanning-tree vlan 10' to view the alternate blocking port. Option A correctly includes all required steps.

Option B uses 'root primary' (priority 24576) instead of the specified 4096, lacks the recovery commands, and verifies on the wrong device. Option C omits the err-disabled recovery and uses the wrong verification command. Option D also verifies with 'show running-config', which does not display STP port roles.

Exam trap

Remember that 'spanning-tree vlan <vlan> root primary' sets priority to 24576, not a custom value. Also, err-disabled recovery requires a shutdown followed by no shutdown. Always use 'show spanning-tree vlan <vlan>' to verify port roles, not 'show interfaces status' or 'show running-config'.

Why the other options are wrong

B

The specific factual error: 'root primary' sets priority to 24576, not 4096. Also, err-disabled recovery requires a shutdown followed by no shutdown.

C

The specific factual error: err-disabled recovery requires a shutdown before no shutdown. 'show interfaces status' does not display STP port roles.

D

The specific factual error: 'show running-config' does not display STP port roles or blocking status.

263
PBQmedium

You are connected to SW1 via console. SW1 is a multilayer switch with SVIs for VLAN 10 (192.168.10.1/24) and VLAN 20 (192.168.20.1/24). Hosts in VLAN 10 and VLAN 20 need to communicate with each other. Currently, inter-VLAN routing is not working. You need to enable routing on SW1 and verify that the SVIs are operational.

Network Topology
G0/1G0/2SW1HostAHostB

Hints

  • •Check if 'ip routing' is already enabled.
  • •Verify that the SVIs are up with 'no shutdown'.
A.Enable IP routing using the 'ip routing' global configuration command.
B.Configure a routing protocol such as OSPF or EIGRP on the SVIs.
C.Assign IP addresses to the physical interfaces connected to the hosts.
D.Create a trunk port and connect a router to perform router-on-a-stick.
AnswerA
solution
! SW1
ip routing

Why this answer

The 'ip routing' command enables Layer 3 routing on the multilayer switch, allowing SVIs to route between VLAN 10 and VLAN 20. Option B is unnecessary because directly connected SVIs do not require a routing protocol; routing protocols are only needed for routes learned from other routers, and 'ip routing' must still be enabled. Option C would require converting the physical interfaces to routed ports, which would break the existing Layer 2 VLAN topology and is not the intended solution.

Option D provides an external router-on-a-stick solution but does not enable routing on SW1 itself, which is the required task. Therefore, only option A correctly enables inter-VLAN routing on SW1.

Exam trap

The trap is that many candidates assume SVIs automatically route traffic once they have IP addresses. However, on a multilayer switch, you must explicitly enable IP routing with the 'ip routing' command. Without it, the switch remains a Layer 2 device and SVIs only serve as management interfaces.

Why the other options are wrong

B

Routing protocols like OSPF or EIGRP are not required for directly connected SVIs; only 'ip routing' is needed to enable Layer 3 routing.

C

Assigning IP addresses to physical interfaces would convert them to routed ports, breaking the existing Layer 2 VLAN configuration and is not the correct approach.

D

Using an external router with router-on-a-stick would enable inter-VLAN routing but does not enable routing on SW1 as required.

264
MCQhard

Refer to the exhibit. A network engineer notices that on a four-link EtherChannel bundle between two switches, all traffic from a particular VLAN is being forwarded over only one physical link, while the other three links remain idle. The engineer suspects a load-balancing issue and issues the show etherchannel load-balance command, the output of which is shown. What is the most likely cause of the uneven traffic distribution?

A.The switch is using source‑MAC‑address load balancing, and multiple end hosts are appearing with the same source MAC address.
B.The EtherChannel is misconfigured with an LACP active/passive mode mismatch, forcing only one link to bundle.
C.VLAN pruning on the trunk has removed the VLAN from three of the four member interfaces.
D.Spanning Tree Protocol has blocked three of the four links in the EtherChannel because they form a loop.
AnswerA

The show etherchannel load-balance output confirms the global load‑balancing method is src‑mac. With this method, frames with an identical source MAC always hash to the same physical member link, causing all traffic from hosts sharing that MAC to use only one link.

Why this answer

The output of 'show etherchannel load-balance' indicates the switch is using source-MAC-address load balancing. With this method, all frames from a given source MAC address are hashed to the same physical link. If multiple end hosts in the VLAN are actually behind a single upstream router or firewall that uses the same source MAC address for all traffic (e.g., due to proxy ARP or NAT), then all traffic from that VLAN will be pinned to one link, leaving the other three idle.

Exam trap

Cisco often tests the misconception that load-balancing issues are caused by misconfiguration or STP, when the real problem is the hash algorithm's behavior with a single dominant source MAC address.

Why the other options are wrong

B

Candidates may think that an LACP problem explains a single active link, but a mismatch would cause the entire EtherChannel to fail, not selectively use one member.

C

Candidates might mistake an idle member for a pruned VLAN, but pruning would not affect all traffic, only the specific VLAN, and it is not related to the load‑balance method shown.

D

Candidates may associate an idle link with STP blocking, but an EtherChannel bundle presents one logical link to STP. A blocking state on some members only would indicate a serious configuration error, not the load‑balance method shown.

265
MCQhard

A switchport connected to another switch is configured as an access port by mistake. Which symptom is most likely in a multi-VLAN design?

A.Only one VLAN is likely to pass correctly, while other VLAN traffic across the link fails
B.The link negotiates as a trunk but drops all VLAN traffic
C.The switch generates excessive broadcasts on all VLANs
D.The switch stops learning MAC addresses entirely
AnswerA

An access port is configured to carry exactly one untagged VLAN, known as the access VLAN. When connected to another switch, that link will only pass traffic belonging to the access VLAN; frames from other VLANs that arrive expecting trunk tagging will be dropped or misclassified. This causes a failure for all other VLANs across that link, because the access port does not support 802.1Q trunking or multi-VLAN tagging.

Why this answer

The most likely symptom is that only one VLAN’s traffic works correctly across the link while traffic for other VLANs fails. In plain language, an access port belongs to one VLAN in normal switching behavior. If an inter-switch link that should carry multiple VLANs is accidentally configured as an access port, the network loses the ability to transport the other VLANs.

The physical link may stay up, which can make the problem seem subtle, but the logical role of the port is wrong.

Exam trap

Be cautious not to confuse physical link status with logical configuration issues. An access port will not drop the link but will restrict traffic to a single VLAN.

Why the other options are wrong

B

An access port cannot negotiate trunking; it simply forwards only one VLAN's traffic.

C

Broadcast storms are not caused by an access port misconfiguration.

266
Multi-Selectmedium

Which TWO statements are true about configuring and verifying VLANs, 802.1Q trunking, native VLAN, and inter-VLAN routing with router-on-a-stick?

Select 2 answers
A.On a router-on-a-stick configuration, each subinterface must be configured with an IP address and the encapsulation dot1Q command to specify the VLAN ID.
B.The native VLAN is always tagged on an 802.1Q trunk link.
C.The command switchport trunk native vlan 10 is used to restrict which VLANs are allowed on a trunk.
D.When configuring a router-on-a-stick, the native VLAN must match on both the switch and the router subinterface to avoid miscommunication.
E.The command show interfaces trunk displays the IP addresses configured on router subinterfaces.
AnswersA, D

In router-on-a-stick, a single physical router interface is divided into logical subinterfaces, each dedicated to a distinct VLAN. For every subinterface, you must assign an IP address that falls within the VLAN's subnet and issue the `encapsulation dot1Q <vlan-id>` command so the router tags outgoing frames and recognizes incoming tagged frames for that VLAN. Without this encapsulation, the router cannot distinguish which VLAN a frame belongs to, breaking inter-VLAN routing.

Why this answer

In a router-on-a-stick configuration, each subinterface must be assigned an IP address and use the encapsulation dot1Q command to associate it with a specific VLAN ID; this enables the router to process tagged frames from multiple VLANs over a single physical link. Option D is also correct because the native VLAN configured on the switchport trunk must match the native VLAN used on the router's subinterface (or physical interface if no subinterface); a mismatch causes the router to mishandle untagged frames because it expects them to belong to the configured native VLAN, leading to communication failures. Option B is wrong because on an 802.1Q trunk, the native VLAN frames are sent untagged, not tagged.

Option C is wrong because the command 'switchport trunk native vlan 10' only changes the native VLAN; it does not restrict which VLANs are allowed—that requires 'switchport trunk allowed vlan'. Option E is wrong because 'show interfaces trunk' shows trunking status, native VLAN, and allowed VLAN lists on switch ports, not IP addresses of router subinterfaces.

Exam trap

Cisco often tests the misconception that the native VLAN is tagged on a trunk, or that the switchport trunk native vlan command controls allowed VLANs, when in fact it only changes which VLAN is untagged.

Why the other options are wrong

B

The native VLAN is sent untagged to maintain backward compatibility with devices that do not understand 802.1Q tagging.

C

The command to restrict allowed VLANs is switchport trunk allowed vlan, not the native VLAN command.

E

To see IP addresses on subinterfaces, use show ip interface brief or show running-config on the router.

267
MCQhard

A user joins the employee SSID successfully and can browse internal resources, but VoIP over Wi-Fi calls fail only while roaming between floors. Which troubleshooting area is the strongest first focus?

A.Roaming behavior and RF transition quality between AP coverage areas
B.Whether the SSID name is spelled correctly
C.Whether the branch router has PPP enabled
D.Whether the user has a static default route on the phone
AnswerA

The correct focus is roaming behavior and RF transition quality because the symptom is specifically triggered when the user moves between AP coverage areas, such as crossing floor boundaries. Even if the user associates and browses successfully in one location, poor overlap between AP cells, incorrect 802.11r fast transition settings, or sticky client behavior can cause the device to hold onto a weak signal and fail to reassociate to a stronger AP, leading to a loss of connectivity and inability to browse during movement.

Why this answer

The strongest first focus is roaming and RF transition behavior between AP coverage areas. In practical terms, the user already proved that general WLAN access and internal reachability are working. The failure happens during movement and affects a time-sensitive application. That points to mobility-related behavior rather than basic SSID visibility or simple IP addressing.

This is a realistic wireless troubleshooting item because it narrows the fault domain from the symptom pattern instead of restarting from the basics.

Exam trap

Avoid assuming basic connectivity issues when the problem is specific to roaming and affects a time-sensitive application.

Why the other options are wrong

B

This option is wrong because the spelling of the SSID does not affect the ability to roam between access points; the user is already connected to the SSID and can access internal resources.

C

This option is wrong because PPP (Point-to-Point Protocol) is not directly related to VoIP performance or roaming issues; it primarily pertains to WAN connections rather than local Wi-Fi network transitions.

D

This option is wrong because the issue described pertains to roaming and VoIP call quality, which is unrelated to static routing configurations on the user's phone. A static default route would not directly impact the ability to maintain VoIP calls while transitioning between access points.

268
MCQmedium

Why is PortFast typically enabled on switch ports connected to end devices?

A.To let end-device ports reach forwarding state more quickly
B.To make access ports participate in OSPF
C.To convert all access ports into trunks
D.To disable Ethernet addressing on PCs
AnswerA

PortFast on switch ports connected to end devices (like PCs, printers, servers) allows the port to transition directly from blocking to forwarding state, bypassing the listening and learning states of Spanning Tree Protocol (STP). This is crucial because STP normally takes 30 seconds (or 50 seconds in older implementations) to converge, which can cause delays in DHCP or bootp requests. Since end devices are typically not a loop, PortFast safely accelerates this process, enabling immediate connectivity.

Why this answer

PortFast is enabled so access ports connected to end devices can move to forwarding more quickly instead of waiting through the normal spanning-tree listening and learning transitions. In plain language, it helps a user’s PC, printer, or similar endpoint start communicating sooner after the link comes up. That can reduce delays at startup and prevent certain device timeout problems.

PortFast is not intended as a loop-prevention mechanism by itself, and it should not normally be used carelessly on links to other switches. That is why it is commonly paired with BPDU Guard on edge ports. The correct answer is the one focused on faster transition for end-device access links rather than on unrelated routing or VLAN functions.

Exam trap

Do not confuse PortFast with disabling spanning-tree or improving routing; it specifically speeds up access port transitions.

Why the other options are wrong

B

This option is incorrect because PortFast does not enable access ports to participate in OSPF; OSPF is a routing protocol that requires Layer 3 interfaces, while PortFast is a feature for Layer 2 switch ports.

C

This option is wrong because PortFast does not convert access ports into trunk ports; it is designed to bypass the Spanning Tree Protocol (STP) listening and learning states to allow end devices to connect more quickly.

D

Disabling Ethernet addressing on PCs is not related to the function of PortFast, which is designed to expedite the transition of switch ports to the forwarding state. PortFast does not alter how Ethernet addressing operates on connected devices.

269
MCQhard

A network administrator connects an IP phone to interface Gi0/1 and a PC to the phone's PC port. Users report that the phone cannot register with the call manager and the PC does not obtain an IP address. The administrator verifies the configuration shown in the exhibit. What is the most likely cause of the problem?

A.The switchport mode should be changed to trunk to allow tagged voice traffic.
B.The voice VLAN is not configured on the interface.
C.The spanning-tree portfast command is blocking the port from forwarding.
D.The access VLAN 10 is incorrect for the data subnet.
AnswerB

In a typical IP phone deployment, the access port must be configured with both an access VLAN for the PC and a separate voice VLAN for the phone. The exhibit shows only `switchport access vlan 10` but lacks `switchport voice vlan`, so the switch cannot identify tagged voice frames from the phone, and the phone fails to obtain an IP address or register. Adding the voice VLAN command instructs the switch to accept 802.1Q-tagged traffic from the phone while keeping PC data untagged on the access VLAN, which resolves the registration failure.

Why this answer

The voice VLAN is not configured on the interface. For an IP phone to communicate with the call manager, the switchport must be configured with a voice VLAN (e.g., 'switchport voice vlan 20') to separate voice traffic from data traffic. Without this command, the phone cannot tag its frames with the appropriate VLAN ID, preventing registration.

Additionally, the PC connected to the phone's PC port relies on the phone to pass untagged data traffic, but without the voice VLAN, the phone may not properly negotiate or forward traffic, causing the PC to fail to obtain an IP address.

Exam trap

Cisco often tests the distinction between access VLAN and voice VLAN, and the trap here is that candidates assume the access VLAN alone is sufficient for both voice and data, overlooking the mandatory 'switchport voice vlan' command required for IP phone operation.

Why the other options are wrong

A

Cisco best practice for IP phone + PC is an access port with switchport voice vlan, not trunk mode. Trunk mode is more complex and can cause VLAN hopping if misconfigured.

C

Portfast enables faster convergence, not a blocking action. A blocked port would show no link or constant amber LED, not intermittent connectivity.

D

Even if VLAN 10 were wrong, the phone’s registration issue would persist because the voice VLAN is still missing. The problem has two symptoms; the voice VLAN omission explains both.

270
Matchingmedium

Match each WLAN term to its correct description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Name of the wireless network shown to clients

Wireless security standard

Protocol associated with AP-controller communication

Client movement between AP coverage areas

Why these pairings

A WLAN (Wireless Local Area Network) enables wireless device connectivity. A Mobility Group is a logical grouping of wireless LAN controllers that facilitate seamless roaming across access points. Roaming refers to the movement of a wireless client from one access point to another without losing connectivity.

Fast Roaming implements the 802.11r standard to minimize authentication delays during roaming transitions.

Exam trap

Candidates often confuse Mobility Group with Fast Roaming; Mobility Group is about controller-level coordination for roaming, while Fast Roaming is a client-level optimization using 802.11r.

271
MCQhard

A switch port connected to an IP phone and a PC should separate voice traffic from data traffic while still using one physical edge connection. Which feature best supports that design?

AnswerA

A voice VLAN is the correct solution because it enables a single access port to carry both IP phone traffic and PC data while keeping them logically distinct. The Cisco IP phone tags its signaling and media frames with the 802.1Q voice VLAN ID, whereas the PC's untagged frames remain in the data VLAN, allowing the switch to apply separate QoS and security policies for each traffic type.

Why this answer

A voice VLAN best supports that design. In practical terms, a Cisco-style voice VLAN allows the switch to carry voice traffic separately from user data even though the phone and PC share the same physical access connection. This is a common enterprise edge design because it lets the phone use one VLAN while the downstream PC uses another.

The key point is separation of traffic types over one edge port, not trunking between switches or link aggregation.

Exam trap

Avoid confusing the purpose of trunk ports and link aggregation with traffic separation on a single edge port.

Why the other options are wrong

B

EtherChannel is used to aggregate multiple physical links into a single logical link for increased bandwidth and redundancy, but it does not inherently separate voice and data traffic on a single port. It does not address the requirement of managing different traffic types on the same physical connection.

C

The Native VLAN is used for untagged traffic on a trunk link and does not separate voice and data traffic effectively; it simply allows untagged frames to pass through without any differentiation.

D

Loop guard is designed to prevent loops in a switched network by blocking ports that receive unexpected BPDUs. It does not facilitate the separation of voice and data traffic on a single physical connection, which is the requirement of the question.

272
Drag & Dropmedium

Drag and drop the following steps into the correct order to capture and analyze traffic on IOS-XE using the embedded packet capture feature, and in Wireshark to isolate a Layer 2 or Layer 3 fault.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

For IOS‑XE embedded packet capture, the correct order is: 1) Access privileged EXEC mode (required for all monitor commands), 2) Create a capture buffer, 3) Associate a capture point, 4) Start the capture, 5) Stop the capture, 6) Export the capture, 7) Analyze in Wireshark. Options B, C, and D each violate the required sequence: B starts buffer creation before entering privileged mode, C associates the point before creating the buffer, and D omits the critical 'start' step entirely.

Exam trap

A common mistake is to forget the 'start the capture' step, making the exported file empty; always remember to issue 'monitor capture point start' after association.

273
MCQmedium

An administrator configures an EtherChannel between SW1 and SW2. The port-channel interfaces are physically up, but the EtherChannel bundle fails to come up. On SW1, the channel-group is set to mode active; on SW2, it is set to mode on. What is the most likely cause?

A.The switch priority values are mismatched
B.One side is using LACP active while the other side is set to on
C.The native VLAN must be VLAN 1 for EtherChannel to form
D.Gi1/0/2 cannot be bundled because interfaces must be in different VLANs
AnswerB

The EtherChannel fails because LACP active mode actively sends LACPDUs to negotiate a bundle, but the opposite side configured with mode on is a static EtherChannel that performs no dynamic negotiation. Since mode on ignores LACP advertisements, the negotiation handshake never completes, leaving both links in their default non-bundled state. To form the bundle, both sides must use either LACP active/passive or both be set to the same static on mode.

Why this answer

EtherChannel requires compatible modes: LACP active mode sends negotiation packets, while 'on' mode disables all negotiation, so the two sides cannot agree and the bundle stays down. Option A is wrong because switch priority values are used in STP root election, not EtherChannel formation. Option C is wrong because the native VLAN does not need to be VLAN 1; it only needs to match on both ends.

Option D is wrong because all member interfaces in an EtherChannel must be in the same VLAN, not different ones.

Exam trap

Ensure both sides of an EtherChannel are set to compatible modes; 'on' mode does not participate in LACP negotiation.

Why the other options are wrong

A

Switch priority values affect STP root bridge election, not EtherChannel formation. EtherChannel negotiation depends on the channel-group mode (LACP, PAgP, or on), not on switch priority.

C

EtherChannel does not require native VLAN to be VLAN 1; it can form with any native VLAN as long as both sides match. The issue here is the LACP mode mismatch (active vs. on), not the native VLAN.

D

EtherChannel does not require interfaces to be in different VLANs; in fact, all interfaces in a bundle must belong to the same VLAN or be configured as trunk ports with the same allowed VLAN list. Option D is incorrect because bundling interfaces in different VLANs would cause a mismatch.

274
MCQhard

Two switches are connected by a trunk. VLAN 50 exists on both switches, but hosts in VLAN 50 cannot communicate across the link. All other VLANs work. Based on the exhibit, what is the most likely cause?

A.VLAN 50 is not allowed on the trunk from SwitchA.
B.The native VLAN is mismatched.
C.802.1Q cannot carry VLAN 50.
D.VLAN 50 must be configured as the native VLAN first.
AnswerA

On a Cisco trunk, the 'switchport trunk allowed vlan' list on SwitchA determines which VLANs may traverse the link. Even though VLAN 50 is defined on both switches, if SwitchA's trunk interface does not explicitly include VLAN 50 in its allowed list, the switch will not forward VLAN 50 frames across the trunk. You must add VLAN 50 to the allowed list with 'switchport trunk allowed vlan add 50' on SwitchA's trunk port to restore connectivity.

Why this answer

VLAN 50 is missing from the allowed VLAN list on the trunk, which blocks only that VLAN while allowing others. Option B is incorrect: a native VLAN mismatch would affect the native VLAN (usually VLAN 1) or cause STP issues, not specifically VLAN 50. Option C is incorrect: 802.1Q encapsulation supports all VLANs from 1 to 4094, including VLAN 50.

Option D is incorrect: VLANs do not need to be the native VLAN to be transported over a trunk; any VLAN can traverse a trunk if it is allowed.

Exam trap

Ensure you differentiate between general trunk issues and VLAN-specific configurations. Don't confuse access port settings with trunk link issues.

Why the other options are wrong

B

This option is wrong because a native VLAN mismatch would typically affect all VLANs, not just VLAN 50. Since other VLANs are functioning correctly, it indicates that the native VLAN configuration is not the issue.

C

802.1Q is a standard that can carry VLANs up to 4096, including VLAN 50. Therefore, the issue of VLAN 50 not communicating is not due to the protocol's inability to carry it.

D

This option is wrong because VLAN 50 can exist on a trunk without being the native VLAN; it does not need to be configured as such to communicate across the trunk link.

275
MCQhard

A host on a guest WLAN can browse the Internet but cannot reach internal corporate resources, while employees on another SSID can. Which statement best explains why that can be a correct design outcome?

A.Because guest and employee WLANs can intentionally have different trust levels and access policies.
B.Because guest WLANs cannot use IP routing at all.
C.Because the guest WLAN is assigned to a different VLAN that uses a different IP subnet, and inter-VLAN routing is inherently disabled for security reasons.
D.Because the guest WLAN uses a different SSID that automatically triggers firewall rules that only permit HTTP/HTTPS traffic.
AnswerA

Guest and employee WLANs are intentionally configured with different trust levels and access policies. A guest WLAN is typically placed in a less-trusted network zone, with ACLs that permit only outbound internet traffic while blocking access to internal corporate resources. This design is a deliberate security choice, not a technical limitation, because the organization wants visitors to have basic connectivity without exposing sensitive assets.

Why this answer

Guest wireless networks are intentionally isolated from corporate resources through separate trust levels and access policies. Option B is incorrect because guest WLANs can use IP routing, but routing policies restrict which destinations are reachable. Option C is incorrect because inter-VLAN routing is not inherently disabled; it is a design choice to restrict routing between VLANs.

Option D is incorrect because SSIDs themselves do not trigger firewall rules; it is the VLAN or group assignment that determines the applied policy.

Exam trap

A frequent exam trap is to interpret guest WLAN isolation as a misconfiguration, rather than an intentional policy enforcement. Candidates may also incorrectly attribute the restriction to technical limitations like routing being inherently disabled or SSIDs triggering firewall rules.

Why the other options are wrong

B

Guest WLANs can use IP routing; they are just restricted by policy.

C

Inter-VLAN routing is not inherently disabled; it is a configurable policy.

D

SSIDs do not automatically trigger firewall rules; the assigned VLAN determines the policy.

276
MCQmedium

A network administrator is configuring a new wireless LAN controller (WLC) and access points (APs). The APs are connected to switch ports that are configured as access ports in VLAN 10. The administrator wants the APs to obtain IP addresses from a DHCP server and then join the WLC. Which protocol does the AP use to discover the WLC's IP address?

A.DNS resolution of CISCO-CAPWAP-CONTROLLER
B.CAPWAP Discovery Request
C.LWAPP Discovery Request
D.DHCP Option 43
AnswerB

After obtaining an IP address, the AP uses CAPWAP (Control and Provisioning of Wireless Access Points) to discover and join the WLC. It sends a CAPWAP Discovery Request via broadcast or multicast to find the controller. The WLC responds, and the AP then establishes a CAPWAP tunnel. This is the standard protocol for AP-WLC communication. Thus, this is the correct answer.

Why this answer

Access points use CAPWAP to discover and join a wireless LAN controller. After getting an IP address, the AP sends CAPWAP Discovery Requests via broadcast or multicast. The WLC responds, and the AP establishes a CAPWAP tunnel.

DHCP Option 43 and DNS are methods to provide the WLC IP, but the protocol itself is CAPWAP. LWAPP is outdated. Therefore, CAPWAP Discovery Request is the correct answer.

Exam trap

The trap here is confusing the method of providing the WLC IP (like DHCP Option 43 or DNS) with the actual discovery protocol (CAPWAP).

277
PBQhard

You are connected to R1, a Catalyst 3650 multilayer switch running IOS-XE. Configure Root Guard on all designated ports, Loop Guard on uplink interfaces, and BPDU Guard on all PortFast-enabled ports. Troubleshoot the current issue: one port is receiving a superior BPDU and is being blocked by Root Guard, and a different PortFast port has gone err-disabled after BPDU Guard triggered. Verify that Root Guard is active on port Gi1/0/1, Loop Guard is active on Gi1/0/2, and BPDU Guard is enabled on Gi1/0/3.

Network Topology
Gi1/0/1Gi1/0/2Gi1/0/3R1R2Core SwitchHost

Hints

  • •Root Guard should be on the port that is designated, not receiving superior BPDUs.
  • •Loop Guard should be on the port that is a root port or alternate root port.
  • •An err-disabled port must be manually recovered with shutdown/no shutdown.
A.Remove Root Guard from Gi1/0/1 and apply it to Gi1/0/2; remove Loop Guard from Gi1/0/2 and apply it to Gi1/0/1; on Gi1/0/3, issue shutdown then no shutdown; verify Root Guard on Gi1/0/2, Loop Guard on Gi1/0/1, BPDU Guard on Gi1/0/3.
B.Remove Root Guard from Gi1/0/1 and apply it to Gi1/0/2; remove Loop Guard from Gi1/0/2 and apply it to Gi1/0/1; on Gi1/0/3, issue no shutdown; verify Root Guard on Gi1/0/2, Loop Guard on Gi1/0/1, BPDU Guard on Gi1/0/3.
C.Remove Root Guard from Gi1/0/1 and apply it to Gi1/0/2; remove Loop Guard from Gi1/0/2 and apply it to Gi1/0/1; on Gi1/0/3, issue shutdown then no shutdown; verify Root Guard on Gi1/0/1, Loop Guard on Gi1/0/2, BPDU Guard on Gi1/0/3.
D.Remove Root Guard from Gi1/0/1 and apply it to Gi1/0/2; remove Loop Guard from Gi1/0/2 and apply it to Gi1/0/1; on Gi1/0/3, issue shutdown then no shutdown; verify Root Guard on Gi1/0/2, Loop Guard on Gi1/0/2, BPDU Guard on Gi1/0/3.
AnswerA
solution
! R1
interface GigabitEthernet1/0/1
no spanning-tree guard root
spanning-tree guard loop
interface GigabitEthernet1/0/2
no spanning-tree guard loop
spanning-tree guard root
interface GigabitEthernet1/0/3
shutdown
no shutdown

Why this answer

The network requires Root Guard on designated ports, Loop Guard on uplink (root/alternate) ports, and BPDU Guard on PortFast ports. Gi1/0/1 is receiving a superior BPDU and being blocked by Root Guard, indicating Root Guard is misapplied to a non-designated port; it should be moved to the designated port Gi1/0/2. Loop Guard belongs on the uplink port Gi1/0/1, not Gi1/0/2, so the configuration is swapped.

The PortFast port Gi1/0/3 experienced a BPDU Guard violation and is err-disabled; recovering it requires a shutdown followed by a no shutdown command, not just no shutdown. Finally, verification must confirm the correct new placement: Root Guard on Gi1/0/2, Loop Guard on Gi1/0/1, and BPDU Guard on Gi1/0/3.

Exam trap

Be careful not to confuse the purpose of Root Guard and Loop Guard. Root Guard is for designated ports, Loop Guard is for root/alternate ports. Also, remember that an err-disabled port requires a shutdown/no shutdown sequence to recover, not just no shutdown.

Why the other options are wrong

B

Issuing only 'no shutdown' will not recover an interface from the err-disabled state caused by BPDU Guard; it must be administratively shut down first with 'shutdown', then re-enabled with 'no shutdown'.

C

The verification step checks Root Guard on Gi1/0/1 and Loop Guard on Gi1/0/2, which is the original incorrect configuration before the swap; after the fix, Root Guard should be on Gi1/0/2 and Loop Guard on Gi1/0/1.

D

The verification step incorrectly states that Loop Guard is active on Gi1/0/2. After swapping the configurations, Loop Guard is now on Gi1/0/1, not Gi1/0/2, so this option validates the wrong port.

278
Drag & Dropmedium

Drag and drop the following steps into the correct order to configure a switch port for a VoIP phone (voice VLAN + data VLAN), an AP trunk, and a PoE-powered IoT device.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

First create VLANs, then assign data and voice VLANs to the phone port, configure the AP trunk, and lastly enable PoE on the IoT port.

Exam trap

The trap is that candidates may enable PoE too early or configure trunks before VLANs exist. Remember: VLANs must be created first, then assigned to ports, and PoE is typically enabled last.

279
MCQmedium

A switch shows this output from the "show interfaces trunk" command: Gi0/1 on 802.1q trunking 1 Gi0/2 auto 802.1q not-trunking 1 Which statement is correct?

A.Gi0/1 is an access port in VLAN 1
B.Gi0/1 is trunking, and Gi0/2 is waiting for DTP negotiation
C.Gi0/2 is forced to trunk mode
D.Neither interface can carry tagged traffic
AnswerB

The output shows Gi0/1 with DTP mode 'on' and the operational state 'trunking' with 802.1Q encapsulation, meaning it is actively carrying tagged frames for multiple VLANs. Gi0/2 is in 'auto' mode, a passive DTP setting that neither initiates nor advertises trunking but listens for DTP frames from its neighbor. If the neighbor is set to 'on' or 'desirable', Gi0/2 will successfully negotiate and become a trunk as well; until then, it remains in a waiting/negotiation state.

Why this answer

Gi0/1 is already operating as an 802.1Q trunk. Gi0/2 is in dynamic auto mode, which waits for the other side to actively negotiate trunking.

Exam trap

Beware of confusing 'on' with access mode and misunderstanding dynamic auto's capability to negotiate trunking.

Why the other options are wrong

A

This option is incorrect because Gi0/1 is configured as a trunk port, not an access port, and it is actively trunking VLANs. Access ports do not participate in VLAN tagging and would not show trunking status.

C

This option is incorrect because Gi0/2 is set to 'auto' for trunking, meaning it is not forced into trunk mode but is instead waiting for Dynamic Trunking Protocol (DTP) negotiation to determine if it should become a trunk port.

D

This option is incorrect because Gi0/1 is configured as a trunk port and can carry tagged traffic, while Gi0/2 is in a state waiting for DTP negotiation, which means it can potentially become a trunk port as well.

280
MCQhard

A network engineer notices that a new switch, SW3, was connected to port GigabitEthernet0/1 on SW1, but the port immediately went into an err-disabled state. The network uses Rapid PVST+ with BPDU Guard enabled globally on all access ports. The engineer checks the logs and sees 'bpduguard error detected' messages. What is the most likely cause of the err-disabled state?

A.The port is configured as an access port, but BPDU Guard should be disabled on all access ports.
B.A BPDU was received on port GigabitEthernet0/1, triggering BPDU Guard.
C.Configure Root Guard on the interface to prevent the err-disabled state.
D.Enable Loop Guard on the interface to prevent the err-disabled state.
AnswerB

BPDU Guard is a security feature that deliberately places a port into an err-disabled state when a BPDU is received on a port where BPDU Guard is enabled, typically on an access port configured with PortFast. The port GigabitEthernet0/1 transitioning to err-disabled indicates that it received an unexpected BPDU, which suggests another switch was connected to that port. By immediately error-disabling the port, BPDU Guard prevents the unauthorized device from participating in spanning tree and disrupting the topology. This explanation directly matches the observed behavior and is the correct root cause.

Why this answer

The err-disabled state is caused by BPDU Guard triggering when a BPDU is received on an access port. Option A is incorrect because BPDU Guard is intentionally enabled on access ports to prevent unauthorized switches from joining the network. Option C is wrong because Root Guard prevents a port from becoming the root, not from receiving BPDUs.

Option D is wrong because Loop Guard prevents loops on blocked ports in case of unidirectional links, not relevant to BPDU reception.

Exam trap

Cisco often tests the confusion between BPDU Guard, Root Guard, and Loop Guard; candidates may incorrectly attribute the err-disable to Root Guard or Loop Guard, but the true cause is receiving a BPDU on a BPDU-Guard-enabled port.

Why the other options are wrong

A

BPDU Guard is designed to be enabled on access ports to protect against unauthorized switches, so disabling it on all access ports would defeat its purpose.

C

Root Guard prevents a port from becoming the root bridge, but does not block BPDU reception that causes err-disable with BPDU Guard.

D

Loop Guard detects and prevents loops on blocked ports due to unidirectional links, not related to the BPDU Guard err-disable mechanism.

281
MCQmedium

PCs in VLAN 30 on SwitchA cannot reach servers in VLAN 30 on SwitchB. All other VLANs work across the trunk. What is the most likely cause?

A.The native VLAN is mismatched between the switches.
B.VLAN 30 should be configured as the native VLAN on both ends.
C.SwitchB must use ISL instead of 802.1Q.
D.VLAN 30 is not allowed on the trunk from SwitchA.
AnswerD

This is correct because the exhibit explicitly shows that VLAN 30 is absent from the allowed VLAN list on the trunk interface on SwitchA. For 802.1Q trunking, a VLAN must be permitted on both sides of the link; if it is missing from SwitchA's allowed list, that switch will not forward frames for VLAN 30 onto the trunk, breaking connectivity to the servers. The other VLANs are allowed and therefore work, isolating the issue to the missing VLAN 30 entry.

Why this answer

The trunk is up and carrying multiple VLANs, but VLAN 30 is missing from the allowed list on one side. Since SwitchA and SwitchB both need to permit VLAN 30 on the trunk, if SwitchA's allowed VLAN list does not include VLAN 30, traffic for that VLAN cannot cross. Native VLAN mismatch or ISL vs 802.1Q issues would affect all VLANs, not just VLAN 30.

Thus, the most likely cause is that VLAN 30 is not allowed on the trunk from SwitchA.

Exam trap

Be cautious of assuming native VLAN mismatches or protocol issues when the problem is specific to the allowed VLAN list.

Why the other options are wrong

A

This option is wrong because a native VLAN mismatch would typically affect all VLANs across the trunk, not just VLAN 30. In this scenario, only VLAN 30 is experiencing connectivity issues, indicating a different problem.

B

This option is wrong because configuring VLAN 30 as the native VLAN does not directly affect the ability of PCs in VLAN 30 on SwitchA to communicate with servers in VLAN 30 on SwitchB, especially if VLAN 30 is already properly configured on both switches.

C

SwitchB using ISL instead of 802.1Q is not relevant to the connectivity issue between VLAN 30 on SwitchA and SwitchB. The problem is likely due to VLAN 30 not being allowed on the trunk, not the encapsulation method used.

282
Multi-Selectmedium

Which two statements accurately describe good design thinking for wireless guest access?

Select 2 answers
A.Guest access should normally be isolated from internal corporate resources.
B.Guest access policies should usually reflect lower trust than employee access.
C.Guest WLANs should avoid all security to make access easier.
D.Guest WLANs should automatically use the same permissions as internal employee WLANs.
E.Guest access means the AP no longer needs controller coordination.
AnswersA, B

Guest access should normally be isolated from internal corporate resources because guests are untrusted endpoints. In a proper design, guest traffic is placed in a separate VLAN or VRF, and a firewall or access control list (ACL) restricts it to internet-only connectivity, blocking any reachability to internal subnets, servers, or employee devices. This segmentation prevents compromised or malicious guest devices from pivoting into the corporate network.

Why this answer

Good guest-access design is based on isolation and appropriate policy. In practical terms, guest users should normally be separated from internal corporate resources, and their access should align with the limited purpose of guest connectivity. The goal is not to give them the same trust level as managed internal users.

This is about segmentation and policy, not about disabling the WLAN or eliminating security.

Exam trap

Don't assume guest access should mirror internal access policies; guests should have more restricted access.

Why the other options are wrong

C

This option is wrong because good design thinking for guest access requires implementing security measures to protect the network and its resources, even for guests. Completely avoiding security compromises the network's integrity and exposes it to potential threats.

D

This option is wrong because guest WLANs should have distinct permissions to ensure that guests do not have access to sensitive internal resources, which could lead to security breaches.

E

This option is wrong because guest access typically requires controller coordination to manage policies, monitoring, and security effectively, ensuring that guest traffic is properly segmented and controlled.

283
Drag & Dropmedium

Drag and drop the following steps into the correct order to configure Root Guard on designated ports, Loop Guard on non-designated ports, and BPDU Guard on PortFast ports, and to recover a port that enters err-disabled due to a BPDU guard violation.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

Root Guard on designated, Loop Guard on non-designated, then BPDU Guard on PortFast; recovery requires interface reset after violation.

Exam trap

Candidates often confuse the port roles for Root Guard and Loop Guard, or think that disabling the protection feature will recover an err-disabled port. Remember: Root Guard is for designated ports, Loop Guard for non-designated, and BPDU Guard for PortFast. Err-disabled recovery requires manual reset or global errdisable recovery configuration.

284
MCQhard

A switchport connected to another switch should carry multiple VLANs, but it was manually configured as an access port. What is the most likely operational result?

A.The link will not carry multiple VLANs as intended because an access port handles one VLAN only.
B.The switch automatically converts the access port into a proper trunk.
C.The port becomes a routed Layer 3 interface.
D.The VLANs are summarized into one prefix automatically.
AnswerA

An access port is configured to carry exactly one untagged VLAN—the port's assigned access VLAN—and it strips or rejects tags on ingress/egress. Therefore, traffic from multiple VLANs cannot traverse this inter-switch link, and frames from VLANs other than the access VLAN are dropped or not forwarded as intended. To support multiple VLANs between switches, the port must be configured as a trunk using switchport mode trunk.

Why this answer

An access port is designed to carry only a single VLAN. If the link is intended to carry multiple VLANs, it must be configured as a trunk. The switch will not automatically convert the port to a trunk (B).

The port remains a Layer 2 access port, not a routed Layer 3 interface (C). VLANs are not automatically summarized into a single prefix (D). The most likely result is that the link will not carry multiple VLANs as intended.

Exam trap

Beware of confusing automatic port mode changes with manual configurations. Access ports do not auto-convert to trunk mode.

Why the other options are wrong

B

Switches do not automatically convert an access port to a trunk; manual configuration is required.

C

An access port remains a Layer 2 interface; it does not become a routed Layer 3 interface.

D

VLANs operate at Layer 2 and are not automatically summarized into a single prefix; that would be a routing function.

285
MCQhard

A port connected to an end host is configured with PortFast and BPDU Guard. What is the most likely result if a small unmanaged switch is connected and starts sending BPDUs?

A.The port is error-disabled by BPDU Guard.
B.The port automatically becomes the root port.
C.The port is converted into a trunk.
D.The port ignores the BPDU because PortFast disables STP entirely.
AnswerA

BPDU Guard is a PortFast enhancement that places the port into the errdisable state whenever a BPDU is received on an edge port. Since PortFast assumes the port connects to an end host, any incoming BPDU signals a potential bridging loop or switch misconfiguration. The switch immediately shuts down the port to protect the spanning-tree topology, overriding any normal STP processing that might otherwise occur.

Why this answer

The most likely result is that the port is placed into an err-disabled state by BPDU Guard. In practical terms, PortFast tells the switch to treat the interface like an edge port for a normal endpoint, which is why it starts forwarding quickly. BPDU Guard protects that assumption. If the port suddenly receives a spanning-tree BPDU, the switch treats that as a sign that the port is no longer connected to a simple end device.

This combination is common in enterprise access-layer design because it improves user startup time while still protecting the topology. The correct answer is the one that describes the port being shut down automatically when BPDUs appear unexpectedly.

Exam trap

Remember, BPDU Guard disables the port, it doesn't use spanning-tree states like blocking or learning.

Why the other options are wrong

B

This option is wrong because a port configured with PortFast and BPDU Guard will not automatically become the root port when it receives BPDUs; instead, it will be error-disabled due to BPDU Guard's protection mechanism.

C

This option is wrong because a port configured with PortFast does not automatically convert to a trunk port when it receives BPDUs; instead, it remains in access mode. BPDU Guard will cause the port to be error-disabled upon receiving BPDUs, preventing any trunking behavior.

D

This option is wrong because PortFast does not disable Spanning Tree Protocol (STP) entirely; it merely allows the port to transition to the forwarding state immediately without participating in STP calculations. BPDUs are still processed, and BPDU Guard will take action if they are received.

286
MCQhard

A network engineer notices that Host A in VLAN 10 (10.10.10.50/24) can successfully ping its default gateway 10.10.10.1, but cannot ping the VLAN 20 SVI (10.20.20.1) or any hosts in VLAN 20. The SVIs for both VLAN 10 and VLAN 20 are in an up/up state, and the switch's trunk ports are correctly allowing both VLANs. What is the most likely cause?

A.The ip routing global configuration command is missing.
B.The VLAN 20 SVI is administratively shut down.
C.The trunk between the access switch and the Layer 3 switch is misconfigured as an access port.
D.The default gateway on Host A is configured incorrectly.
AnswerA

The 'ip routing' global configuration command is what enables IPv4 forwarding between VLANs on a multilayer switch. With SVIs created and IP addresses assigned, the switch can answer pings to those addresses for local subnet traffic, but it will not route packets between VLANs unless 'ip routing' is enabled. Since Host A can successfully ping 10.10.10.1 (its own SVI gateway) but fails to reach Host B on VLAN 20, the missing command precisely explains the failure: the switch is essentially acting as a host on each VLAN rather than a router.

Why this answer

Host A can reach its default gateway (10.10.10.1), which is the VLAN 10 SVI, but cannot reach the VLAN 20 SVI (10.20.20.1) or any hosts in VLAN 20. This indicates that Layer 2 connectivity is working (trunk allows both VLANs, SVIs are up/up), but inter-VLAN routing is failing. On a multilayer switch, inter-VLAN routing requires the global command 'ip routing' to enable the switch's IP routing engine; without it, the switch acts as a Layer 2 device only and cannot forward packets between different VLANs.

Exam trap

Cisco often tests the distinction between a switch operating as a Layer 2 device versus a Layer 3 device, and the trap here is that candidates assume SVIs in an up/up state automatically provide inter-VLAN routing, forgetting the mandatory 'ip routing' command.

Why the other options are wrong

B

Candidates may overlook the explicit mention that the SVIs are up/up, mistakenly thinking a shut SVI could be the problem.

C

Trunk misconfiguration is a common inter-VLAN issue, but the scenario explicitly says the trunks are working properly, making this answer invalid.

D

The successful ping to the default gateway proves the gateway is correct. Without 'ip routing', the switch can't forward packets from VLAN 10 to VLAN 20, but it can respond to local VLAN requests.

287
Drag & Dropmedium

Drag and drop the following steps into the correct order to configure Root Guard on a designated port, Loop Guard on a non-designated port, and BPDU Guard on a PortFast port, along with the recovery steps when a port enters err-disabled state.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

The order follows the logical sequence: enter config mode, then configure each guard feature on its respective port, and finally set the errdisable recovery to automatically re-enable ports after a BPDU Guard violation.

Exam trap

The trap is that candidates may think the order of configuring the guards is arbitrary, but the question explicitly requires a specific sequence. Pay close attention to the order in which features are listed in the stem.

288
PBQhard

You are connected to R1. The network consists of R1, SW1, and two hosts (Host-A on VLAN 10, Host-B on VLAN 20). SW1 has two access ports (one per VLAN) and a trunk to R1. Configure R1 for router-on-a-stick inter-VLAN routing. The current configuration has a native VLAN mismatch and a missing subinterface for VLAN 20. Fix these issues so that Host-A and Host-B can ping each other.

Hints

  • •Check if all required subinterfaces are present.
  • •Examine the native VLAN on the trunk.
  • •Verify that IP routing is enabled globally.
A.Configure interface G0/0.20 with encapsulation dot1Q 20 and IP address 192.168.20.1 255.255.255.0, set native VLAN to 1 on the trunk, and enable ip routing.
B.Configure interface G0/0.20 with encapsulation dot1Q 20 and IP address 192.168.20.1 255.255.255.0, set native VLAN to 99 on the trunk, and enable ip routing.
C.Configure interface G0/0.20 with encapsulation dot1Q 20 and IP address 192.168.20.1 255.255.255.0, set native VLAN to 1 on the trunk, but do not enable ip routing.
D.Configure interface G0/0.20 with encapsulation dot1Q 20 and IP address 192.168.20.1 255.255.255.0, set native VLAN to 99 on the trunk, and do not enable ip routing.
AnswerA
solution
! R1
configure terminal
interface GigabitEthernet0/0.20
encapsulation dot1Q 20
ip address 192.168.20.1 255.255.255.0
exit
interface GigabitEthernet0/0
no encapsulation dot1Q 99
exit
ip routing
end

Why this answer

The native VLAN mismatch exists: R1 expects native VLAN 99, but SW1 likely uses native VLAN 1 (default). This causes CDP/STP issues but not directly inter-VLAN routing; however, for proper operation, set native VLAN to 1 on R1. Additionally, the subinterface for VLAN 20 is missing, so traffic from VLAN 20 cannot be routed.

Finally, 'ip routing' is disabled, preventing any inter-VLAN routing. Solution: change native VLAN on trunk to 1, create subinterface G0/0.20 with encapsulation dot1Q 20 and IP 192.168.20.1/24, and enable ip routing.

Exam trap

Be careful to identify all issues in the scenario. Candidates often focus only on the missing subinterface and forget to check the native VLAN mismatch and the global 'ip routing' command. Always verify that routing is enabled and that native VLANs match on both ends of the trunk.

Why the other options are wrong

B

The native VLAN mismatch is not resolved; the switch likely uses native VLAN 1, so R1 should also use 1 or both sides must be configured consistently.

C

IP routing is disabled by default on Cisco routers; it must be explicitly enabled for the router to perform routing functions.

D

Two errors: native VLAN mismatch persists and IP routing is disabled, so packets cannot be routed between VLANs.

289
Multi-Selecthard

A network engineer is configuring a new switch and needs to implement port security on an access port. The engineer wants to limit the number of MAC addresses that can be learned on the port and take a specific action when a violation occurs. Which two commands are required to enable port security and set the maximum number of MAC addresses to 2? (Choose two.)

Select 2 answers
A.switchport port-security
B.switchport port-security violation restrict
C.switchport port-security maximum 2
D.switchport port-security aging time 10
E.switchport port-security mac-address sticky
AnswersA, C

This command enables port security on the interface. Without it, port security features are not active. It must be configured before setting other port security parameters like maximum MAC addresses. In the scenario, the engineer needs to enable port security to restrict MAC addresses, so this command is essential. It is one of the two required commands.

Why this answer

To enable port security, the 'switchport port-security' command is required. To set the maximum number of MAC addresses to 2, the 'switchport port-security maximum 2' command is used. The violation action and sticky learning are optional and not specified in the scenario.

Therefore, the two required commands are those that enable the feature and set the limit.

Exam trap

The trap here is selecting additional port security commands like violation or sticky when the question only asks for enabling and setting the maximum.

290
MCQhard

A network engineer has configured an LACP EtherChannel between Switch1 and Switch2 by assigning interfaces to channel-group 1 with the mode passive on both switches. The engineer issues the show etherchannel summary command on Switch1 and sees the output below. The Port-channel interface remains down. Which action resolves the issue?

A.Configure the switchport mode as trunk on both sides.
B.Change the mode on one switch to active.
C.Verify that the native VLAN matches on both sides of the trunk.
D.Correct the speed and duplex settings on the member ports.
AnswerB

In LACP, passive mode interfaces only respond to received PDUs; they never initiate LACP negotiation. Since both switches are configured with passive mode, no LACP PDUs are exchanged, and the ports remain in a standalone (I) state. Changing one switch to active makes it actively send LACP PDUs, which prompts the passive peer to reply and complete the negotiation, allowing the member ports to bundle into the Port-channel. This directly fixes the root cause of the failure.

Why this answer

When both switches are configured with LACP mode passive, neither switch initiates the negotiation process because passive mode only responds to incoming LACP packets. By changing one side to active mode, that switch will actively send LACP packets, allowing the EtherChannel to form. The Port-channel interface remains down due to this negotiation failure, not because of VLAN or physical mismatch issues.

Exam trap

Cisco often tests the LACP mode interaction by setting both sides to passive, leading candidates to incorrectly focus on trunking, VLAN, or physical layer issues instead of recognizing that LACP requires at least one side to be active.

Why the other options are wrong

A

The show output indicates Layer 2 mode is already active, and trunking isn’t required for bundling. The issue is LACP protocol negotiation, not interface mode.

C

The Port-channel would still form even with a native VLAN mismatch; it would not be down (SD) and ports would not be stand-alone (I) solely because of VLAN mismatch.

D

The flags in the output (I, SD) are not consistent with a speed/duplex problem, and the explicit configuration of passive mode on both sides is the known root cause.

291
MCQhard

A PC connected to SW1 cannot reach the default gateway. The access port is assigned to VLAN 20, and the switch output shows that VLAN 20 is inactive. What is the most likely cause?

A.Port security has shut down the interface
B.VLAN 20 does not exist or is not active on the switch
C.The port must be converted to a trunk
D.The default gateway must be configured on the physical switch port
AnswerB

VLAN 20 must exist in the switch's VLAN database and be enabled (not shutdown) for the access port to forward frames. The exhibit's output indicates VLAN 20 is inactive, so the switch will not deliver the PC's frames to the default gateway in that VLAN. As a result, the PC cannot reach the gateway even if its IP address and gateway settings are correct.

Why this answer

The port is operationally up, but VLAN 20 is listed as inactive because that VLAN does not exist in the VLAN database. An access port assigned to a missing VLAN will not carry normal user traffic for that VLAN.

Exam trap

Ensure the VLAN is created and active in the VLAN database when troubleshooting connectivity issues.

Why the other options are wrong

A

This option is wrong because the question specifies that the PC cannot reach the default gateway due to VLAN issues, not because of port security settings. Port security would typically result in the interface being in an error-disabled state, which is not indicated here.

C

This option is incorrect because converting the port to a trunk would not resolve the issue of the PC not reaching the default gateway if VLAN 20 is not configured or active. The problem lies in the VLAN configuration, not the port type.

D

This option is incorrect because the default gateway is typically configured on the device (e.g., a router or PC) rather than on the switch port itself. The issue in the question pertains to VLAN configuration, not gateway settings.

292
PBQmedium

You are connected to SW1, a Layer 2 switch. Port G0/1 connects to a PC in VLAN 10. Management requires that only one MAC address is allowed on this port, and if a violation occurs, the port should shut down and a log message should be generated. Additionally, you need to ensure that the port enables rapidly and does not wait for STP convergence. Currently, the PC has MAC address aaaa.bbbb.cccc.

Network Topology
G0/1SW1PC

Hints

  • •Port security must be enabled first.
  • •Use the 'mac-address' command to specify the allowed MAC.
  • •PortFast bypasses STP listening/learning for access ports.
A.switchport port-security; switchport port-security maximum 1; switchport port-security mac-address aaaa.bbbb.cccc; switchport port-security violation shutdown; spanning-tree portfast
B.switchport port-security maximum 1; switchport port-security mac-address aaaa.bbbb.cccc; switchport port-security violation restrict; spanning-tree portfast
C.switchport port-security maximum 1; switchport port-security mac-address aaaa.bbbb.cccc; switchport port-security violation protect; spanning-tree portfast
D.switchport port-security maximum 1; switchport port-security mac-address aaaa.bbbb.cccc; switchport port-security violation shutdown; no spanning-tree portfast
AnswerA
solution
! SW1
interface GigabitEthernet0/1
switchport port-security
switchport port-security maximum 1
switchport port-security mac-address aaaa.bbbb.cccc
switchport port-security violation shutdown
spanning-tree portfast

Why this answer

Option A is correct because it includes the mandatory 'switchport port-security' command that globally enables port security on the interface before any other port-security parameters can take effect. It sets the maximum MAC count to 1, statically binds the PC's MAC (aaaa.bbbb.cccc), configures the violation mode to shutdown (which err-disables the port and generates a syslog/SNMP log), and enables PortFast so the port transitions to forwarding immediately without waiting for STP convergence.

Exam trap

200-301 often tests whether candidates remember that 'switchport port-security' must be entered first — many candidates select an option that lists maximum/MAC/violation commands without the enabling command and lose the point.

Why the other options are wrong

B

The specific factual error: 'restrict' does not disable the port; it only filters traffic and logs the violation, but the port remains operational.

C

The specific factual error: 'protect' silently drops unauthorized traffic without logging or disabling the port.

D

The specific factual error: PortFast is required to bypass STP convergence; without it, the port will wait for STP to transition, causing delay.

293
MCQhard

After configuring DHCP snooping on VLAN 10 to prevent rogue DHCP servers, all clients in the VLAN stop receiving DHCP offers from the legitimate DHCP server that is connected to port Gi0/1. The administrator verifies the DHCP server is operational and reachable. What should the technician do next?

B.Configure interface Gi0/1 as a DHCP snooping trusted port.
C.Add an ip helper-address on the VLAN 10 SVI pointing to the DHCP server.
D.Reconfigure the DHCP server scope to include DHCP Option 82.
AnswerB

DHCP snooping treats all ports as untrusted by default and drops DHCP server messages (OFFER, ACK) that arrive on untrusted ports. The DHCP server is connected to interface Gi0/1, so the switch is currently dropping its valid reply. By configuring Gi0/1 as a DHCP snooping trusted port, the switch will forward DHCP offers and acknowledgments from that port, allowing clients on VLAN 10 to obtain addresses while still protecting against rogue DHCP servers on other ports.

Why this answer

DHCP snooping, by default, treats all ports as untrusted and drops DHCP server messages (OFFER, ACK) received on untrusted ports. Since the legitimate DHCP server is connected to Gi0/1, that port must be explicitly configured as a DHCP snooping trusted port using the 'ip dhcp snooping trust' interface command to allow DHCP server responses to reach clients.

Exam trap

Cisco often tests the default behavior of DHCP snooping where all ports are untrusted, and the trap is that candidates may think the issue is a routing problem (ip helper-address) or a server-side configuration (Option 82) rather than recognizing the need to mark the server-facing port as trusted.

Why the other options are wrong

A

Misunderstanding that DAI controls DHCP traffic rather than ARP packets.

C

Assuming DHCP snooping introduces routing changes or that the server is on a different subnet.

D

Confusing DHCP snooping with DHCP relay agent functionality and option 82 insertion.

294
Multi-Selectmedium

Which TWO switch port configurations are required when connecting a Cisco IP phone and a desktop PC to a single access port?

Select 2 answers
A.Configure the port as a trunk and allow both VLANs.
B.Use the 'switchport voice vlan' command to assign a dedicated voice VLAN.
C.Disable spanning tree on the port to prevent voice delays.
D.Apply 'mls qos trust cos' on the interface to preserve voice packet markings.
E.Configure the port as a routed port with an IP address for management.
AnswersB, D

The 'switchport voice vlan' command is the correct method because it configures an access port to carry both data and voice while keeping them logically separate. The Cisco IP phone uses CDP or LLDP to learn the configured voice VLAN, tags all voice frames with that VLAN's 802.1Q header, and passes the PC's untagged traffic in the access VLAN. This preserves the normal access port behavior for the connected PC while ensuring voice traffic is segmented for QoS and security.

Why this answer

The 'switchport voice vlan' command assigns a dedicated VLAN for voice traffic, allowing the IP phone to tag its packets with the voice VLAN ID while the PC remains in the native (data) VLAN. Option D is correct because 'mls qos trust cos' preserves the Layer 2 Class of Service (CoS) markings from the IP phone, ensuring voice packets receive appropriate QoS treatment across the network. Option A is incorrect because a trunk port is not required—the access port with the voice VLAN command handles both VLANs without trunking.

Option C is incorrect because disabling Spanning Tree Protocol (STP) is not a recommended practice and does not prevent voice delays; STP is essential for loop prevention and can be tuned with PortFast instead. Option E is incorrect because the port must remain a Layer 2 access port, not a routed port, to support both the PC and IP phone.

Exam trap

Cisco often tests the misconception that a trunk port is needed to carry both voice and data VLANs, but the correct approach uses a single access port with the 'switchport voice vlan' command to handle both VLANs without trunking.

Why the other options are wrong

A

Using a trunk port for a single device connection is unnecessary and violates standard access port design; it would also require the phone to support trunking, which is not the typical Cisco IP phone configuration.

C

STP does not introduce significant delays in normal operation, and disabling it risks broadcast storms and network loops.

E

Access ports operate at Layer 2; converting to a routed port would prevent the phone and PC from communicating within their respective VLANs.

295
MCQhard

A network engineer notices that after adding a new switch to the network, a different switch unexpectedly becomes the STP root bridge, disrupting all VLANs. The new switch has the default priority (32768) but has a lower MAC address than all existing switches. What is the most likely cause?

A.The new switch is running PVST+ while the existing switches use Rapid PVST+
B.Root Guard is enabled on the new switch’s uplink ports facing the existing root
C.The existing root bridge has a bridge priority lower than the default value of 32768
D.The new switch was added with a bridge priority of 4096
AnswerC

If the existing root bridge’s priority is less than 32768 (e.g., 4096 or 0), its Bridge ID is lower than the new switch’s default 32768 + lower MAC. STP always elects the switch with the lowest Bridge ID as the root bridge. Thus, despite the new switch’s lower MAC, the manually lowered priority keeps the existing switch as root.

Why this answer

The existing root bridge has a bridge priority lower than the default value of 32768, so even though the new switch has the default priority, its lower MAC address does not make it the root. STP elects the root bridge based on the lowest bridge ID (priority + MAC address). Since the existing root already has a lower priority, it remains the root.

The new switch's lower MAC address only becomes a tiebreaker when priorities are equal, which is not the case here.

Exam trap

Cisco often tests the misconception that a lower MAC address alone can cause a root bridge change, but the trap here is that candidates forget the bridge priority is compared first, so a switch with default priority cannot outrank an existing root with a manually lowered priority.

Why the other options are wrong

A

Candidates may think that STP version incompatibility disrupts root election, but both versions use the same BPDU format and root election rules.

B

Candidates often associate Root Guard with preventing a switch from becoming the root. However, it does not cause another switch to become root; it just protects the network from unexpected superior BPDUs.

D

Candidates may confuse the symptom and think that a low priority on the new switch causes the problem, but this would make the new switch the root, not another switch.

296
MCQhard

Two switches are connected via an IEEE 802.1Q trunk. Hosts in VLAN 30 on opposite sides cannot communicate, yet hosts in VLAN 10 communicate normally. Both switches have VLAN 30 in their VLAN database, and the trunk link is operational. What is the most likely cause?

A.VLAN 30 is pruned or not allowed on one side of the trunk
B.The native VLAN must be set to 30
C.STP blocks all VLANs on the trunk when one VLAN fails
D.The trunk must be changed to access mode for VLAN 30
AnswerA

VLAN 30 is either pruned via VTP pruning or excluded by the switchport trunk allowed vlan list on at least one of the interconnected switches. Because the 802.1Q trunk carries VLAN 10 successfully, the physical link and trunk parameters are operational, but VLAN 30's frames are deliberately filtered before crossing the trunk, so hosts in VLAN 30 experience complete connectivity loss while VLAN 10 remains unaffected.

Why this answer

If a VLAN is not allowed on one side of the trunk, frames for that VLAN are dropped even though other VLANs continue to work. Option A correctly identifies that VLAN 30 is either pruned or missing from the allowed list on one end. Option B is wrong because the native VLAN only affects untagged frames and would not cause the filtering of a tagged VLAN like VLAN 30.

Option C is incorrect because STP can block individual VLANs per port, but it does not block all VLANs on a trunk due to a single VLAN’s issue—only the affected VLAN would be blocked. Option D is invalid because converting the trunk to access mode would break all VLAN trunking, including the working VLAN 10.

Exam trap

Ensure you check the trunk configuration for allowed VLANs, not just VLAN existence or port assignments.

Why the other options are wrong

B

The native VLAN setting only governs untagged traffic on the trunk, not the tagged frames of VLAN 30, so it cannot fix a missing allowed VLAN.

C

STP does not globally block all VLANs on a trunk; per‑VLAN spanning tree can block individual VLANs, but a single VLAN failure would not cause the trunk to block all traffic.

D

Changing the trunk to access mode would restrict the link to a single VLAN, breaking VLAN 10 connectivity as well, which contradicts the working state of VLAN 10.

297
Multi-Selectmedium

Which TWO statements correctly describe the configuration and use of a voice VLAN on a Cisco switch port?

Select 2 answers
A.The voice VLAN is configured using the 'switchport mode trunk' command.
B.When a voice VLAN is configured, the switch port operates in two VLANs: one for data and one for voice traffic.
C.The voice VLAN must be the same as the native VLAN on the trunk link.
D.The IP phone uses CDP or LLDP to learn the voice VLAN ID from the switch.
E.The data VLAN and voice VLAN must be in the same IP subnet.
AnswersB, D

With a voice VLAN configured, a single physical switchport simultaneously carries data and voice traffic by operating as an access port for the data VLAN and accepting tagged frames on the voice VLAN. The switch sets the port to 'switchport mode access' with 'switchport access vlan' for data and 'switchport voice vlan' for voice, so the port effectively bridges two separate VLANs. This is why a PC connected through an IP phone still gets an untagged data VLAN assignment while the phone's traffic is tagged with the voice VLAN ID.

Why this answer

When a voice VLAN is configured on a Cisco switch port, the port operates in two separate VLANs simultaneously: one for data traffic (the access VLAN) and one for voice traffic (the voice VLAN). This is achieved using the 'switchport voice vlan' command, which allows the switch to tag voice frames with the voice VLAN ID while leaving data frames untagged (or tagged with the access VLAN). This separation ensures that voice traffic receives appropriate QoS treatment and is isolated from data traffic.

Exam trap

Cisco often tests the misconception that a voice VLAN requires trunking or that the voice VLAN must match the native VLAN, but in reality, a voice VLAN is configured on an access port using the 'switchport voice vlan' command, and the native VLAN concept applies only to trunk ports.

Why the other options are wrong

A

Trunk mode is used to carry multiple VLANs, but for a single access port with voice, the port remains in access mode and uses the voice VLAN feature.

C

The native VLAN is used for untagged traffic on a trunk, while the voice VLAN is a specific VLAN that carries tagged voice traffic from the phone.

E

They are separate VLANs and usually belong to different subnets for logical separation and management.

298
PBQeasy

You are connected to SW1, a Layer 2 switch. The network administrator wants to prevent unauthorized switches from being connected to access ports. Port G0/1 is an access port in VLAN 10. You need to configure BPDU Guard on this port to protect against STP loops caused by rogue switches. Additionally, enable PortFast for immediate transition to forwarding.

Hints

  • •PortFast should be applied to access ports to reduce STP convergence time.
  • •BPDU Guard disables the port if a BPDU is received.
  • •Both commands are under the interface configuration.
A.SW1(config-if)# spanning-tree portfast SW1(config-if)# spanning-tree bpduguard enable
B.SW1(config)# spanning-tree portfast default SW1(config)# spanning-tree bpduguard default
C.SW1(config-if)# spanning-tree portfast SW1(config-if)# spanning-tree guard root
D.SW1(config-if)# spanning-tree portfast SW1(config-if)# spanning-tree bpduguard disable
AnswerA
solution
! SW1
interface GigabitEthernet0/1
spanning-tree portfast
spanning-tree bpduguard enable

Why this answer

PortFast allows an access port to skip STP listening/learning and transition immediately to forwarding. BPDU Guard protects against STP loops by error-disabling the port if a BPDU is received, which would indicate an unauthorized switch connection.

Exam trap

Be careful to distinguish between interface-level and global commands for PortFast and BPDU Guard. Also, remember that BPDU Guard uses 'bpduguard enable' (not 'disable') and is different from Root Guard ('guard root').

Why the other options are wrong

B

The specific factual error is that global commands affect all ports, not a single interface.

C

The specific factual error is confusing Root Guard with BPDU Guard; they serve different purposes.

D

The specific factual error is using the 'disable' keyword instead of 'enable' to activate BPDU Guard.

299
MCQeasy

Which STP port state on a classic 802.1D switch listens for BPDUs and prepares to participate in the topology, but does not yet learn MAC addresses?

A.Listening
B.Learning
C.Forwarding
D.Disabled
AnswerA

In the classic 802.1D listening state, a port is still blocked from forwarding user data, but it is actively listening to incoming BPDUs to determine the network topology. During this 15-second forward-delay interval, the switch does not learn MAC addresses from the frames it receives, and it cannot send user traffic. Only after this state does the port move to learning.

Why this answer

In classic STP, the listening state processes BPDUs and waits before learning begins. The learning state is when the switch starts populating the MAC table.

Exam trap

Do not confuse the listening state with the learning state; remember that listening involves BPDU processing without MAC address learning.

Why the other options are wrong

B

In the listening state, a switch port listens for BPDUs but does not learn MAC addresses. The learning state is the next step where the port begins to learn MAC addresses from incoming frames while still not forwarding traffic.

C

In the Forwarding state, the switch port has already learned MAC addresses and is forwarding data frames, whereas the question specifies a state that does not yet learn MAC addresses.

D

The Disabled port state does not listen for BPDUs, learn MAC addresses, or forward frames; it is administratively shut down and has no participation in STP topology.

300
MCQhard

A switch interface is configured as `dynamic desirable`, and the peer interface is configured as `dynamic auto`. What is the most likely result?

A.The link is likely to become a trunk.
B.The link becomes a routed port.
C.All VLANs are deleted from both switches.
D.The port is immediately error-disabled.
AnswerA

Dynamic desirable is the most proactive DTP mode; it actively sends DTP frames to initiate trunk negotiation. When the remote switch port is configured as dynamic auto, it passively listens and responds to DTP, allowing the two switches to agree on trunking and place the link into trunk mode. Therefore, this pairing is a valid and expected way to form a trunk.

Why this answer

The most likely result is that the link becomes a trunk. In simple terms, `dynamic desirable` actively tries to negotiate a trunk, while `dynamic auto` listens and responds. Because one side is willing to initiate the process, trunking can be established if the rest of the configuration is compatible.

This question tests whether you know the difference between passive and active DTP behavior. The classic failure pairing is auto/auto. Desirable/auto, by contrast, is a normal path to trunk formation.

Exam trap

Be careful not to confuse DTP modes with Spanning Tree Protocol states or assume passive modes prevent trunking.

Why the other options are wrong

B

This option is wrong because a switch interface configured as `dynamic desirable` and its peer as `dynamic auto` will negotiate a trunk link, not a routed port. Routed ports are typically configured explicitly and not through dynamic negotiation.

C

This option is wrong because configuring a switch interface as `dynamic desirable` and `dynamic auto` does not lead to the deletion of VLANs; it instead allows for trunk negotiation between the switches.

D

This option is wrong because a switch interface configured as `dynamic desirable` and its peer as `dynamic auto` will negotiate a trunk link, not a routed port. Routed ports are typically configured explicitly and do not involve dynamic negotiation.

← PreviousPage 4 of 5 · 320 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Switching Network Access questions.