ImageVerifierCode 换一换
格式:DOCX , 页数:15 ,大小:795.79KB ,
资源ID:6267526      下载积分:12 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/6267526.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(关于VSS的双活检测.docx)为本站会员(b****6)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

关于VSS的双活检测.docx

1、关于VSS的双活检测VSS技术 2011-09-29 13:50:50标签:VSS SSO NSF MEC dual-active STP HSRP Pagp LACP VSS设计与配置一,VSS技术介绍VSS称为虚拟交换技术,它的功能是将多台cisco catalyst 6500交换机虚拟成单台交换机,VSS使用机箱间NSF/SSO作为两台机箱间的主要高可用性机制,当一个虚拟交换机成员发生故障时,网络中无需进行协议重收敛。一个虚拟交换机成员机箱将作为主用虚拟交换机成员,另一成员将处于控制面板的热等待状态。请注意,这两个机箱的数据面板均可用,因此总流量转发能力为1440Gbps。当一个虚拟交换

2、机成员发生故障时,网络中无需进行协议重收敛,接入层或核心层交换机继续转发流量,因为它们只会检测出EtherChannel捆绑中有一个链路故障,所以不需要重收敛任何协议,通过VSS传输的流量不会发生任何中断。在传统模式中,一台交换机发生故障就会导致STP、HSRP和路由协议等多个控制协议进行收敛,与之相比,交换机故障时VSS机制远要出色得多。多机箱EtherChannel(MEC)是一种L2多路径技术。这类EtherChannel形式允许相连节点在构成VSS的两个物理Cisco Catalyst 6500系列交换机间端接EtherChannel,从而创建简单的无环路L2拓扑结构。在VSS拓扑结构

3、中使用MEC,能使所有链路激活,并同时在不采用生成树协议的情况下,提供高度可用的拓扑结构。二,VSS设计 默认情况下,2个VSS机箱的引擎之间的冗余机制是NSF/SSO,NSF/SSO支持状态信息和配置同步。另外, 2个VSS机箱的引擎之间只有运行在NSF/SSO模式下,备份机箱引擎的PFC卡,SwitchFabric卡和线路卡及其DFC才能是活动状态。若主备机箱的信息不匹配(如主备机箱引擎的IOS版本不一致),则2个VSS机箱的引擎之间的冗余机制是RPR,运行在RPR模式下,只有配置能够同步,但备用机箱引擎的PFC卡,Switch Fabric卡和线路卡及其DFC卡都是非活动状态。在2个VS

4、S机箱之间通过 Role Resolution Protocol (RRP) 协商每个VSS机箱的角色(active or standby)后,会执行across the VSL switches 配置的一致性以确保正确的SL操作,如下是配置一致性需要检查的条目:另外,在NSF/SSO模式下,IOS的版本及其补丁和PFC运行模式需要一致,PFC的模式可以通过命令更改。三,VSS基本配置步骤一:定义VSS domain ID&switch IDStandalone Switch 1:SW1# config tSW1(config)# switch virtual domain 10SW1(con

5、fig-vs-domain)# switch 1Standalone Switch 2:SW2# config tSW2(config)# switch virtual domain 10SW2(config-vs-domain)# switch 2步骤二: Configure Priority Settings (Optional)高优先级交换机,成为active,低优先级的交换机成为standby。若优先级一样,则Switch ID小的为active,switch ID大的为standby。Standalone Switch 1:SW1(config-vs-domain)# switch

6、1 priority 110SW1(config-vs-domain)# switch 2 priority 100Standalone Switch 2:SW2(config-vs-domain)# switch 1 priority 110SW2(config-vs-domain)# switch 2 priority 100步骤三: Configure the Virtual Switch Link (VSL)VSL是一个有特殊用途的EthernetChannel链路,包含一个或多个(最多8个)物理端口。VSL作用有二:1、其中只选择一个物理成员接口作为控制链路,承载机箱之间的系统控制信

7、息2、这其余的物理成员接口承载网络控制信息,当必要时也可以承载普通数据流量Standalone Switch 1:SW1# config tSW1(config)# interface port-channel 1SW1(config-if)#no shutSW1(config-if)#switch virtual link 1SW1(config-if)#int range Ten5/4 - 5SW1(config-if-range)#channel-group 1 mode onStandalone Switch 2:SW2# config tSW2(config)# interface

