Cisco, Digital China: interface range FastEthernet 0/1 - 10 switchport mode access switchport access vlan vid in
global mode
Huawei:
port-group 1
group-member e0/0/0 to e0/0/10
port link-type access //Note that the configuration is in order, and the interface type must be specified before adding the VID.
port default vlan vid