3、nterfei_1/1S1(config-if)#switchaccessvlan10S1(config-if)#exitS1(config-if)#interfei_1/2S1(config-if)#switchaccessvlan20S1(config-if)#exit(4)实验验证利用showVLAN命令来查看交换机上的Vlan配置,例如,在S1上执行S1#showVlan可以看到如下信息:VLANName Status Said MTU IfIndexPvidPortsUntagPortsTagPortsVLAN0010active100010150