This section describes how to configure VLAN trunks on Cisco switches:
- Configuring IEEE 802.1Q trunk link: Enter the following commands to configure a trunk link:
Switch(config)# interface <interface-ID>
Switch(config-if)# switchport mode trunk
Switch(config-if)# exit
Switch(config)#
- Configuring a native VLAN as an IEEE 802.1Q trunk link: Enter the following commands to configure a native VLAN for untagged 802.1Q frames:
Switch(config)# interface <interface-ID>
Switch(config-if)# switchport trunk native vlan <vlan-ID>
Switch(config-if)# exit
Switch(config)#
- Configuring VLANs to be allowed on the trunk link: Enter the following commands to configure the list of VLANs to be allowed on the trunk link:
Switch(config)# interface <interface-ID>
Switch(config-if)# switchport trunk allowed vlan <vlan list>
Switch(config-if...