What you have is correct. Changing the modes does not remove all of the configuration that the port previously had, in case you need to switch back for any reason. So, whatever it says in the `switchport mode` line is what the port’s operational mode will be (access or trunk). The portion that still references the access VLAN will be ignored and is effectively there for historical purposes.