分析在instance 1,instance 2中阻塞端口的位置
拓扑如下

配置步骤
1.配置trunk链路





2.在所有交换机上创建VLAN 10 20 30 40

3.创建instance 1 2,将vlan10 20加入instance 1,
将vlan30 40加入instance 2,



SW2,SW3少截了激活命令-



4.将SW1设置为vlan10 20的根交换机
将SW2设置为vlan30 40的根交换机
方法一:


方法二:


5. 验证,保存
SW1在 instance1 中作为根交换机,所有的端口为指定端口
在 instance2 中作为次根交换机,与根交换机链接的5口为根端口

SW2 在 instance1 中作为次根交换机,与根交换机链接的5口为根端口
在 instance2 中作为根交换机,所有的端口为指定端口

SW3在 instance1中 2端口为阻塞端口;
在 instance2中 1端口为阻塞端口;

SW4在 instance1中 2端口为阻塞端口;
在 instance2中 1端口为阻塞端口;

SW5在 instance1中 2端口为阻塞端口;
在 instance2中 1端口为阻塞端口;

SW6在 instance1中 2端口为阻塞端口;
在 instance2中 1端口为阻塞端口;

原文:http://blog.51cto.com/13569390/2068278