First telnet to huawei switch
Log in to system mode
For example we need to configure the information as above
vlan : 2999
port 18 trunk configuration
port 19 configure access
Create a 2999 vlan
Vlan 2999 has been created
configured trunk for port 18
has configured accees for port 19
complete