Trunk Port(Tag Port)
Last updated
Last updated
A trunk port is a port that is assigned to carry traffic for all the VLANs.Trunk send Untagged and Tagged information. There are two standards for Trunking:
ISL(Cisco)
802.1Q(Industry Standard) is 4 Byte which is considered without Native Vlan
Example:
In older version of Cisco devices first you have to write:
switchport encapsulation dot1q
then
switchport mode trunk
For changing Native Vlan just write:
To allow specific vlan just write:
In above-mentioned code, just vlan 10, 20, 30 allowed through trunk port
You can use switchport command with add/all/except/none