Quick Question regarding VLANs and Trunking

Answered Question
Mar 9th, 2009
User Badges:

I've been tasked to allow only specific VLANs through a trunk connecting my Core machine (6509) to a switch loaded with servers.


The intent is to only allow traffic through the trunk that needs to be there.


My question is: When I run the command 'switchport trunk allowed vlan <vlan list>', will traffic be interrupted while the change is applied?


We have some very sensitive traffic that will be affected by even a slight interruption (ie, ODBC/SQL), so even a lost ping could cause some issues.



Thanks.

Correct Answer by John Blakley about 8 years 4 months ago

Generally, you won't notice any disruption. The only time that I've seen it is when changing encapsulation types. I would script what you want, and then paste it in.


switchport trunk encapsultation dot1q

switchpo mode trunk

swit trunk allowed vlan add 1,10,15,25


Even though, in theory, you shouldn't see anything, I would create downtime if it's that sensitive.


Oh, and if the port is already in trunking mode and is passing traffic, then the only way that you would create downtime by adding new vlans is to remove a vlan that belongs on that trunk. Otherwise, you won't notice anything if you don't have to change the port modes.




HTH,


John

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
John Blakley Mon, 03/09/2009 - 08:00
User Badges:
  • Purple, 4500 points or more

Generally, you won't notice any disruption. The only time that I've seen it is when changing encapsulation types. I would script what you want, and then paste it in.


switchport trunk encapsultation dot1q

switchpo mode trunk

swit trunk allowed vlan add 1,10,15,25


Even though, in theory, you shouldn't see anything, I would create downtime if it's that sensitive.


Oh, and if the port is already in trunking mode and is passing traffic, then the only way that you would create downtime by adding new vlans is to remove a vlan that belongs on that trunk. Otherwise, you won't notice anything if you don't have to change the port modes.




HTH,


John

Actions

This Discussion