200-301 · Question #1292
Refer to the exhibit. SW2 is replaced because of a hardware failure. A network engineer starts to configure SW2 by copying the fa0/1 interface configuration from SW1. Which command must be configured
The correct answer is A. switchport mode trunk. To allow communication between PC1 and PC2 across SW1 and the newly replaced SW2, the link connecting SW2 to SW1 (fa0/1) must be configured as a trunk port. This enables the passage of multiple VLANs between the switches, facilitating inter-VLAN communication if the PCs are in di
Question
Refer to the exhibit. SW2 is replaced because of a hardware failure. A network engineer starts to configure SW2 by copying the fa0/1 interface configuration from SW1. Which command must be configured on the fa0/1 interface of SW2 to enable PC1 to connect to PC2?
Exhibits
Options
- Aswitchport mode trunk
- Bswitchport trunk native vlan 10
- Cswitchport mode access
- Dswitchport trunk allowed remove 10
How the community answered
(37 responses)- A81% (30)
- B3% (1)
- C11% (4)
- D5% (2)
Why each option
To allow communication between PC1 and PC2 across SW1 and the newly replaced SW2, the link connecting SW2 to SW1 (fa0/1) must be configured as a trunk port. This enables the passage of multiple VLANs between the switches, facilitating inter-VLAN communication if the PCs are in different VLANs or ensuring communication if they are in the same VLAN but on different switches.
The `switchport mode trunk` command configures the interface to operate in trunking mode, allowing it to carry traffic for multiple VLANs. This is essential for inter-switch links when devices connected to different switches need to communicate, especially if they reside in different VLANs, as it permits the tagging and forwarding of frames for all allowed VLANs.
The `switchport trunk native vlan 10` command only sets the native VLAN for an already trunking port; it does not enable trunking itself.
`switchport mode access` configures the interface as an access port, allowing traffic for only a single VLAN, which would prevent inter-VLAN communication between switches.
`switchport trunk allowed remove 10` modifies the allowed VLANs on an existing trunk, but it does not enable trunking and removing a VLAN might prevent necessary traffic.
Concept tested: Configuring switch trunk ports
Source: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/release/12-2_55_se/configuration/guide/scg/sw_vlans.html#wp1026040
Topics
Community Discussion
No community discussion yet for this question.

