首页 HCsmarink技术原理及配置指导

HCsmarink技术原理及配置指导

举报
开通vip

HCsmarink技术原理及配置指导SmartLink配置SmartLink简介如所示;双上行组网是目前常用组网之一..一般情况下;通过开启STPSpanningTreeProtocol;生成树协议来实现网络中的链路冗余备份;但STP不适用于对收敛时间有很高要求的用户关于STP的详细介绍;请参见“接入分册”中的“MSTP配置”..SmartLink功能可以满足用户对链路快速收敛的需求;可以实现主备链路的冗余备份及其快速迁移..在双上行组网环境下;当主用链路出现故障时;设备自动将流量切换到备用链路;这样就起到了冗余阻塞和链路备份的作用..SmartLi...

HCsmarink技术原理及配置指导
SmartLink配置SmartLink简介如所示;双上行组网是目前常用组网之一..一般情况下;通过开启STPSpanningTreeProtocol;生成树协议来实现网络中的链路冗余备份;但STP不适用于对收敛时间有很高要求的用户关于STP的详细介绍;请参见“接入分册”中的“MSTP配置”..SmartLink功能可以满足用户对链路快速收敛的需求;可以实现主备链路的冗余备份及其快速迁移..在双上行组网环境下;当主用链路出现故障时;设备自动将流量切换到备用链路;这样就起到了冗余阻塞和链路备份的作用..SmartLink的主要特点是:专用于双上行组网;收敛速度快达到亚秒级;配置简单;便于用户操作..SmartLink概念介绍SmartLink应用场景示意图SmartLink组SmartLink组也叫灵活链路组;每个组内只包含两个端口;其中一个为主端口;另一个为副端口..正常情况下;只有一个端口处于转发ACTIVE状态;另一个端口被阻塞;处于待命STANDBY状态..当处于转发状态的端口出现链路故障时这里的链路故障包括端口down;OAM单通等;SmartLink组会自动将该端口阻塞;并将原阻塞的处于待命状态的端口切换到转发状态..如在中;设备DeviceC上的端口Ethernet1/0/1和端口Ethernet1/0/2组成了一个SmartLink组;端口Ethernet1/0/1处于转发状态;而端口Ethernet1/0/2处于待命状态..设备DeviceE上的端口Ethernet1/0/1和端口Ethernet1/0/2组成了另一个SmartLink组;端口Ethernet1/0/2处于转发状态;而端口Ethernet1/0/1处于待命状态..主端口主端口又叫Master端口;是SmartLink组的一种端口角色..当SmartLink组中的两个端口都处于up状态时;主端口将优先进入转发状态..主端口并不一直处于转发状态;当主端口链路故障;则处于待命状态的副端口将切换为转发状态;在没有配置角色抢占的情况下;即使主端口链路恢复正常;也只能处于待命状态;直到下一次链路切换..如中;可以配置DeviceC上的端口Ethernet1/0/1和DeviceE上的端口Ethernet1/0/2为主端口..副端口副端口又叫Slave端口;是SmartLink组的一种端口角色..当SmartLink组中的两个端口都处于up状态时;副端口保持待命状态..但是副端口并不一直处于待命状态;当主端口发生链路故障后;副端口将切换到转发状态..如中;可以配置DeviceC上的端口Ethernet1/0/2和DeviceE上的端口Ethernet1/0/1为副端口..Flush报文当SmartLink组发生链路切换时;原有的转发表项将不适用于新的拓扑网络;需要网络中的所有设备进行MAC地址转发表项和ARP/ND表项的更新..这时;SmartLink组通过发送Flush报文通知其它设备进行MAC地址转发表项和ARP/ND表项的刷新操作..Flush报文是普通的组播数据报文;会被阻塞的接收端口丢弃..发送控制VLAN发送控制VLAN是用于发送Flush报文的VLAN..当发生链路切换时;设备如中DeviceC和DeviceE会在发送控制VLAN内广播发送Flush报文..接收控制VLAN接收控制VLAN是用于接收并处理Flush报文的VLAN..当发生链路切换时;设备如中DeviceA、DeviceB和DeviceD接收并处理属于接收控制VLAN的Flush报文;进行MAC地址转发表项和ARP/ND表项的刷新操作..保护VLAN保护VLAN是SmartLink组控制其转发状态的用户数据VLAN..同一端口上不同的SmartLink组保护不同的VLAN..端口在保护VLAN上的转发状态由端口在其所属SmartLink组内的状态决定..SmartLink运行机制链路备份机制如的组网;设备DeviceC中端口Ethernet1/0/1上的链路是主用链路;端口Ethernet1/0/2上的链路是备用链路..正常情况下;端口Ethernet1/0/1处于转发状态;端口Ethernet1/0/2处于待命状态..当端口Ethernet1/0/1的链路出现故障时;端口Ethernet1/0/1将自动阻塞并切换到待命状态;端口Ethernet1/0/2将切换到转发状态..当端口切换到转发状态时;系统会输出日志信息通知用户..当SmartLink发生链路切换时;网络中各设备上的MAC地址转发表项和ARP/ND表项可能已经不是最新状态;为了保证报文的正确发送;需要提供一种MAC地址转发表项和ARP/ND表项的更新机制..目前更新机制有以下两种:自动通过流量刷新MAC地址转发表项和ARP/ND表项..此方式适用于与不支持SmartLink功能的设备包括其他厂商设备对接的情况;需要有上行流量触发..由SmartLink设备从新的链路上发送Flush报文..此方式需要上行的设备都能够识别SmartLink的Flush报文并进行更新MAC地址转发表项和ARP/ND表项的处理..当原主用链路故障恢复时;该端口将维持在阻塞状态;不进行链路状态切换;从而保持流量稳定..只有等下一次链路切换时;该端口才会重新切换为转发状态..角色抢占机制如的组网;设备DeviceC中端口Ethernet1/0/1上的链路是主用链路;端口Ethernet1/0/2上的链路是备用链路..端口Ethernet1/0/1的链路出现故障时;端口Ethernet1/0/1将自动阻塞并切换到待命状态;端口Ethernet1/0/2处于转发状态..当端口Ethernet1/0/1的链路恢复后;如果该SmartLink组配置允许角色抢占;则端口Ethernet1/0/2将自动阻塞并切换到待命状态;而端口Ethernet1/0/1主用链路将切换到转发状态..负载分担机制在同一个环网中;可能同时存在多个VLAN的数据流量;SmartLink可以实现流量的负载分担;即不同VLAN的流量沿不同SmartLink组所确定的路径进行转发..通过把一个端口配置为多个SmartLink组的成员每个SmartLink组的保护VLAN不同;且该端口在不同组中的转发状态不同;这样就能实现不同VLAN的数据流量的转发路径不同;从而达到负载分担的目的..每个SmartLink组的保护VLAN是通过引用MSTP实例来实现的..配置SmartLink设备SmartLink设备是指支持SmartLink功能;并且配置了SmartLink组和从指定控制VLAN发送Flush报文功能的设备..如中的DeviceC和DeviceE..配置准备如果打算配置某端口为SmartLink组成员端口即主端口和副端口;则需先手工关闭该端口;待SmartLink组配置完成后;再开启该端口;以避免形成环路;导致广播风暴..如果打算配置某端口为SmartLink组成员端口;则需关闭该端口的STP功能和RRPP功能;并确保该端口不是聚合成员端口和业务环回组成员端口..配置SmartLink设备配置SmartLink设备操作命令说明进入系统视图system-view-创建SmartLink组;并进入SmartLink组视图smart-linkgroupgroup-id必选配置SmartLink组的保护VLANprotected-vlanreference-instanceinstance-id-list必选缺省情况下;SmartLink组不保护任何VLAN配置SmartLink主端口在SmartLink组视图下配置主端口portinterface-typeinterface-numbermaster二者必选其一各种视图下的配置效果相同在以太网端口或二层聚合端口视图下配置主端口portsmart-linkgroupgroup-idmaster配置SmartLink副端口在SmartLink组视图下配置副端口portinterface-typeinterface-numberslave二者必选其一各种视图下的配置效果相同在以太网端口或二层聚合端口视图下配置副端口portsmart-linkgroupgroup-idslave配置抢占模式preemptionmoderole可选缺省情况下;没有配置抢占模式开启发送Flush报文的功能flushenablecontrol-vlanvlan-id可选缺省情况下;开启发送Flush报文的功能;控制VLAN为VLAN1protected-vlan命令通过引用MSTP实例的间接方式来配置SmartLink组所保护的VLAN列表..引用的MSTP实例所映射的VLAN可以通过MSTP的域配置显示命令displaystpregion-configuration来查看..关于MSTP实例和VLAN映射关系的配置 内容 财务内部控制制度的内容财务内部控制制度的内容人员招聘与配置的内容项目成本控制的内容消防安全演练内容 介绍;请参见“接入分册”中的“MSTP配置”..不同的SmartLink组需要配置不同的控制VLAN..用户需要配置保证控制VLAN存在;并且SmartLink组成员端口允许控制VLAN的报文通过..不要删除已经配置成控制VLAN的VLAN;否则会影响Flush报文的发送..当执行端口拷贝命令时;端口上配置的SmartLink组成员信息不会复制到其它端口上..SmartLink设备配置举例组网需求配置一个SmartLink组1;配置保护VLAN为引用实例0~8;配置Ethernet1/0/1为SmartLink组的主端口;Ethernet1/0/2为副端口;配置在VLAN20内发送Flush报文..配置步骤system-viewSysnamevlan20Sysname-vlan20quitSysnameinterfaceethernet1/0/1Sysname-Ethernet1/0/1stpdisableSysname-Ethernet1/0/1portlink-typetrunkSysname-Ethernet1/0/1porttrunkpermitvlan20Sysname-Ethernet1/0/1quitSysnameinterfaceethernet1/0/2Sysname-Ethernet1/0/2stpdisableSysname-Ethernet1/0/2portlink-typetrunkSysname-Ethernet1/0/2porttrunkpermitvlan20Sysname-Ethernet1/0/2quitSysnamesmart-linkgroup1Sysname-smlk-group1protected-vlanreference-instance0to8Sysname-smlk-group1portethernet1/0/1masterSysname-smlk-group1portethernet1/0/2slaveSysname-smlk-group1flushenablecontrol-vlan20配置相关设备本文所指相关设备是指那些支持SmartLink功能;在实际网络应用中为了配合SmartLink设备;需在本地配置从指定控制VLAN接收处理Flush报文功能的设备..如中的DeviceA、DeviceB和DeviceD都是相关设备..但是并不是相关设备的所有端口都要开启从指定控制VLAN接收处理Flush报文功能的;只有那些在从SmartLink设备到其目的设备主备链路上的端口才需作此配置..中;在DeviceA、DeviceB和DeviceD上标出的端口都处于SmartLink设备DeviceC和DeviceE到目的设备DeviceA的主备链路上;所以都需要开启从指定控制VLAN接收处理Flush报文的功能..配置相关设备配置相关设备操作命令说明进入系统视图system-view-进入以太网端口或二层聚合端口视图interfaceinterface-typeinterface-number-开启接收Flush报文的功能smart-linkflushenablecontrol-vlanvlan-id-list必选缺省情况下;接收Flush报文的功能处于关闭状态应在相关设备的所有控制VLAN上都开启接收Flush报文的功能..如果不配置处理Flush报文的控制VLAN;设备将对接收到的Flush报文不做处理直接转发..在相关设备上配置的接收处理Flush报文的控制VLAN和在SmartLink设备上配置的发送控制VLAN要相同;如果二者不相同;相关设备将对接收到的Flush报文不做处理直接转发..不要删除已经配置成控制VLAN的VLAN;否则会影响Flush报文的处理..用户需要配置保证控制VLAN存在;并且开启接收Flush报文功能的端口允许控制VLAN的报文通过..相关设备配置举例组网需求配置端口Ethernet1/0/1接收控制VLAN为VLAN20的Flush报文..配置步骤system-viewSysnamevlan20Sysname-vlan20quitSysnameinterfaceethernet1/0/1Sysname-Ethernet1/0/1portlink-typetrunkSysname-Ethernet1/0/1porttrunkpermitvlan20Sysname-Ethernet1/0/1smart-linkflushenablecontrol-vlan20SmartLink显示和维护在完成上述配置后;在任意视图下执行display命令可以显示配置后SmartLink的运行情况以及Flush报文的统计信息;通过查看显示信息验证配置的效果..在用户视图下执行reset命令可以清除发送和接收的Flush报文统计信息..SmartLink显示和维护操作命令查看SmartLink组的信息displaysmart-linkgroup{group-id|all}查看设备接收到的Flush报文的信息displaysmart-linkflush清除Flush报文统计信息resetsmart-linkstatisticsSmartLink典型配置举例单SmartLink组配置举例组网需求设备DeviceC、设备DeviceE双上行到设备DeviceA;双上行链路进行灵活备份;在VLAN1内发送和接收Flush报文..组网图单SmartLink组配置图配置步骤设备DeviceC上的配置创建SmartLink组..system-viewDeviceCinterfaceethernet1/0/1DeviceC-Ethernet1/0/1stpdisableDeviceC-Ethernet1/0/1quitDeviceCinterfaceethernet1/0/2DeviceC-Ethernet1/0/2stpdisableDeviceC-Ethernet1/0/2quitDeviceCsmart-linkgroup1配置保护所有引用实例所绑定的VLAN当前设备的实例范围为0~32..DeviceC-smlk-group1protected-vlanreference-instance0to32配置端口Ethernet1/0/1为主端口;端口Ethernet1/0/2为副端口..DeviceC-smlk-group1portethernet1/0/1masterDeviceC-smlk-group1portethernet1/0/2slave开启发送Flush报文的功能..DeviceC-smlk-group1flushenable设备DeviceE上的配置创建SmartLink组..system-viewDeviceEinterfaceethernet1/0/1DeviceE-Ethernet1/0/1stpdisableDeviceE-Ethernet1/0/1quitDeviceEinterfaceethernet1/0/2DeviceE-Ethernet1/0/2stpdisableDeviceE-Ethernet1/0/2quitDeviceEsmart-linkgroup1配置保护所有引用实例所绑定的VLAN当前设备的实例范围为0~32..DeviceE-smlk-group1protected-vlanreference-instance0to32配置端口Ethernet1/0/2为主端口;端口Ethernet1/0/1为副端口..DeviceE-smlk-group1portethernet1/0/2masterDeviceE-smlk-group1portethernet1/0/1slave开启发送Flush报文的功能..DeviceE-smlk-group1flushenable设备DeviceB上的配置开启接收Flush报文的功能..system-viewDeviceBinterfaceethernet1/0/1DeviceB-Ethernet1/0/1smart-linkflushenableDeviceB-Ethernet1/0/1quitDeviceBinterfaceethernet1/0/2DeviceB-Ethernet1/0/2smart-linkflushenableDeviceB-Ethernet1/0/2quitDeviceBinterfaceethernet1/0/3DeviceB-Ethernet1/0/3smart-linkflushenable设备DeviceD上的配置开启接收Flush报文的功能..system-viewDeviceDinterfaceethernet1/0/1DeviceD-Ethernet1/0/1smart-linkflushenableDeviceD-Ethernet1/0/1quitDeviceDinterfaceethernet1/0/2DeviceD-Ethernet1/0/2smart-linkflushenableDeviceD-Ethernet1/0/2quitDeviceDinterfaceethernet1/0/3DeviceD-Ethernet1/0/3smart-linkflushenable设备DeviceA上的配置开启接收Flush报文的功能..system-viewDeviceAinterfaceethernet1/0/1DeviceA-Ethernet1/0/1smart-linkflushenableDeviceA-Ethernet1/0/1quitDeviceAinterfaceethernet1/0/2DeviceA-Ethernet1/0/2smart-linkflushenable配置完毕后;用户可以使用display命令查看SmartLink的配置和报文统计情况..多SmartLink组负载分担配置举例组网需求设备DeviceC上VLAN1~200的流量通过设备DeviceB、DeviceD双上行到设备DeviceA..要求进行负载分担;VLAN1~100和VLAN101~200的两组流量分别通过不同的链路上行到设备DeviceA;设备DeviceC上进行双上行链路灵活备份;SmartLink组1的引用实例0绑定VLAN1~100的流量从经过DeviceB的链路通向设备DeviceA;而SmartLink组2的引用实例2绑定VLAN101~200的流量从经过DeviceD链路通向设备DeviceA;SmartLink组1和组2分别在VLAN10和VLAN101内发送和接收Flush报文..组网图多SmartLink组负载分担配置图配置步骤设备DeviceC上的配置创建VLAN并配置VLAN与MSTP实例的映射关系..system-viewDeviceCvlan1to200DeviceCstpregion-configurationDeviceC-mst-regioninstance0vlan1to100DeviceC-mst-regioninstance2vlan101to200DeviceC-mst-regionactiveregion-configurationDeviceC-mst-regionquit关闭端口的STP功能;并将端口配置为Trunk端口且允许VLAN1~200通过..DeviceCinterfaceethernet1/0/1DeviceC-Ethernet1/0/1stpdisableDeviceC-Ethernet1/0/1portlink-typetrunkDeviceC-Ethernet1/0/1porttrunkpermitvlan1to200DeviceC-Ethernet1/0/1quitDeviceCinterfaceethernet1/0/2DeviceC-Ethernet1/0/2stpdisableDeviceC-Ethernet1/0/2portlink-typetrunkDeviceC-Ethernet1/0/2porttrunkpermitvlan1to200DeviceC-Ethernet1/0/2quit创建SmartLink组1..DeviceCsmart-linkgroup1配置SmartLink组1的保护VLAN..DeviceC-smlk-group1protected-vlanreference-instance0配置端口Ethernet1/0/1为主端口;端口Ethernet1/0/2为副端口..DeviceC-smlk-group1portethernet1/0/1masterDeviceC-smlk-group1portethernet1/0/2slave配置抢占模式为角色抢占..DeviceC-smlk-group1preemptionmoderole开启发送Flush报文的功能..DeviceC-smlk-group-1flushenablecontrol-vlan10DeviceC-smlk-group-1quit创建SmartLink组2..DeviceCsmart-linkgroup2配置SmartLink组2的保护VLAN..DeviceC-smlk-group2protected-vlanreference-instance2配置端口Ethernet1/0/1为副端口;端口Ethernet1/0/2为主端口..DeviceC-smlk-group2portethernet1/0/1slaveDeviceC-smlk-group2portethernet1/0/2master配置抢占模式为角色抢占..DeviceC-smlk-group2preemptionmoderole开启发送Flush报文的功能..DeviceC-smlk-group2flushenablecontrol-vlan101设备DeviceB上的配置开启接收Flush报文的功能..system-viewDeviceBvlan1to200DeviceBinterfaceethernet1/0/1DeviceB-Ethernet1/0/1portlink-typetrunkDeviceB-Ethernet1/0/1porttrunkpermitvlan1to200DeviceB-Ethernet1/0/1smart-linkflushenablecontrol-vlan10101DeviceB-Ethernet1/0/1quitDeviceBinterfaceethernet1/0/2DeviceB-Ethernet1/0/2portlink-typetrunkDeviceB-Ethernet1/0/2porttrunkpermitvlan1to200DeviceB-Ethernet1/0/2smart-linkflushenablecontrol-vlan10101设备DeviceD上的配置开启接收Flush报文的功能..system-viewDeviceDvlan1to200DeviceDinterfaceethernet1/0/1DeviceD-Ethernet1/0/1portlink-typetrunkDeviceD-Ethernet1/0/1porttrunkpermitvlan1to200DeviceD-Ethernet1/0/1smart-linkflushenablecontrol-vlan10101DeviceD-Ethernet1/0/1quitDeviceDinterfaceethernet1/0/2DeviceD-Ethernet1/0/2portlink-typetrunkDeviceD-Ethernet1/0/2porttrunkpermitvlan1to200DeviceD-Ethernet1/0/2smart-linkflushenablecontrol-vlan10101设备DeviceA上的配置开启接收Flush报文的功能..system-viewDeviceAvlan1to200DeviceAinterfaceethernet1/0/1DeviceA-Ethernet1/0/1portlink-typetrunkDeviceA-Ethernet1/0/1porttrunkpermitvlan1to200DeviceA-Ethernet1/0/1smart-linkflushenablecontrol-vlan10101DeviceA-Ethernet1/0/1quitDeviceAinterfaceethernet1/0/2DeviceA-Ethernet1/0/2portlink-typetrunkDeviceA-Ethernet1/0/2porttrunkpermitvlan1to200DeviceA-Ethernet1/0/2smart-linkflushenablecontrol-vlan10101配置完毕后;用户可以使用display命令查看SmartLink的配置和报文统计情况..
本文档为【HCsmarink技术原理及配置指导】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
个人认证用户
山河888
本人从事环境安全工程师工作,具有丰富的工作经验
格式:doc
大小:42KB
软件:Word
页数:18
分类:企业经营
上传时间:2022-06-26
浏览量:0