Switch basic configuration -- switch batch configuration ports

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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324610145&siteId=291194637