DCS-3950-28C(config)#vlan 10(新建vlan)
DCS-3950-28C(config-vlan10)#switchport interface ethernet 1/1-10(将端口划入vlan)
Set the port Ethernet1/1 access vlan 10 successfully
Set the port Ethernet1/2 access vlan 10 successfully
Set the port Ethernet1/3 access vlan 10 successfully
Set the port Ethernet1/4 access vlan 10 successfully
Set the port Ethernet1/5 access vlan 10 successfully
Set the port Ethernet1/6 access vlan 10 successfully
Set the port Ethernet1/7 access vlan 10 successfully
Set the port Ethernet1/8 access vlan 10 successfully
Set the port Ethernet1/9 access vlan 10 successfully
Set the port Ethernet1/10 access vlan 10 successfully