cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14402
Views
15
Helpful
6
Replies

switchport trunk allowed vlan?

Anthony Walters
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Richard Burts
Hall of Fame
Hall of Fame

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

HTH

Rick

View solution in original post

6 Replies 6

Richard Burts
Hall of Fame
Hall of Fame

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

HTH

Rick

Thank you. I will use that command.

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.

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.

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

HTH

Rick

fb_webuser
Level 6
Level 6

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

Getting Started

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:

Review Cisco Networking products for a $25 gift card