09-04-2019 07:00 AM
If switchport mode trunk command allows multiple vlan on same interface, then what is the need of switchport trunk allowed vlan all command?
Solved! Go to Solution.
10-23-2019 05:19 PM
You don't have to configure switchport trunk allowed vlan all. By default a trunk interface trust all VLANs, but if you have changed it manually to only allow specific VLAN(s) then you can change it back to all VLANs by this command
09-04-2019 07:10 AM
Switchport mode trunk - allows all the VLAN
switchport trunk allowed vlan XX ( means only allowed VLAN in the list) ALL means again all the VLANs
10-23-2019 11:41 AM
Hi Balaji,
So you mean both are doing same function, Right? Then why we need two separate command for same function?
With Regards,
Magesh Kumar G
09-04-2019 01:58 PM - edited 09-04-2019 02:10 PM
those options (add, remove, all, etc) are sort tricky a bit. I had same issues.
true, switchport mode trunk allows all vlans by default. but if u make some changes, vlans list of allowed vlan x is displayed,
so, switchport trunk allowed vlan all command can be use after any previous manual manipulation to go back quickly to default settings, aka allowing all vlans
Regards, ML
**Please Rate All Helpful Responses **
10-23-2019 05:19 PM
You don't have to configure switchport trunk allowed vlan all. By default a trunk interface trust all VLANs, but if you have changed it manually to only allow specific VLAN(s) then you can change it back to all VLANs by this command
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