Trunk Ports are switchports on Cisco switches that interconnect switches. The trunk port carries traffic for all the VLans across the switches it interconnects. switchport can be enabled and configured as trunks without much trouble.
The following procedure helps setting a switchport into a Trunk port with 802.1q encapsulation.