Hi,
I think you don't use the trunk concept the right way.
On AOS-Switch, a trunk is a link aggregation.
So in your configuration :
- You applied port 2 into a link aggregation (trk1).
- You put port 2 and trk1 as untagged in VLAN20.
But, globally, your configuration should be rejected by the switch, because :
- You do a "no untagged 2" in VLAN 1, and the line after, you put "untagged 1-6", which includes port 2.
- You use port 2 and trk1, while port 2 is now included into trk1. So once it's done, you should get the following error if you try to put port 2 in a VLAN : "Module not present for port or invalid port: 2"
So if you want to get port 2 in VLAN1 as untagged and in VLAN20 as tagged, you should use the following configuration :
vlan 1
name "DEFAULT_VLAN"
no untagged 7-8
untagged 1-6,9-10
ip address dhcp-bootp
exit
vlan 20
name "LAN_WIFI"
untagged 3-6,9-10
tagged 2
no ip address
exit
This way :
- Router port is untagged in VLAN1
- AP port is untagged in VLAN1 and tagged in VLAN20
- All other ports are untagged in VLAN20 (except 7 and 8)
(I don't know what are ports 7 and 8, but as you don't use it in your configuration, I didn't include them in VLAN1, assuming your using them in another VLAN)
As a best practice, you should also remove the dhcp-bootp part in VLAN1.
HTH.