You can not have a single point act as an access port and trunk port. You can have only one at a time. The configuration line which determine which is switchport mode trunk or switchport access vlan 102. your Port is strictly configured for a Trunk which means that you wont be able to Fall over to Access Port.
You can write it in a manner as you did but as you enter the switchport mode trunk command the switchport access vlan 122 is simply ignored till the time that you enter switchport mode access(which will rewrite switchport mode trunk command).
switchport access vlan 122
switchport trunk encapsulation dot1q
switchport mode trunk
results in TRUNK (switchport access vlan 122 ignored).
You can configured the Port as Dynamic desirable which will try to form a trunk, then it will fall over to an access port on the clan that u have configured.
When you do a "show vlan", only the access ports placed in that vlan are displayed.
Your port is currently in trunk mode, so it is going to be displayed under "show interface trunk".
You are allowed to have both access and trunk configurations on your port, but the commands that are actually "used" will be determined by your switchport mode. In your case, you have switchport mode trunk configured, so it will only use the applicable trunk configurations.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...