01-30-2008 10:42 AM - edited 03-05-2019 08:49 PM
We are getting ready to deploy a few new vmware servers and we need to get vlan tagging configured as the servers don't have enough NIC cards. I just need to see if I can get somebody to verify that I have the switchport configured correctly for tagging. Here is how the port is configured;
interface GigabitEthernet0/6
switchport trunk encapsulation dot1q
switchport mode trunk
switchport access vlan 2, 3, 4, 6
IF anybody can please take a look and let me know i would appreciate it. Thanks
01-30-2008 10:47 AM
The switchport access command is only used when the port is set in access mode, yours is set to trunk mode, and it defines what vlan traffic goes. AFAIK, you cannot configure more then 1 access vlan, because the switch would have no way to direct the traffic to the correct vlan. But this is really not relavent because you are creating a trunk port, so drop the "switchport access' command, its not doing anything. If you want to ONLY allow vlans 2,3,4,6 on the trunk, then use the command:
switchport trunk allowed vlan 1,2,3,4,6,1002-1005
HTH,
-Rob
01-30-2008 10:57 AM
Thank you for the pointer Rob. When I was reading different configuration guides about setting up the tagging I think I might have gotten confused. We are supposed to implement the server this afternoon (waiting on some software) so hopefully I will be able to test and make sure that it is working as it should. Thanks again for the advice.
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