the command switchport mode determine the mode of the port , if access or trunk and the default there is dynamic negotiation to choose mode , if the mode is access either by the command swtichport mode access or dynamic then the second command swit...
if you use the "local" key in small letters the ASA would consider it as a different aaa server over its default of "LOCAL" with capital letters, same concept for any other aaa server different than the default existent one.
Please try again by usi...