Question

Difficulty: MediumInterswitch Connectivity and Trunking (802.1Q)

A network administrator needs to manually configure a static IEEE 802.1Q trunk on a Cisco Catalyst switch interface (GigabitEthernet0/1), set the native VLAN to VLAN 50, and disable Dynamic Trunking Protocol (DTP) frame transmission. What is the correct sequence of Cisco IOS configuration commands to accomplish this task?

  1. 1interface GigabitEthernet0/1
  2. 2switchport mode trunk
  3. 3switchport trunk native vlan 50
  4. 4switchport nonegotiate

Answer

The correct sequence begins with entering interface configuration mode (`interface GigabitEthernet0/1`), explicitly setting the switchport mode to static trunk (`switchport mode trunk`), specifying the untagged native VLAN (`switchport trunk native vlan 50`), and finally disabling DTP frame negotiation (`switchport nonegotiate`).
To properly configure an 802.1Q trunk link with a custom native VLAN and suppressed DTP, an engineer must first enter interface configuration mode (`interface GigabitEthernet0/1`). Next, the port operational mode must be set to static trunking (`switchport mode trunk`). Once the port is in static trunk mode, the native VLAN can be configured (`switchport trunk native vlan 50`), followed by disabling DTP negotiations (`switchport nonegotiate`).

Step-by-Step Solution

1
Enter interface configuration mode
Prompt changes to Switch(config-if)# for GigabitEthernet0/1
Cisco IOS requires navigating to the specific interface context before executing port configuration commands.
2
Set interface mode to trunk
Interface transitions to static trunk operational mode
Static trunking must be active before setting trunk-specific parameters or disabling dynamic DTP negotiation.
3
Specify custom native VLAN
VLAN 50 is assigned as the native VLAN for untagged ingress and egress frames
Overrides the default native VLAN 1 setting on the trunk link.
4
Disable DTP negotiation
Switch stops sending DTP negotiation frames out GigabitEthernet0/1
The switchport nonegotiate command is only valid on interfaces configured in static access or static trunk mode.

Key Concept

Static IEEE 802.1Q trunk configuration and DTP negotiation suppression on Cisco IOS switchports
Rate this question