nerdexam
Cisco

350-401 · Question #395

Refer to the exhibit. All switches are configured with the default port priority value. Which two commands ensure that traffic from PC1 is forwarded over Gi1/3 trunk port between DWS1 and DSW2? (Choos

The correct answer is A. DSW2(config-if)#spanning-tree port-priority 16 B. DSW2(config)#interface gi1/3. To ensure traffic from PC1 forwards over the Gi1/3 trunk port between DSW1 and DSW2, the port priority on DSW2's Gi1/3 interface must be lowered to make it the preferred path.

Submitted by hassan_iq· Mar 6, 2026

Question

Refer to the exhibit. All switches are configured with the default port priority value. Which two commands ensure that traffic from PC1 is forwarded over Gi1/3 trunk port between DWS1 and DSW2? (Choose two)

Exhibits

350-401 question #395 exhibit 1
350-401 question #395 exhibit 2

Options

  • ADSW2(config-if)#spanning-tree port-priority 16
  • BDSW2(config)#interface gi1/3
  • CDSW1(config-if)#spanning-tree port-priority 0
  • DDSW1(config)#interface gi1/3
  • EDSW2(config-if)#spanning-tree port-priority 128

How the community answered

(58 responses)
  • A
    79% (46)
  • C
    3% (2)
  • D
    10% (6)
  • E
    7% (4)

Why each option

To ensure traffic from PC1 forwards over the Gi1/3 trunk port between DSW1 and DSW2, the port priority on DSW2's Gi1/3 interface must be lowered to make it the preferred path.

ADSW2(config-if)#spanning-tree port-priority 16Correct

The command `spanning-tree port-priority 16` lowers the priority of the Gi1/3 interface on DSW2 (from default 128), making it more preferred in STP path selection and ensuring the link from DSW1 to DSW2's Gi1/3 is chosen as a forwarding path towards DSW2.

BDSW2(config)#interface gi1/3Correct

The `interface gi1/3` command is necessary to enter interface configuration mode on DSW2, allowing the subsequent `spanning-tree port-priority` command to be applied to that specific port.

CDSW1(config-if)#spanning-tree port-priority 0

Setting DSW1's Gi1/3 port priority to 0 would make it highly preferred, potentially causing DSW2's Gi1/3 to be blocked if DSW1 is closer to the root bridge or for specific VLANs.

DDSW1(config)#interface gi1/3

This command only enters interface configuration mode on DSW1 and does not apply any changes to influence the STP path.

EDSW2(config-if)#spanning-tree port-priority 128

Setting the port priority to 128 is the default value and would not change the current STP behavior to favor the Gi1/3 link.

Concept tested: Spanning Tree Protocol (STP) port priority

Source: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3850/software/release/3se/multiservice_configuration_guide/ol-3se-multiservice-config/sw_spanning_tree.html

Topics

#STP#STP port priority#Layer 2 path selection#trunk ports

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice