交换机VLAN配置
方法/步骤
1
设置交换机管理IP: Switch(config)#interface vlan 1 Switch(config-if)#no shutdown Swithc(config-if)#ip address 192.168.0.253 255.255.255.0 enable密码设置: Switch(config)#enable password xxx设置进入虚拟终端登入密码: Switch(config)#line vty 0 4 Switch(config-line)#password xxx Switch(config-line)#login
2
创建标识为10的VLAN,并把端口作为其成员:
3
跨交换机VLAN设置:
4
在单台三层交换机上实现VLAN间的路由:
5
在多台交换机上实现VLAN间的路由 :
6
在路由器上做单臂路由可以实现vlan间的通信:
上一篇:直接用交换机共享上网的方法
下一篇:如何配置交换机