8、port-channel 2SW2(config-if)#no shutSW2(config-if)#switch virtual link 2SW2(config-if)#int range Ten5/4 5SW2(config-if-range)#channel-group 2 mode onSince VSL EtherChannel uses LMP per member link, the link-aggregation protocols, such as PAgP and LACP, are not required; each member link must be conf

9、igured in unconditional EtherChannel mode using the channel-group group-number mode on command. 步骤4: Executing the Conversion执行转换进程,在特权模式下执行switch convert mode virtual命令,这样做将转换端口名称为3元素形式-“interface-type switch-number/slot/port”,然后保存配置,重启设备。重启设备的作用:1)2个配置合并为1个配置2)为端口重新编号-从slot/port到switch-number/slot

10、/port3)只有重启设备,才能通过NSF/SSO协商A/S角色Standalone Switch 1:SW1# convert mode virtualThis command will convert all interface namesto naming convention interface-type switch-number/slot/port,save the running config to startup-config andreload the switch.Do you want to proceed? yes/no: yesConverting interface

11、 namesBuilding configuration.Standalone Switch 2:SW2# switch convert mode virtualThis command will convert all interface namesto naming convention interface-type switch-number/slot/port,save the running config to startup-config andreload the switch.Do you want to proceed? yes/no: yesConverting inter

12、face namesBuilding configuration.步骤5: Completing the Conversion最后一步需要在Active Virtual Switch上执行“switch accept mode virtual”命令自动配置Standby Virtual SwitchVSS Active Virtual Switch :VSS# switch accept mode virtualDo you want to proceed? yes/no: yesMerging the standby VSL configurationBuilding configurati

13、on.OK或者在Switch 1(Active)上重新配置Switch 2的VSLVSS Active Virtual Switch :vss-sw1(config)#interface port-channel 2vss-sw1(config-if)#no shutvss-sw1(config-if)#switch virtual link 2vss-sw1(config)#interface ten 2/5/4vss-sw1(config-if)#channel-group 2 mode onvss-sw1(config)#interface ten 2/5/5vss-sw1(config

14、-if)#channel-group 2 mode on到此已经把两台独立的物理6500s配置成VSS,这是给新的VSS配置一个Hostname,然后保存配置。VSS Active Virtual Switch :vss-sw1#conf tEnter configuration commands, one per line. End with CNTL/Z.vss-sw1(config)#hostname SW65VSSSW65VSS(config)#ZSW65VSS#00:13:40: %SYS-5-CONFIG_I: Configured from console by consoleS

15、W65VSS#wrBuilding configuration.00:16:23: %PFINIT-SP-5-CONFIG_SYNC: Syncing the startup configuration to the standby Router.OKSW65VSS#VSS状态检查VSS Active Virtual Switch :SW65VSS#sh switch virtualSwitch mode : Virtual SwitchLocal switch number : 1Local switch operational role: Virtual Switch ActivePeer

16、 switch number : 2Peer switch operational role : Virtual Switch StandbySW65VSS#sh switch virtual linkVSL Status : UPVSL Uptime : 18:36:43 UTC Apr 6 2007VSL SCP Ping : PassVSL ICC Ping : PassVSL Control Link : Te1/5/4SW65VSS#sh switch virtual roleVSSMulti-Chassis EtherChannel PAgP Configuration and M

17、onitoring配置连接到接入交换机3560使用PAgP的Trunk类型的EtherChannel,建议对 MEC 链路运行 Trunk Desirable-Desirable 。VSS Active Virtual Switch :interface range GigabitEthernet1/3/1-Interface on VSS-SW1description Access Switch Facing Interfaceswitchportswitchport trunk encapsulation dot1qswitchport mode dynamic desirable -Tr

18、unk mod dynamic and desirableswitchport trunk allowed vlan 8,9 -Only allow need VLANs for a given trunklogging event link-status -Logging for link statuslogging event trunk-status -Logging for trunk statuslogging event bundle-status -Logging for port-channel statuschannel-protocol pagpchannel-group

