07-27-2012 11:38 AM - edited 03-07-2019 08:01 AM
Adding a vlan 820 to existing port channel trunk which currently allows many vlans.
Question is:
What is the best way to add vlan820 with least impact to network. Portchannels from 6513 core with IOS to Nexus 5k
(Already have a change window)
Copy existing vlans, add 820 and paste under:
switchport trunk allowed vlan 1,2,5,12,20,820
Or
switchport trunk allowed vlan Add vlan820
Thanks
Solved! Go to Solution.
07-27-2012 11:57 AM
Anthony
The second choice (switchport trunk allowed vlan add is the better and less disruptive alternative. I have done this often and it works with no impact to the network.
HTH
Rick
07-27-2012 11:57 AM
Anthony
The second choice (switchport trunk allowed vlan add is the better and less disruptive alternative. I have done this often and it works with no impact to the network.
HTH
Rick
07-27-2012 12:00 PM
Thank you. I will use that command.
07-27-2012 02:41 PM
Juuuuuuuust curious....
If those vlans are already allowed on the trunk
switchport trunk allowed vlan 1,2,5,12,20,820
How could adding another vlan disrupt the network? Does it reset the interface? Tried to test locally but seeing as I am at work, all the gear here is on a production network, dont want to possibly disrupt that. (Production...lol, if you call it that ).
Going to lab it up also when I get home tonight.
07-27-2012 02:50 PM
when you do a switchport trunk allowed vlan it basically erases the old config and applies the new config hence the disruption. appending the ADD syntax keeps existing config but adds the additional.
07-27-2012 03:50 PM
In my experience both commands, when done correctly and accurately, are pretty low impact. But the second command is designed specifically to add a VLAN and I believe that it is the best way to add a VLAN.
Part of my concern about just cut and paste and recreate the vlan allowed list is that the more entries there are to cut and paste the greater the opportunity to miss one, or to fat finger one, or to have some other unintended mistake which could possibly drop entries from the list.
HTH
Rick
07-28-2012 08:04 AM
We featured this question on our forums. You can find some answers here http://www.facebook.com/CiscoSupportCommunity/posts/394602473934400
---
Posted by WebUser Cisco NetPro from Cisco Support Community App
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: