Configuring Cisco Switch Interface for Trunk Link Establishment

Establishing Trunk Links: Command Configuration

Question

An engineer requires a switch interface to actively attempt to establish a trunk link with a neighbor switch. What command must be configured?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B

https://www.ciscopress.com/articles/article.asp?p=2181837&seqNum=8#:~:text=switchport%20mode%20dynamic%20auto%3A%20Makes,to%

20trunk%20or%20desirable%20mode.&text=switchport%20mode%20dynamic%20desirable%3A%20Makes,link%20to%20a%20trunk%20link

.

The command that must be configured to make a switch interface actively attempt to establish a trunk link with a neighbor switch is "switchport mode dynamic desirable" (option B).

Here is a detailed explanation of each option:

A. "switchport mode trunk" sets the switch interface to permanently operate in trunk mode. This means that the interface will always be a trunk and will not attempt to negotiate with the neighbor switch to become a trunk.

B. "switchport mode dynamic desirable" is the correct answer because it sets the switch interface to actively attempt to negotiate with the neighbor switch to become a trunk. If the neighbor switch is configured to allow trunking and is also set to "dynamic desirable" or "trunk" mode, the negotiation will be successful and the interface will become a trunk.

C. "switchport nonegotiate" disables the negotiation of trunking on the interface, which means that the interface will not attempt to negotiate with the neighbor switch to become a trunk. Instead, the interface will be in access mode and will only allow traffic from a single VLAN.

D. "switchport mode dynamic auto" sets the interface to passively wait for the neighbor switch to initiate trunk negotiation. This means that if the neighbor switch is set to "dynamic desirable" or "trunk" mode, the interface will become a trunk. However, if the neighbor switch is set to "access" or "dynamic auto" mode, the interface will become an access port.

In summary, "switchport mode dynamic desirable" is the command that must be configured to make a switch interface actively attempt to establish a trunk link with a neighbor switch.