How to set the VLAN IP on Huawei switches

Vlan cannot set IP. All you set is the IP address of the switch.

Also, generally a switch can only have one IP, which is vlan1. This is the default!

There are also Cisco vlan settings as follows:

switchgt; enable (enter privileged mode)

switch#config terminal (enter global configuration mode)

switch(config)#vlan 2 (build vlan2)

switch(config-vlan)#name taihaole (name the vlan)

There is another way to create a vlan is created directly in privileged mode.

switchgt; enable

switch#vlan database

switch(vlan)#vlan 2 name taihaole (create vlan2 and name it)

Your question seems incomplete. You know the port allocation command, right? Then I won’t talk about it! I'll give you points after I've answered all your questions. If you still don't know, ask me again! !

Layer 3 switching is different from general switching. Layer 3 switching is at the top level of equipment. It can achieve much more than ordinary switches and routers. It can be achieved.