Trunk ports are used to connect switches together and can carry multiple VLANs between switches. In this mode, the port functions as a non-trunking untagged single VLAN Layer 2. The interfaces (ports) of network switches (specifically Cisco switches) can be configured as Access Ports and Trunk Ports. In this article we will examine Access Mode and Trunk Mode ports on Cisco switches. Ethernet trunks carry the traffic of multiple VLANs over a single link, and you can extend the VLANs across an entire network. It dynamically. Cisco IOS switches allow switchport commands related to different type of port to co - exist on the same interface. However, the command that says what commands are considered and implemented is the switchport mode In your case the port is configured with switchport mode trunk so all commands. By default, our switch ports will pass traffic for one virtual LAN, or VLAN, and one VLAN only. So by default, we're only passing traffic for one VLAN.
[PDF Version]