配置Smart Link主备链路负载分担_第1页
配置Smart Link主备链路负载分担_第2页
配置Smart Link主备链路负载分担_第3页
配置Smart Link主备链路负载分担_第4页
配置Smart Link主备链路负载分担_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论