19、202 mode desirable -Define Port-channel, PAgP mode desirableVSS Active Virtual Switch :interface GigabitEthernet 2/3/1-Interface on VSS-SW2description Access Switch Facing Interfaceswitchportswitchport trunk encapsulation dot1qswitchport mode dynamic desirable -Trunk mod dynamic and desirableswitchp

20、ort trunk allowed vlan 8,9 -Only allow need VLANs for a given trunklogging event link-status -Logging for link statuslogging event trunk-status -Logging for trunk statuslogging event bundle-status -Logging for port-channel statuschannel-protocol pagpchannel-group 202 mode desirableinterface Port-cha

21、nnel202 -Automatically created by defining at interfacesdescription Access Switch MECswitchportswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 8,9logging event link-statuslogging event spanning-tree status -STP logging enabled on port-channelLACP Configuration and Monitoring配置连接到服务

22、器使用LACP的Trunk类型的EtherChannel,同时使能STP portfastVSS Active Virtual Switch :interface range GigabitEthernet1/4/40 ,GigabitEthernet2/4/40description Server Facing Interfaceno shutswitchportlogging event link-status -Logging for link statuslogging event bundle-status -Logging for port-channel statuschanne

23、l-protocol lacpchannel-group 100 mode active -Define Port-channel, lacp mode activeinterface Port-channel100 -Automatically created by defining at interfacesdescription Access Switch MECswitchportspanning-tree portfast四、VSS 双活检测设计&配置VSS Dual-Active SupervisorsVSL 链路丢失和恢复:如果 VSL 出现故障,则备用机箱无法确定活动机箱的状态

24、。 为了确保发生切换而不出现延迟,备用机箱假设活动机箱已发生故障,并启动切换来接管活动角色。如果原始活动机箱仍运行正常,则两个机箱此时均处于活动状态。 此情形称为双活动情形。 双活动情形会对网络稳定性产生不利影响,因为两个机箱均会使用相同的 IP 地址、SSH 密钥和 STP 网桥 ID。 虚拟交换系统 (VSS) 必须检测双活动情形,并执行恢复操作。VSS支持增强的 PAgP、 IP 双向转发检测 (BFD)和dual-active fast-hello三种方法,以便检测双活动情形。建议:如有可能,请同时启用基于 ePAgP 和直接心跳链路的 VSLP Fast Hello 方法。Fast-

25、Hello Configuration and MonitoringVSS Active Virtual Switch :SW65VSS# switch virtual domain 10SW65VSS(config-vs-domain)# dual-active detection fast-helloSW65VSS(config)# int gi1/4/48SW65VSS(config-if)# dual-active fast-helloSW65VSS(config-if)# int gi2/4/48SW65VSS(config-if)# dual-active fast-hello%V

26、SDA-SW2_SPSTBY-5-LINK_UP: Interface Gi1/5/1 is now dual-active detection capable%VSDA-SW1_SP-5-LINK_UP: Interface Gi2/5/1 is now dual-active detection capableSW65VSS# show switch virtual dual-active fast-helloSW65VSS# remote command standby-rp show switch virtual dual-active fast-helloePAgP Configur

27、ation and MonitoringVSS Active Virtual Switch :SW65VSS(config)# switch virtual domain 10SW65VSS(config-vs-domain)# dual-active detection pagp trust channel-group 205SW65VSS# show switch virtual dual-active pagpPAgP dual-active detection enabled: YesPAgP dual-active version: 1.1! Neighbor switch that

28、 supports enhanced PAgP:S3560# show pagp dual-activePAgP dual-active detection enabled: YesPAgP dual-active version: 1.1Dual-Active Detection - Exclude Interfaces一旦检测到双活情况,原先Active交换机将会禁用其上面的所有端口以确保不影响其余网络的正常工作,然而,对于用于管理用途的端口等,我们并不希望他们也被禁用,因为管理端口被禁用后就不能远程管理该交换机。SW65VSS#conf tEnter configuration commands, one per line.End with CNTL/Z.SW65VSS(config)#)#switch virtual domain 10SW65VSS(config-vs-domain)#dual-active exclude interface Gig 1/5/1SW65VSS(config-vs-domain)#dual-active exclude interface Gig 2/5/1SW65VSS(config-vs-domain)# ZSW65VSS#双活的3种方式详细介绍

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1