enable(进入特权模式),
configure terminal(进入全局配置模式),
vlan 10(创建vlan 10),exit,
vlan 20,exit,
vlan 30,exit,
interface fastethernet 0/1,switch access vlan 10(把端口1划入vlan10),exit,
interface fastethernet 0/2,switch access vlan 10(把端口1划入vlan20),exit,
interface fastethernet 0/3,switch access vlan 10(把端口1划入vlan30)
上课好好听就会了,现在的孩子们~