已阅读5页,还剩4页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
配置Smart Link主备链路负载分担示例组网需求如图1所示,为了保证网络的可靠性,用户侧网络采用双归属上行方式连接广域网,VLAN 100和VLAN 500报文走备份链路,其他报文走主链路。在主链路发生故障时,主链路报文能够快速切换到从链路;备份链路发生故障后,VLAN 100和VLAN 500的报文能够快速切换到主链路。并且使业务中断时间控制在毫秒级。图1 配置Smart Link主备链路冗余备份示例 配置思路采用如下的思路配置Smart Link基本功能:1. SwitchA上配置Smart Link组多实例,并将上行链路加入组中。 2. SwitchA上使能回切功能。 3. SwitchA上使能发送Flush报文功能。 4. SwitchB和SwitchC两台设备上使能Flush报文接收功能。 5. SwitchA上使能Smart Link组功能。数据准备为完成此配置示例,需准备如下的数据:SwitchA实例编号和要绑定的VLAN编号。 创建Smart Link组的ID。 SwitchA上行链路接口编号。 发送Flush报文携带的控制VLAN编号和密码。操作步骤1. 在SwitchA上配置控制VLAN,并将接口加入该VLAN中 2. system-view3. SwitchA vlan batch 10 100 500 4. SwitchA interface gigabitethernet1/0/15. SwitchA-GigabitEthernet1/0/1 port link-type trunk6. SwitchA-GigabitEthernet1/0/1 port trunk allow-pass vlan 10 100 5007. SwitchA-GigabitEthernet1/0/1 quit8. SwitchA interface gigabitethernet1/0/29. SwitchA-GigabitEthernet1/0/2 port link-type trunk10. SwitchA-GigabitEthernet1/0/2 port trunk allow-pass vlan 10 100 50011. SwitchA-GigabitEthernet1/0/2 quitSwitchB和SwitchC配置同SwitchA相似。12. 在SwitchA上配置VLAN映射。 13. SwitchA stp region-configuration14. SwitchA-mst-region instance 10 vlan 100 50015. SwitchA-mst-region active region-configuration16. SwitchA-mst-region quit17. 将去使能STP功能的上行接口加入Smart Link组并指定为主接口或从接口 # 配置SwitchASwitchA interface gigabitethernet1/0/1SwitchA-GigabitEthernet1/0/1 stp disableSwitchA-GigabitEthernet1/0/1 quitSwitchA interface gigabitethernet1/0/2SwitchA-GigabitEthernet1/0/2 stp disableSwitchA-GigabitEthernet1/0/2 quitSwitchA smart-link group 1SwitchA-smlk-group1 port gigabitethernet 1/0/1 masterSwitchA-smlk-group1 port gigabitethernet 1/0/2 slave18. 在SwitchA上配置负载分担功能。 SwitchA-smlk-group1 load-balance instance 10 slave19. 使能回切功能并设置回切时间 # 配置SwitchASwitchA-smlk-group1 restore enableSwitchA-smlk-group1 timer wtr 3020. 使能发送Flush报文功能 # 配置SwitchASwitchA-smlk-group1 flush send control-vlan 10 password simple 12321. 在SwitchA使能Smart Link组功能 SwitchA-smlk-group1 smart-link enable22. 使能接收Flush报文功能 # 配置SwitchBSwitchB interface gigabitethernet1/0/1SwitchB-GigabitEthernet1/0/1 smart-link flush receive control-vlan 10 password simple 123SwitchB-GigabitEthernet1/0/1 quitSwitchB interface gigabitethernet1/0/2SwitchB-GigabitEthernet1/0/2 smart-link flush receive control-vlan 10 password simple 123SwitchB-GigabitEthernet1/0/2 quit# 配置SwitchC。SwitchC interface gigabitethernet1/0/1SwitchC-GigabitEthernet1/0/1 smart-link flush receive control-vlan 10 password simple 123SwitchC-GigabitEthernet1/0/1 quitSwitchC interface gigabitethernet1/0/2SwitchC-GigabitEthernet1/0/2 smart-link flush receive control-vlan 10 password simple 123SwitchC-GigabitEthernet1/0/2 quit23. 验证配置结果 # 使用display smart-link group命令查看SwitchA上的Smart Link组信息。如果显示如下信息,则表示配置成功。Smart Link组功能已经使能 回切时间为30秒 控制VLAN编号为10 接口GigabitEthernet 1/0/1为主接口且处于Active状态,接口GigabitEthernet 1/0/2为从接口且处于Inactive。并且配置了负载分担功能。 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: 0018-2000-0083 Control-vlan ID: 10 Member Role State Flush Count Last-Flush-Time - GigabitEthernet1/0/1 Master Active 1 2009/01/05 10:33:46 UTC+05:00 GigabitEthernet1/0/2 Slave Inactive 0 0000/00/00 00:00:00 UTC+05:00# 使用shutdown命令关闭接口GigabitEthernet 1/0/1,可以看到接口GigabitEthernet 1/0/1已经处于Inactive状态,接口GigabitEthernet 1/0/2为Active状态。SwitchA-GigabitEthernet1/0/1 shutdownSwitchA-GigabitEthernet1/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: 0018-2000-0083 Control-vlan ID: 10 Member Role State Flush Count Last-Flush-Time - GigabitEthernet1/0/1 Master Inactive 1 2009/01/05 10:33:46 UTC+05:00 GigabitEthernet1/0/2 Slave Active 0 0000/00/00 00:00:00 UTC+05:00# 使用undo shutdown命令开启接口GigabitEthernet 1/0/1,等待30秒后,可以看到接口GigabitEthernet 1/0/1处于Active状态,接口GigabitEthernet 1/0/2为Inactive状态。SwitchA-GigabitEthernet1/0/1 undo shutdownSwitchA-GigabitEthernet1/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: 0018-2000-0083 Control-vlan ID: 10 Member Role State Flush Count Last-Flush-Time - GigabitEthernet1/0/1 Master Active 1 2009/01/05 10:33:46 UTC+05:00 GigabitEthernet1/0/2 Slave Inactive 0 0000/00/00 00:00:00 UTC+05:00配置文件 设备SwitchA的配置文件# sysname SwitchA# vlan batch 10 100 500#stp region-configuration instance 10 vlan 100 500 active region-configuration#interface GigabitEthernet1/0/1 port link-type trunk port trunk allow-pass vlan 10 100 500 stp disable#interface GigabitEthernet1/0/2 port link-type trunk 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 GigabitEthernet1/0/1 master port GigabitEthernet1/0/2 slave timer wtr 30 flush send control-vlan 10 password simple 123#return 设备SwitchB的配置文件# sysname SwitchB# vlan batch 10 100 500#interface GigabitEthernet1/0/1 port link-type trunk port trunk allow-pass vlan 10 100 500 smart-link flush receive control-vlan 10 password simple 123#interface GigabitEthernet1/0/2 port link-type trunk port trunk allow-pass vlan 10 100 500 smart-link flush receive control-vlan 10 password simple 123#return 设备SwitchC的配置文件# sysname SwitchC# vlan batch 10 100 500#interface GigabitEtherne
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 网络安全工程师风险控制部KPI考核表
- 游戏软件开发测试流程自动化部署方案
- 项目验收计划及流程通知函4篇范本
- 违约金计算标准异议处理确认函(6篇)
- 产品陈列摆放标准函7篇
- 工程师工作成果评估表
- 华北地区门店促销活动通知函4篇
- (2026年)银行从业资格证考试考点全解析及试题与答案
- 护士资格试题专业实务模拟试卷及答案
- 市场推广策略实施计划确认信(3篇)
- 2026年注册安全工程师考试(中级)安全生产管理试题与参考答案
- 2026年初级会计实务历年真题及答案
- 电工:低压配电系统电气故障诊断详解
- 2026相关方安全生产管理协议书汇编
- 2026年国家电网招聘之管理类通关考试题库带答案解析
- SYT 6150.2-2025《钢制管道封堵技术规范 第2部分:挡板-囊式封堵》
- 雨课堂学堂在线学堂云《人工智能时代的创新思维(北京理工)》单元测试考核答案
- 脑瘫儿童作业疗法
- (已压缩)广东省工程勘察设计服务成本取费导则(2024版)
- 四川成都兴城人居地产投资集团股份有限公司招聘笔试题库2025
- 2025年人工智能训练师职业技能认证模拟试卷及答案(金融数据标注规范)
评论
0/150
提交评论