版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、企业案例计算机网络系统集成项目(工程项目案例及实践)所在系别: 计算机技术系 所属专业: 计算机网络技术 指导教师: 张海峰 专业负责人: 孙志成 配置Smart Link主备链路负载分担示例一、组网需求如图1所示,VLAN 100和VLAN 500报文走备份链路,其他报文走主链路。为了保证网络的可靠性,用户侧网络采用双归属上行方式连接到城域网,VLAN 100和VLAN 500报文走备份链路,其他报文走主链路。在主链路发生故障时,主链路报文能够快速切换到从链路;备份链路发生故障后,VLAN 100和VLAN 500的报文能够快速切换到主链路,并且使业务中断时间控制在毫秒级。图1 配
2、置Smart Link主备链路冗余备份示例组网图 二、配置思路采用如下的思路配置Smart Link基本功能:1. SwitchA上配置Smart Link组多实例,并将上行链路加入组中。2. 在SwitchA上配置负载分担功能。3. SwitchA上使能回切功能。4. SwitchA上使能发送Flush报文功能。5. SwitchB和SwitchC两台设备上使能Flush报文接收功能。6. SwitchA上使能Smart Link组功能。三、数据准备为完成此配置示例,需准备如下的数据:· SwitchA实例编号和要绑定的VLAN编号。· 创建Smart Link
3、组的ID。· SwitchA上行链路接口编号。· 发送Flush报文携带的控制VLAN编号和密码。四、操作步骤1. 在SwitchA上配置控制VLAN,并将上行链路接口加入该VLAN中2. <SwitchA> system-view3. SwitchA vlan batch 10 100 500 4. SwitchA interface ethernet 0/0/15. SwitchA-Ethernet0/0/1 port link-type trunk6. SwitchA-Ethernet0/0/1 port trunk allow-pass vlan 10
4、100 500 7. SwitchA interface ethernet 0/0/28. SwitchA-Ethernet0/0/2 port link-type trunk9. SwitchA-Ethernet0/0/2 port trunk allow-pass vlan 10 100 50010. SwitchA-Ethernet0/0/2 quitSwitchB和SwitchC配置同SwitchA相似。11. 在SwitchA上配置VLAN映射。12. SwitchA stp region-configuration13. SwitchA-mst-region instance 10
5、 vlan 100 50014. SwitchA-mst-region active region-configuration15. SwitchA-mst-region quit16. 将去使能STP功能的上行接口加入Smart Link组并指定为主接口或从接口# 配置SwitchASwitchA interface ethernet 0/0/1SwitchA-Ethernet0/0/1 stp disableSwitchA-Ethernet0/0/1 quitSwitchA interface ethernet 0/0/2SwitchA-Ethernet0/0/2 stp disableS
6、witchA-Ethernet0/0/2 quitSwitchA smart-link group 1SwitchA-smlk-group1 port ethernet 0/0/1 masterSwitchA-smlk-group1 port ethernet 0/0/2 slave17. 在SwitchA上配置负载分担功能。SwitchA-smlk-group1 load-balance instance 10 slave18. 使能回切功能并设置回切时间# 配置SwitchASwitchA-smlk-group1 restore enableSwitchA-smlk-group1 time
7、r wtr 3019. 使能发送Flush报文功能# 配置SwitchASwitchA-smlk-group1 flush send control-vlan 10 password simple 12320. 在SwitchA使能Smart Link组功能21. SwitchA-smlk-group1 smart-link enableSwitchA-smlk-group1 quit22. 使能接收Flush报文功能# 配置SwitchB<SwitchB> system-viewSwitchB interface ethernet 0/0/1SwitchB-Ethernet0/0
8、/1 smart-link flush receive control-vlan 10 password simple 123SwitchB-Ethernet0/0/1 quit# 配置SwitchC。<SwitchC> system-viewSwitchC interface ethernet 0/0/1SwitchC-Ethernet0/0/1 smart-link flush receive control-vlan 10 password simple 123SwitchC-Ethernet0/0/1 quit23. 验证配置结果# 使用display smart-link
9、 group命令查看SwitchA上的Smart Link组信息。如果显示如下信息,则表示配置成功。· Smart Link组功能已经使能· 控制VLAN编号为10· 接口Eth0/0/1为主接口且处于Active状态,接口Eth0/0/2为从接口且处于Inactive。并且配置了负载分担功能。SwitchA display smart-link group 1Smart Link group 1 information : Smart Link group was enabled Wtr-time is: 30 sec. Load-Balance Instanc
10、e: 10 There is no protected-vlan reference-instance DeviceID: 0025-9e80-2494 Control-vlan ID: 10 Member Role State Flush Count Last-Flush-Time - Ethernet0/0/1 Master Active 1 0000/00/00 00:00:00 UTC+00:00 Ethernet0/0/2 Slave Inactive 0 0000/00/00 00:00:00 UTC+00:00 # 使用shutdown命令关闭接口Eth0/0/1,可以看到接口0
11、Eth0/0/1已经处于Inactive状态,接口Eth0/0/2为Active状态。SwitchA interface ethernet 0/0/1SwitchA-Ethernet0/0/1 shutdownSwitchA-Ethernet0/0/1 display smart-link group 1Smart Link group 1 information : Smart Link group was enabled Wtr-time is: 30 sec. Load-Balance Instance: 10 There is no protected-vlan reference-i
12、nstance DeviceID: 0025-9e80-2494 Control-vlan ID: 10 Member Role State Flush Count Last-Flush-Time - Ethernet0/0/1 Master Inactive 1 0000/00/00 00:00:00 UTC+00:00 Ethernet0/0/2 Slave Active 1 0000/00/00 00:00:00 UTC+00:00 # 使用undo shutdown命令开启接口0Ethernet/0/1,等待30秒后,可以看到接口0Ethernet/0/1处于Active状态,接口Et
13、hernet0/0/2为Inactive状态。SwitchA interface ethernet 0/0/1SwitchA-Ethernet0/0/1 shutdownSwitchA-Ethernet0/0/1 display smart-link group 1Smart Link group 1 information : Smart Link group was enabled Wtr-time is: 30 sec. Load-Balance Instance: 10 There is no protected-vlan reference-instance DeviceID: 00
14、25-9e80-2494 Control-vlan ID: 10 Member Role State Flush Count Last-Flush-Time - Ethernet0/0/1 Master Active 2 0000/00/00 00:00:00 UTC+00:00 Ethernet0/0/2 Slave Inactive 1 0000/00/00 00:00:00 UTC+00:00 五、配置文件· 设备SwitchA的配置文件· #· sysname SwitchA· #· vlan batch 10 100 500·
15、; #· stp region-configuration· instance 10 vlan 10 100 500· active region-configuration· #· interface Ethernet0/0/1· port link-type trunk· port trunk allow-pass vlan 10 100 500· stp disable· #· interface Ethernet0/0/2· port link-type trunk·
16、 port trunk allow-pass vlan 10 100 500· stp disable· #· smart-link group 1· load-balance instance 10 slave· restore enable· smart-link enable· port Ethernet0/0/1 master· port Ethernet0/0/2 slave· timer wtr 30· flush send control-vlan 10 password simp
17、le 123· #return· 设备SwitchB的配置文件· #· sysname SwitchB· #· vlan batch 10 100 500· #· interface Ethernet0/0/1· port link-type trunk· port trunk allow-pass vlan 10 100 500· smart-link flush receive control-vlan 10 password simple 123· #return· 设备
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 企业员工绩效考核与激励方案指南
- 2025四川南充市蓬安县发兴隆创建筑劳务有限公司招聘42人笔试参考题库附带答案详解
- 2025四川九洲永昌检测技术服务有限责任公司招聘质量管理岗等岗位测试笔试历年备考题库附带答案详解2套试卷
- 2025四川九洲投资控股集团有限公司招聘数字化转型(法务)岗等岗位8人笔试参考题库附带答案详解
- 2025四川九州电子科技股份有限公司招聘经营管理岗(校招)测试笔试历年难易错考点试卷带答案解析
- 2025吉林长春东城国有资本投资运营(集团)有限公司招聘拟聘笔试历年难易错考点试卷带答案解析
- 企业信息安全管理体系手册编制规范
- 2025华阳新材料科技集团有限公司招聘(500人)笔试参考题库附带答案详解
- 2025北京易兴元石化科技有限公司创新发展部创新科技项目运行岗招聘1人笔试历年典型考点题库附带答案详解2套试卷
- 2025内蒙古锡林郭勒盟西乌旗欢乐羊牧场招聘15人笔试参考题库附带答案详解
- 2.30违背或偏离方案处理标准操作规程药物临床试验机构
- HY/T 0460.4-2024海岸带生态系统现状调查与评估技术导则第4部分:盐沼
- 智能客户服务实务(第三版)课件 项目二 开展智能化客户服务管理规划
- 第17课 明朝的灭亡和清朝的建立【分层作业】【教学评一体化】大单元整体教学 部编版历史七年级下册
- 电气检测安全报告
- 奇迹男孩英文版
- 劳务用工合同
- 宠物寄养免责协议书模板
- 华住酒店集团协议
- 《大学生职业发展与就业指导》课程标准
- 版权登记代理委托书
评论
0/150
提交评论