您的位置:首页 > 编程语言 > PHP开发

华为交换机STP简单应用实例

2018-02-02 19:14 441 查看
实验目的:SW1作为vlan10 20的根交换机,SW2作为vlan30 40的根交换机,
分析在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端口为阻塞端口;

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  华为 交换机