• The device does not support Layer 3 trunks; you cannot configure subinterfaces or use the encapsulation keyword on Layer 3 interfaces. The device does support Layer 2 trunks and Layer 3 VLAN interfaces, which provide equivalent capabilities. • When native VLAN and management VLAN is configured with the same VLAN ID and a new VLAN is added as trunk port, both the new VLAN and native VLAN shifts between active and suspend state for a duration of 15 seconds. This duration is the time taken for STP to resolve all inconsistencies.
How to Configure VLAN Trunks To avoid trunking misconfigurations, configure interfaces connected to devices that do not support DTP to not forward DTP frames, that is, to turn off DTP. • If you do not intend to trunk across those links, use the switchport mode access interface configuration command to disable trunking. • To enable trunking to a device that does not support DTP, use the switchport mode trunk and switchport nonegotiate interface configuration commands to cause the interface to become a trunk but to not generate DTP frames. Configuring an Ethernet Interface as a Trunk Port This section provides information about configuring an Ethernet Interface as a trunk port:
Configuring a Trunk Port Because trunk ports send and receive VTP advertisements, to use VTP you must ensure that at least one trunk port is configured on the device and that this trunk port is connected to the trunk port of a second device. Otherwise, the device cannot receive any VTP advertisements. Before you begin By default, an interface is in Layer 2 mode. The default mode for Layer 2 interfaces is switchport mode dynamic auto . If the neighboring interface supports trunking and is configured to allow trunking, the link is a Layer 2 trunk or, if the interface is in Layer 3 mode, it becomes a Layer 2 trunk when you enter the switchport interface configuration command.
Procedure Configuring VLAN Trunks How to Configure VLAN Trunks Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example: Enters global configuration mode. VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 49