VLANs Allowed on the Trunk

VLANs Allowed on the Trunk
By default, a trunk carries traffic for all VLANs. You can change that behavior
for a particular trunk link by giving the following command at the interface
config mode:
switchport trunk allowed vlan vlans
Make sure that both sides of a trunk link allow the same VLANs.