Another approach is to use Dynamic Trunking Protocol (DTP). This protocol allows you to autoconfigure both the trunking and the type of trunking encapsulation on a Cisco switch:
-
First, enter switch configuration and interface configuration mode:
Switch# configure terminalSwitch (config)# interface fastethernet 1
-
Slot 0 port 1 can be statically converted into a trunk port with the following command:
Switch (config-if)# switchport mode trunk
-
Dynamic trunk configuration can be done in two different ways. If the neighboring interface is set to trunk, desirable, or auto, then the port will become a trunk if we issue this command:
Switch (config)# Switchport mode dynamic desirable
-
If the neighboring interface ...