Establishing a Trunk Link Between Cisco Switches | CCNA Exam Question

How to Establish a Trunk Link Between Cisco Switches

Question

An engineer must establish a trunk link between two switches.

The neighboring switch is set to trunk or desirable mode.

What action should be taken?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C.

When establishing a trunk link between two switches, it's important to ensure that both switches have compatible settings for the trunk link. The mode of the neighboring switch will determine which mode should be used on the interface of the switch being configured.

Option A: configure switchport nonegotiate This option disables the negotiation of the trunking protocol on the interface, which means the interface will not send or process any Dynamic Trunking Protocol (DTP) messages. This is not a recommended option for establishing a trunk link between two switches because it does not ensure compatibility between the switches.

Option B: configure switchport mode dynamic desirable This option sets the interface to negotiate with the neighboring switch using DTP messages. If the neighboring switch is set to trunk mode or dynamic desirable mode, the interface will become a trunk link. If the neighboring switch is set to access mode, the interface will become an access link.

Option C: configure switchport mode dynamic auto This option sets the interface to listen for DTP messages from the neighboring switch. If the neighboring switch is set to trunk mode or dynamic desirable mode, the interface will become a trunk link. If the neighboring switch is set to access mode, the interface will become an access link.

Option D: configure switchport trunk dynamic desirable This option is not a valid command. The correct command is "switchport mode dynamic desirable" or "switchport mode trunk" depending on the desired configuration.

In summary, the correct answer is B. Configure switchport mode dynamic desirable, as this is the recommended option for establishing a trunk link between two switches when the neighboring switch is set to trunk or dynamic desirable mode.