Defining the Allowed VLANs on a Trunk VLAN 1 is the default VLAN on all trunk ports in all Cisco devices, and it has previously been a requirement that VLAN 1 always be enabled on every trunk link. You can use the VLAN 1 minimization feature to disable VLAN 1 on any individual VLAN trunk link so that no user traffic (including spanning-tree advertisements) is sent or received on VLAN 1. Procedure Configuring VLAN Trunks Defining the Allowed VLANs on a Trunk Command or Action Purpose Step 8 show interfaces interface-id switchport Example:
Device# show interfaces gigabitethernet 1/0/2 switchport Displays the switch port configuration of the interface in the Administrative Mode and the Administrative Trunking Encapsulation fields of the display. Step 9 show interfaces interface-id trunk Example: Device# show interfaces gigabitethernet 1/0/2 trunk Displays the trunk configuration of the interface. Step 10 copy running-config startup-config Example: Device# copy running-config startup-config (Optional) Saves your entries in the configuration file. Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example:
Device# configure terminal Enters global configuration mode. Step 3 interface interface-id Example: Device(config)# interface gigabitethernet Specifies the port to be configured, and enters interface configuration mode. VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 51