05-29-2013 01:36 PM - edited 03-07-2019 01:37 PM
Hi all,
This one is simple.
When you create a trunk port, do you need to specify VLANs using the "switchport trunk allowed vlan add" command?
If there are no allowed vlans specified, will that trunk then pass ALL vlan traffic or none at all?
05-29-2013 01:45 PM
Hi Matt,
trunk will pass all the traffic if you will not specify vlan number.
When you issue this command, trunk should limit traffic for vlan 15 to 20
switchport trunk allowed vlan 15-20
Simply if you do not issue this command so ALL VLANs are allowed by default.
or
If you issue this command switchport trunk allowed vlan all so it will have same efect as default.
Best regards,
Jan
05-29-2013 05:21 PM
If you don't restrict the trunk then whatever is on the other end will see all broadcast traffic for all vlans defined on the switch.
05-29-2013 02:06 PM
By default, when you create a trunk, all vlans will be allowed to traverse the trunk. You can also specify which vlans to traverse the trunk to help limit broadcasts.
z
'Switch mode trunk' allows all vlans by default.
'switch trunk allowed vlan add vlan-id' to specify specific vlans to traverse the trunk.
Sent from Cisco Technical Support Android App
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide