交换机VLAN配置
操作方法
(01)设置交换机管理ip:Switch(config)#interface vlan 1Switch(config-if)#no shutdownSwithc(config-if)#ip address enable密码设置:Switch(config)#enable password xxx设置进入虚拟终端登入密码:Switch(config)#line vty 0 4Switch(config-line)#password xxxSwitch(config-line)#login
(02)创建标识为10的VLAN,并把端口作为其成员:
(03)跨交换机VLAN设置:
(04)在单台三层交换机上实现VLAN间的路由:
(05)在多台交换机上实现VLAN间的路由 :
(06)在路由器上做单臂路由可以实现vlan间的通信: