Huawei reported an error when changing the port type
[S9306-GigabitEthernet2/0/42] dis this
#
Interface GigabitEthernet2/0/42 used to be trunk.
Port link-type trunk
Port trunk allow-pass vlan 2 to 4094
#
Interface GigabitEthernet2/0/42 is now changed to access
Undo port trunk allow-pass vlan all
Port trunk allow-pass vlan 1
Port link-type access
Port default vlan 10