I am trying to replace an older switch with a new switch but whoever configured the old switch configured the interfaces with this:
description Center Lab
switchport access vlan 214
switchport trunk encapsulation dot1q
switchport trunk native vlan 112
switchport trunk allowed vlan 1,112,1002-1005
There are about 12 ports set up this way for a computer lab. This really confuses me and I'm trying to figure out what they were trying to accomplish with this. If I'm remembering correctly both the native vlan command and the access vlan command put untagged traffic on the vlan it's configured with...so if both commands are on the same interface then which takes precedence? If I'm remembering wrong please tell me. Either way I need help figuring this out. Please help. :)
Thanks in advance.
"So you think that the interface is using the VLAN set up in the access command (VLAN 214) to transmit the data?"
Yes i think it does but more importantly if you are sure they are meant to be access ports then don't worry about current config, just configure as access ports ie.
switchport mode access
switchport access vlan