CN101557313B - Method for protecting uplink plate card of carrier-grade broadband access equipment - Google Patents

Method for protecting uplink plate card of carrier-grade broadband access equipment Download PDF

Info

Publication number
CN101557313B
CN101557313B CN 200910130939 CN200910130939A CN101557313B CN 101557313 B CN101557313 B CN 101557313B CN 200910130939 CN200910130939 CN 200910130939 CN 200910130939 A CN200910130939 A CN 200910130939A CN 101557313 B CN101557313 B CN 101557313B
Authority
CN
China
Prior art keywords
ro
end
standby
master
switchover
Prior art date
Application number
CN 200910130939
Other languages
Chinese (zh)
Other versions
CN101557313A (en
Inventor
李凌
杨帅伟
汪昭银
Original Assignee
烽火通信科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 烽火通信科技股份有限公司 filed Critical 烽火通信科技股份有限公司
Priority to CN 200910130939 priority Critical patent/CN101557313B/en
Publication of CN101557313A publication Critical patent/CN101557313A/en
Application granted granted Critical
Publication of CN101557313B publication Critical patent/CN101557313B/en

Links

Abstract

The invention relates to a method for protecting an uplink plate card of carrier-grade broadband access equipment, in particular to the protection of the uplink plate card, which comprises the detailed steps: step 1, a master port is set as forwarding state and a slave port is set as blocking state; and step 2, the master port continues forwarding data if the master port works normally according to the detection and waits for the next detection; a main link and a standby link are switched if the link of the master port does not work normally according to the detection and the slave port is setas forwarding state; then the information of the master port is copied to the slave port so as to realize rapid the main/standby switch, and finally the master port is set as blocking state. The method for protecting the uplink plate card of the carrier-grade broadband access equipment realizes rapid switch within a plurality of milliseconds by simple configuration and low cost in a networking environment with double uplink, protects the completeness of the information and meets the requirements of the high service quality by users.

Description

ー种电信级宽带接入设备上联板卡保护的方法 Carrier-class broadband access device with card protection method types ー

技术领域 FIELD

[0001] 本发明涉及上联板卡的保护,具体的说是ー种电信级宽带接入设备上联板卡保护的方法。 [0001] The present invention relates to a protective board with, specifically to the kind of the carrier-class ー broadband access device with card protection method.

背景技术 Background technique

[0002] 随着社会对信息依赖性的増加,网络对人们日常生活的影响也越来越大,一旦网络出现故障,将对社会的正常运作造成极大的冲击和损失。 [0002] With the information society to increase in dependence, the impact of the Internet on people's daily lives is also growing, once the network fails, the normal functioning of society will cause great shock and loss. 如何构建安全的承载网络成为摆在每个运营商面前最实际的问题,能否提供稳定成熟的保护机制也决定了其多业务和新兴业务开展的成败。 How to build secure network carrier placed in front of each operator most practical problems, can provide a stable and mature protection mechanism also determines the success or failure of its multi-service and new business development.

[0003] 近些年来,随着越来越多的基于局域网的语音和多媒体应用的部署,局域网基础设施底层的性能变得至关重要。 [0003] In recent years, as more and more LAN-based deployment of voice and multimedia applications, the performance of the underlying LAN infrastructure becomes critical. 每ー个网络部件的可用性都是不可缺少的,不仅广域网链路、ISP和路由网络应当具有冗余性,而且桥接路径也应当具有冗余性。 Each member ー network availability are essential, not only the WAN link, ISP, and routing network should have a redundancy, but also should have a bridge path redundancy. 双上行组网是常用应用组网之一,其工作原理是:组网通过生成树协议阻塞冗余链路,起备份作用,当主用链路故障吋,将流量切换到备用链路,从而保护网络的畅通。 Dual-homing networking application is one of the common network, its working principle is: Spanning Tree Protocol blocking group network through redundant links, play the role of backup, if the active link fails inch, traffic is switched to the backup link, thereby protecting the network unimpeded. 虽然这种方案从功能上可以实现客户冗余备份的需求,但是在性能上却不能达到很多用户的要求。 Although this scheme can realize redundant backup needs of customers from a function, but it can not achieve the performance requirements of many users.

[0004] 生成树协议STP (Spanning Tree Protocol)能够提供路径冗余,使用STP可以使两个终端中只有一条有效路径,并且迫使一定的备份路径处于备用状态。 [0004] The spanning tree protocol STP (Spanning Tree Protocol) to provide path redundancy, STP is a valid path can be made only two terminals, and a certain force in a standby state backup path. 如果生成树中的有效路径一部分不可用或者STP值变化了,生成树算法会重新计算生成树拓扑,并且通过启动备份路径来重新建立连接。 If a valid path in the spanning tree or not value change with a portion of the STP spanning tree algorithm recalculates the spanning tree topology and re-establish the connection by starting a backup path. 生成树协议的收敛时间是关键,这将影响到网络性能,STP需要30到60秒的时间来检测这些变化和重新配置,这对于应用于电信级网络核心的高端以太网交換机,是非常不利的ー个性能參数。 Spanning Tree Protocol convergence time is the key, which will affect network performance, STP needs 30-60 seconds of time to detect these changes and reconfiguration, which is used in carrier-class network core for high-end Ethernet switches, is very unfavorable the personality can ー parameters. 为了改善生成树协议的收敛时间,提出了快速生成树协议。 In order to improve the convergence time of the Spanning Tree Protocol and Rapid Spanning Tree Protocol proposed.

[0005] 快速生成树协议RSTP (Rapid Spanning Tree Protocol)通过快速生成树算法在交换网络中阻断部分冗余路径,建立起无环路的树状网络。 [0005] Rapid Spanning Tree Protocol RSTP (Rapid Spanning Tree Protocol) partially blocking redundant paths in the switching network by flash spanning tree algorithm, to establish a loop-free tree network. 快速生成树协议所采用的快速生成树算法是ー个分布式算法,它选择一台交换机作为生成树的树根,算法为每台交换机上的不同端ロ分配端ロ任务。 RSTP Rapid Spanning Tree algorithm used is a distributed algorithm ー, it selects a switch as a spanning tree root, different algorithms on each end of the dispensing end ro ro switch tasks. RSTP根据端ロ在活动拓扑中的作用,定义了五种端口角色: RSTP according ro terminal in the active topology role, defines five port roles:

[0006]非活动端 ロ(disabledport), [0006] ro inactive end (disabledport),

[0007]根端 ロ(root port), [0007] ro root end (root port),

[0008]指定端 ロ(designated port), [0008] Specifies end ro (designated port),

[0009]替代端 ロ(alternate port), [0009] Alternatively terminal ro (alternate port),

[0010]备份端ロ(backup port)。 [0010] Back end ro (backup port).

[0011] 无论端口承担什么任务,它们都可以在发生故障的情况下成为提供连接性的替代端ロ或备用端ロ,RSTP保证了在交換机端ロ或局域网发生故障后,较快地恢复网络连接,使重新配置和恢复服务的时间达到秒级以下,但这仍不能满足电信级网络核心的高端以太网交换机。 [0011] No matter what tasks undertaken port, which can be connected to provide alternative end of ro ​​ro or alternate end, to ensure the RSTP in case of a fault in the LAN switch failure or end ro, faster recovery network connection, the time to reconfigure and restore service to achieve sub-second, but still can not meet the high-end carrier-class network core Ethernet switch.

[0012] 采用环网解决方案虽然可以提高收敛性能,但是在组网上有较大的局限性,对于双上行组网需要采用同域相交环的配置,复杂度较高。 [0012] Although the use of ring solution can improve the convergence performance, but in a large group of Internet limitations need for dual-homed network domain intersection with the ring configuration, high complexity.

发明内容 SUMMARY

[0013] 针对现有技术中存在的缺陷,本发明提供一种电信级宽带接入设备上联板卡保护的方法,在双上行的组网环境中以简单的配置,很小的开销实现几毫秒的快速倒换,保护信息的完整,满足用户对业务高服务质量的要求。 [0013] the defects of the prior art, the present invention provides a telecommunications device with the board-level broadband access protection methods, the dual-homed networking environment with a simple configuration, to achieve a small overhead several fast switching milliseconds, to protect the integrity of information to meet user requirements for high-quality business services.

[0014] 为达到上述目的,本发明采取的技术方案是: [0014] To achieve the above object, the present invention takes the following technical solution:

[0015] 一种电信级宽带接入设备上联板卡保护的方法,其特征在于:其具体步骤为: [0015] A carrier-class broadband access device with card protection method, comprising: including the following steps:

[0016] 步骤I,将主端ロ置为转发状态,从端ロ置为阻塞状态:主端ロ先进入转发状态,从端ロ作为备份端ロ被设置成阻塞状态,不能转发数据流; [0016] Step I, the main terminal is set to the forwarding state ro, ro from the end opposite to the blocking state: ro master end first into forwarding state, from the end of backup ro ro end is set to the blocked state can not forward data stream;

[0017] 步骤2,定期检测主端ロ的工作状态:如果检测到主端ロ工作正常,主端ロ就继续转发数据,等待下一次检测;如果检测到主端ロ链路发生故障,则执行主备链路倒换,将从端ロ置为转发状态,接着将主端ロ的信息复制ー份给从端ロ,以便从端ロ实现更快的速度完成主备倒换,最后将主端ロ置为阻塞状态。 [0017] Step 2, the master periodically detecting the operating state of ro: detects if the master work ro, ro continues forward end of the main data, wait for next detection; if the master is detected ro link fails, is executed standby link switchover from the end of the ro set to the forwarding state, then to copy parts ー ro ro from the primary-side end of the information, in order to achieve faster completion ro standby switchover from the end of the last main opposite end ro block state.

[0018] 在上述技术方案的基础上,执行完主备链路倒换后,设备产生提示告警,井上报网管。 [0018] Based on the foregoing technical solution, after executing the standby link switchover, the device generates an alarm prompt, the NMS well.

[0019] 在上述技术方案的基础上,执彳了完王备链路倒换后,设备继续定期检测王端ロ的工作状态,当检测到主端ロ恢复正常时,在网管上重新将主端ロ置为转发状态,接着将从端ロ的信息复制ー份给主端ロ,保护信息完整,达到快速倒换的目的,最后将从端ロ置为阻塞状态。 [0019] Based on the foregoing technical solution, perform left foot of finished king post standby link switching device continues to detect the king end ro operating state periodically when detecting the master ro normal, re master side ro mounted on the NMS forwarding state, and then copy the information from the ro terminal to the main terminal ro ー parts, protect information integrity, and achieve rapid switchover, set to last from the end ro blocked.

[0020] 在上述技术方案的基础上,当执行主备链路倒换时,执行主备链路倒换的设备通过发送报文通知其他设备进行MAC地址表的刷新操作,把原来的从端ロ变为主端ロ;所述报文的格式为:目的MAC地址+源MAC地址+VLAN+Version+Checksum+RingID+Auth-mode+Password+FCS。 [0020] Based on the foregoing technical solution, when executed standby link switching execution standby link switchover device notifies another device by sending text messages to refresh MAC address table from the original end becomes ro ro main terminal; format of the packet: source address + destination MAC address MAC + VLAN + Version + Checksum + RingID + Auth-mode + Password + FCS.

[0021] 本发明所述的电信级宽带接入设备上联板卡保护的方法,在双上行的组网环境中以简单的配置,很小的开销实现几毫秒的快速倒换,保护信息的完整,满足用户对业务高服务质量的要求。 [0021] The carrier-class broadband access device according to the present invention with the board protection method, the dual-homed networking environment with a simple configuration, a small overhead to achieve fast switching few milliseconds, to protect the integrity of information to meet user requirements for high-quality business services.

附图说明 BRIEF DESCRIPTION

[0022] 本发明有如下附图: [0022] The present invention has the following figures:

[0023] 图I报文的格式 [0023] The packet format of FIG. I

[0024] 图2系统初始化换流程图 [0024] FIG 2 flow chart transducer system initialization

[0025] 图3主备倒换从开到关流程图 [0025] FIG. 3 flowchart standby switchover from the open to closed

[0026] 图4主备倒换从关到开流程图 [0026] The flowchart of FIG. 4 standby switchover from closed to open

[0027] 图5上联板卡拔插处理图 [0027] FIG. 5 with FIG processing board plug

[0028] 图6主备倒换流程图 [0028] The flowchart of FIG 6 the switchover

具体实施方式 Detailed ways

[0029] 以下结合附图对本发明作进ー步详细说明。 [0029] The present invention will be described in further detail ー into conjunction with the drawings. [0030] 一般上联板卡只用做上联端ロ,本发明中使用主备两块上联板卡,且主备上联板卡以通过网管配置三种端ロ••主端ロ、从端ロ以及上联端ロ,正常情况下主端口和从端ロ配对使用。 [0030] Usually the joint end of the board with only cook ro, in the present invention with the two standby board and the standby board to configure three joint end ro ro •• by the master network, from the end of the joint and an upper end of the ro ro, ro pair from the primary port and the end of use under normal circumstances. 上联板卡也可称为上联盘。 The board also be referred to with the joint plate.

[0031] 本发明所述电信级宽带接入设备上联板卡保护的方法的具体步骤如下(參见图6): [0031] The present invention, on the carrier-class broadband access device the board with particular protection method steps as follows (see FIG. 6):

[0032] 步骤1,将主端ロ置为转发状态,从端ロ置为阻塞状态:主端口先进入转发状态,从端ロ作为备份端ロ被设置成阻塞状态,不能转发数据流; [0032] Step 1, the main terminal is set to the forwarding state ro, ro from an end placed in blocking mode: the primary port to the forwarding state, from the end of backup ro ro terminal is set to the blocked state can not forward data stream;

[0033] 步骤2,定期检测主端ロ的工作状态:如果检测到主端ロ工作正常,主端ロ就继续转发数据,等待下一次检测;如果检测到主端ロ链路发生故障,则执行主备链路倒换,将从端ロ置为转发状态,接着将主端ロ的信息复制ー份给从端ロ,以便从端ロ实现更快的速度完成主备倒换,最后将主端ロ置为阻塞状态。 [0033] Step 2, the master periodically detecting the operating state of ro: detects if the master work ro, ro continues forward end of the main data, wait for next detection; if the master is detected ro link fails, is executed standby link switchover from the end of the ro set to the forwarding state, then to copy parts ー ro ro from the primary-side end of the information, in order to achieve faster completion ro standby switchover from the end of the last main opposite end ro block state.

[0034] 在上述技术方案的基础上,执行完主备链路倒换后,设备产生提示告警,井上报网管。 [0034] Based on the foregoing technical solution, after executing the standby link switchover, the device generates an alarm prompt, the NMS well.

[0035] 在上述技术方案的基础上,执行完主备链路倒换后,设备继续定期检测主端ロ的工作状态,当检测到主端ロ恢复正常时,在网管上重新将主端ロ置为转发状态,接着将从端ロ的信息复制ー份给主端ロ,保护信息完整,达到快速倒换的目的,最后将从端ロ置为阻塞状态。 [0035] Based on the foregoing technical solution, after executing the standby link switchover, the master device continues to periodically detect ro working state, upon detection of the end of the main normal ro, ro re-mounted on the end of the main network forwarding state, and then copy the information from the ro terminal to the main terminal ro ー parts, protect information integrity, and achieve rapid switchover, set to last from the end ro blocked.

[0036] 在上述技术方案的基础上,当执行主备链路倒换时,执行主备链路倒换的设备通过发送报文通知其他设备进行MAC地址表的刷新操作,把原来的从端ロ变为主端ロ;所述报文的格式如下:目的MAC 地址+ 源MAC 地址+VLAN+Version+Checksum+RinglD+Auth-mode+Password+FCS。 [0036] Based on the foregoing technical solution, when executed standby link switching execution standby link switchover device notifies another device by sending text messages to refresh MAC address table from the original end becomes ro ro-based end; of the packet format is as follows: source address + destination MAC address MAC + VLAN + Version + Checksum + RinglD + Auth-mode + Password + FCS.

[0037] 当发生链路切换时,原有的转发表项将不适用于新的拓扑网络,需要整网进行MAC表项更新。 [0037] When link switching occurs, the original forwarding entries apply to the new network topology, the entire network needs to be updated MAC entries. 本发明对于MAC地址表的处理采用了新方法,该方法不改变芯片中的MAC地址表,只是把原来的从端ロ变为主端ロ,既保护了信息的完整性,又省去了芯片重新学习MAC地址的时间,所以倒换时间更短。 For the process of the present invention, the MAC address table using a new method, which does not change the MAC address table in the chip, only the original from the end becomes the master terminal ro ro, both to protect the integrity of information, but also eliminates the chip time to re-learn MAC addresses, so the switching time is even shorter. 这时设备通过发送报文通知其他设备进行MAC地址表的刷新操作,其机制与当前环网协议兼容。 In this case the device Informing other devices to update the MAC address table by sending messages, the mechanism compatible with the current ring protocol. 报文的格式如图I所示。 I packet format is shown in FIG. 前6bytes是目的MAC地址,也就是收包设备的MAC地址,用于识别收端设备;接下来的6bytes是源MAC,也就是发包设备的MAC地址,用于识别发端设备;VLAN是虚拟局域网,起_离作用;Version是版本信息,表示当前正运行的IP版本信息;Checksum是ー种算法,用于数据包校验;FCS是帧校验序列,用于帧的错误校验。 Before 6bytes is destination MAC address, i.e. the MAC address of the packet receiving device for identifying the terminating equipment; 6bytes next source MAC, i.e. a MAC address of the device contract, for identifying the originating equipment; the VLAN is a virtual local area network, _ from the role played; version is the version information indicating the version of the IP is running; checksum is ー algorithms, data packets for parity; the FCS is a frame check sequence, error check for the frame.

[0038] 上述技术方案中,当上联板卡主备使能后就不能再对备板卡进行设置,所有对备板卡的设置只能通过对主板卡上联端ロ进行,对主板卡的任何配置都会同步给备板卡,做到主备上联板卡配置一致,这样设备就具备了冗余备份和快速倒换的能力,在倒换时对MAC地址表的同步采用了新方法,既保护了信息的完整性又省去了重新学习MAC地址的时间,从而实现几毫秒的快速主备倒换。 [0038] In the above aspect, when the master and slave board joint can no longer enabled after setting the standby board, the standby board all set only by the main board of the joint end ro, on the main board any configuration will be synchronized to the standby board, so that the standby board configuration consistent with such devices to have the ability to quickly and redundancy switchover, when switching to the MAC address table using a new method of synchronization, both integrity protection information and eliminates the need for time to re-learn the MAC address, enabling fast switchover main few milliseconds.

[0039] 下面以EPON设备为例,结合附图详细说明本发明的具体实施方式。 [0039] In the following an example EPON equipment, in conjunction with the accompanying drawings illustrate specific embodiments of the present invention.

[0040] 烽火AN5116-06A是ー种电信级宽带接入设备,设备的29和30槽位提供了2个上联板卡,每个上联板卡4个端ロ,要么全电ロ要么全光ロ,且上联板卡可拔插。 [0040] flames AN5116-06A is ー carrier-class broadband access device types, device 29 and slots 30 provided on the two associated cards, each card with the four end ro, ro-or-all-electric or ro light, and the associated pluggable board. 为了简单的实现上联板卡主备倒换功能,使用TRUNK实现上联板卡主备倒换功能。 In order to achieve a simple board with a standby switchover function, implemented on a joint use TRUNK standby board switchover. 执行主备倒换时,只对主盘的前三个端口和备盘的前三个端ロ进行主备操作,如:29 : 1-30 : 1,29 : 2-30 : 2,29 : 3-30 : 3,把这三组端ロ配对使用,便可实现主备功能。 The switchover is performed, only the front end of the front three ports and three spares master disk ro AMB operations, such as: 29: 1-30: 1, 29: 2-30: 2, 29: 3 -30: 3, these three sets of paired end ro, standby function can be realized.

[0041] 系统初始化时会对端ロ做初始化操作。 [0041] ro system will do an initialization operation when the end of the initialization. 如果设备配置中主备倒换是开,就进入主备倒换从关到开的流程,初始化端ロ。 If the device is configured to open in standby switchover, enters standby switchover process from off to on, the initialization end ro. 如果设备配置中主备倒换是关,就结束对端ロ的初始化。 If the device is configured in standby switchover control, initialization is completed to the end of ro. 操作过程如图2所示。 Operation shown in FIG.

[0042] 设备能根据上联板卡主备倒换使能开关设置,控制上联板卡主备倒换功能。 [0042] The device can switchover the main board with the enable switch is provided, with the control board standby switchover function. 通过命令行或图形网管来打开或者关闭主备倒换使能开关,控制上联板卡主备倒换使能。 To open or close the switchover enable switch, the control board with the switchover is enabled by command line or graphical network.

[0043] 用户将主备使能从开到关时,过程如图3所示,先删除备盘端ロ的业务VLAN,再删除备盘的Qos设直,最后将备盘端ロ从TRUNK中移除,完成王备使能从开到关。 [0043] The standby enable the user from ON to OFF, the process shown in Figure 3, the first end of the spare ro remove the VLAN service, Qos delete spares with straight, the last spare TRUNK from the end of the ro removed, so that the completion of the king prepared from ON to oFF.

[0044] 用户将主备使能从关到开时,过程如图4所示,先检测主备板卡类型是否一致,如果不一致则不能进行主备倒换。 [0044] The standby enable the user from OFF to ON, the process shown in Figure 4, to detect whether the standby card type, and if not the switchover can not be performed. 如果主备一致,就检测业务VLAN中是否有备盘上的端ロ, 将会有A,B两种不同配置过程: If the standby agreement, it detects whether there is a spare disk ro end service VLAN, there will be A, B arranged in two different processes:

[0045] A :如果没有,检测备盘中是否有端ロ在TRUNK中,如果有就删除备盘端ロ所在的TRUNK,然后在这个TRUNK中加入除备盘端ロ之外的所有端ロ,如果没有就删除bridge上的监视、被监视端ロ,并将备盘前三个上联端ロ置为“disable”状态。 [0045] A: If not, it is detected in the spare disk ro TRUNK an end, if there is spare delete end where ro TRUNK, then added all ends except the spare end ro ro in this TRUNK, If the monitor is not deleted on Bridge, ro monitored end, three on the front side and the spare disk associated ro set to "disable" state. 设置备盘上联端ロ自动协商模式、端ロ速率、工作模式、流控、端ロ学习、端ロ优先级、性能统计门限,QoS,vlan和tag等与主端ロ一致。 Preparation of the end disc is provided with auto-negotiation mode ro, ro end rate, mode of operation, flow control, learning end ro, ro terminal priority, performance statistics threshold, the QoS, VLAN tag, and the like with the main terminal ro consistent. 然后看备盘端ロ对应的主端ロ是否在trunk中,如果不在就把备盘端ロ和主端ロ组成trunk,如果在就保留trunk成员属性,删除主端ロ的trunk,备盘端口和主端ロ及trunk成员组成新trunk。 Then look end spare ro ro corresponding to the master is in the trunk, if not put an end spare ro ro composition trunk and the master, if it is to retain the trunk member properties, delete the master ro the trunk, and spare ports ro main terminal and trunk-member new trunk. 保证设置备盘上联端ロ状态和主端ロー致。 Spare disk is provided to ensure the joint state and the master-side terminal ro as have induced.

[0046] B :如果没有,删除备盘端口上的业务vlan,如果业务vlan中的VID没有其它vlan使用,则删除此vlan,有则保留。 [0046] B: If not, remove the vlan traffic spare disk port, if the VID vlan traffic vlan no other use, removing this vlan, there is retained.

[0047] 其中,监视端口和被监视端ロ有可能刚好同在ー个trunk里面,且在trunk里设置监视端ロ也会极大影响端ロ流量,所以在主备倒换从关到开时应用程序会把监视端ロ删除。 [0047] wherein the monitoring ports and a monitoring terminal in the same ro ー possible just inside a trunk, and monitoring an end provided will greatly affect ro ro traffic trunk in the end, the application at the switchover from OFF to ON monitoring program will end ro deleted.

[0048] 系统管理模块如果检测到上联板卡拔插信息,就进入热拔插处理流程,如图5所示,当检测到上联板卡有热插拔事件吋,主从通信模块回调函数发送槽位事件消息给系统管理模块,通知板卡有up、down或connect事件,如果此槽位配置为空,则把上联板卡相关信息填入br_Slot_dev结构,注册上联板卡信息到系统中去,给网管发trap消息告知网管板卡的状态。 [0048] If the system management module detects that a plug board associated information, the processing flow proceeds to hot plug, shown in Figure 5, when it is detected the associated hot plug event inch board, the master from the communication module callback function to send a message to the system event slot management module, notice board has up, down, or connect event, if this configuration slot is empty, put on the board with relevant information to fill br_Slot_dev structure, registration information to the joint board go system, the network management system NMS hair trap to notify the state of the board.

[0049] 主备使能后不能对备盘进行设置,所有对备盘的设置只能通过对主盘上联ロ进行,对主盘的任何配置操作后,都要和备盘作同步操作,使主备盘设置一致。 [0049] After the standby enable spare disk can not be set, all of the spare disk is provided only by the master disk for ro-linking, after any configuration operation of the master disk, the disk must be prepared, and for synchronous operation, set the same spare main. 以上设置成完成后,设备工作后系统会对上联板卡做初始化操作,使设备具备了冗余备份和快速倒换的能力。 After the above settings to complete, the device will work on the system with the board to do the initial operation, the device has the ability to quickly backup and redundancy switching. 如图6所示,主端ロ优先进入数据转发状态,从端ロ处于阻塞状态。 6, the master priority access data forwarding state ro, ro is blocked from the end. 设备不断检测主端ロ的工作状态,当主端ロ发生故障吋,从端ロ快速切換成数据转发状态,同时把主端ロ的信息复制ー份给从端ロ,实现主备更快速的倒换,整个网络的信息也会因为发生了倒换而更新。 Apparatus continuously detects the primary-side ro working state, when the fault-inch main terminal ro occurs, ro from the end of the fast switching to the data transfer state, and the copy information of the main terminal ro the ー parts to ro from the end to achieve standby faster switching, the entire network will be because of a switching updated. 当设备检测到主端ロ恢复正常吋,从端ロ会同样把信息复制ー份给主端ロ,从端ロ再次处于阻塞状态,主端ロ倒换成数据转发状态,倒换过程仅需要几毫秒。 When the device detects the end of the main normal inch ro, ro be the same from the end of the parts information to the master copy ー ro, ro is blocked from the end again, the master data ro poured into forwarding state switching process takes only a few milliseconds .

[0050] 以上所述仅为本发明的较佳实施例,并不用于限制本发明,凡在本发明精神和原则之内所做的任何修改、等同替换和改进等,均含于本发明的保护范围之内。 [0050] The foregoing is only preferred embodiments of the present invention, not intended to limit the present invention, where any modifications within the spirit and principle of the present invention, equivalent replacements, improvements, etc., inclusive of the present invention within the scope of protection.

Claims (5)

1. 一种电信级宽带接入设备上联板卡保护的方法,其特征在于:使用主备两块上联板卡,且主备上联板卡通过网管配置三种端ロ:主端ロ、从端ロ以及上联端ロ,其中主端口和从端ロ配对使用,系统初始化时对端ロ做初始化操作,如果设备配置中主备倒换是开,就进入主备倒换从关到开的流程,初始化端ロ,如果设备配置中主备倒换是关,就结束对端ロ的初始化,其具体步骤为: 步骤I,将主端ロ置为转发状态,从端ロ置为阻塞状态:主端ロ先进入转发状态,从端ロ作为备份端ロ被设置成阻塞状态,不能转发数据流; 步骤2,定期检测主端ロ的工作状态:如果检测到主端ロ工作正常,主端ロ就继续转发数据,等待下一次检测;如果检测到主端ロ链路发生故障,则执行主备链路倒换,将从端ロ置为转发状态,接着将主端ロ的信息复制ー份给从端ロ,以 A carrier-class broadband access device with card protection method, comprising: using two uplink standby board and standby board through the network management configuration with the end of three kinds ro: the master ro , from the end of ro ​​and an upper joint end ro, wherein the master port and slave end ro paired, peer ro done at system initialization initializing operation, if the device is configured in standby switchover is open, enters standby switchover from off to on process, initialization ends ro, if the device is configured in standby switchover is closed, initialization is completed peer ro, the specific steps: step I, the main end ro placed in the forwarding state, from an end ro placed in blocking mode: the main end ro to the forwarding state, from an end ro as a backup terminal ro is set to the blocking state and can not forward data stream; step 2, periodic testing of the main terminal ro working state: if it is detected the master ro working properly, the master ro on continues to forward data, waiting for next detection; if the master is detected ro link fails, standby link switchover is performed, from the end of the ro set to the forwarding state, then the copy information of the main parts ー ro end to end from ro to 便从端ロ实现更快的速度完成主备倒换,最后将主端ロ置为阻塞状态; 其中,设备根据上联板卡主备倒换使能开关设置,控制上联板卡主备倒换功能,当上联板卡主备使能后就不再对备板卡进行设置,所有对备板卡的设置只通过对主板卡上联端ロ进行,对主板卡的任何配置都同步给备板卡,做到主备上联板卡配置一致; 用户将主备使能从开到关时,先删除备盘端ロ的业务VLAN,再删除备盘的Qos设置,最后将备盘端ロ从TRUNK中移除,完成王备使能从开到关; 用户将主备使能从关到开时,先检测主备板卡类型是否一致,如果不一致则不进行主备倒换;如果主备一致,就检测业务VLAN中是否有备盘上的端ロ,按A,B两种不同情况执行相应配置过程: A :如果业务VLAN中没有备盘上的端ロ,进ー步检测备盘中是否有端ロ在TRUNK中,如果有就删除备盘端ロ所在的TRU Ro end begins faster speed standby switchover is completed, the master ro finally placed in blocking state; wherein the apparatus according to the associated main board switchover enable switch, the control card associated standby switchover function, when the joint is enabled after the standby board to the standby board is no longer set, all of the standby board is provided only on the main board by an end joint for ro, any configuration of the main board to the standby board are synchronized , so that the standby board configuration consistent with; the user that the standby time from open to closed, the first end of the spare ro remove the VLAN service, Qos of spare delete setting, and finally an end spare ro from TRUNK removed, so that the completion of the king prepared from on to off; the user off from the standby so that when open, the first test whether the standby card type, and if not the switchover is not performed; if consistent standby, detects whether there is a spare disk ro end service VLAN, press a, B perform two different cases corresponding configuration procedure: a: If the service does not end in the VLAN spare disk ro, into the spare disk ー detect whether there is further TRUNK ro in the end, if you delete the spare end where the TRU ro NK,然后在这个TRUNK中加入除备盘端ロ之外的所有端ロ,如果没有就删除bridge上的监视、被监视端ロ,并将备盘前三个上联端ロ置为“disable”状态;设置备盘的上联端ロ自动协商模式、端ロ速率、工作模式、流控、端ロ学习、端ロ优先级、性能统计门限、QoS、VLAN和tag与主端ロー致;然后看备盘端ロ对应的主端ロ是否在TRUNK中,如果不在就把备盘端口和主端ロ组成TRUNK,如果在就保留TRUNK成员属性,删除主端ロ的TRUNK,备盘端口和主端ロ及TRUNK成员组成新TRUNK ;保证设置备盘上联端ロ状态和王纟而ロ一致; B :如果业务VLAN中有备盘上的端ロ,删除备盘端口上的业务VLAN,如果业务VLAN中的VID没有其它VLAN使用,则删除此VLAN,有则保留; 其中,如果监视端口和被监视端ロ同在ー个TRUNK里面,且在TRUNK里设置监视端ロ极大影响端ロ流量时,在主备倒换从关到开时应 Of NK, then added all ends except the spare ro ro this end TRUNK, if the monitor does not delete the Bridge, ro monitored end, and the front end with the three spare ro is set to "disable" state; provided spare disk on the associated end of the ro auto-negotiation, ends ro rate, operating mode, flow control, end ro learning end ro priority, performance statistics threshold, QoS, VLAN and tag main terminal as have actuator; and see end spare ro ro corresponding to the master is in the TRUNK, if not put a main port and a spare end ro TRUNK composition, if it retains TRUNK member properties, remove the primary side of the ro TRUNK, the master and spare port ro and TRUNK members new TRUNK; guarantee provided spare disk associated end ro state and Wang Si and ro consistent; B: if the service VLAN of an end on the spare disk ro, delete service VLAN on the spare disk port, if the service VLAN. the VID VLAN no other use, removing this VLAN, there is retained; wherein, if the monitoring and monitored port at the same end ro ー inside a TRUNK and TRUNK provided in the monitor terminal ro in ro flow ends when a great impact, in standby switchover from oFF to ON when 用程序把监视端ロ删除。 The program monitors the end ro deleted.
2.如权利要求I所述的电信级宽带接入设备上联板卡保护的方法,其特征在于:执行完主备链路倒换后,设备产生提示告警,井上报网管。 2. I claim the carrier-class broadband access equipment with protection board, characterized in that: after executing the standby link switching device generates an alarm prompt, the NMS well.
3.如权利要求I或2所述的电信级宽带接入设备上联板卡保护的方法,其特征在于:执行完主备链路倒换后,设备继续定期检测主端ロ的工作状态,当检测到主端ロ恢复正常时,在网管上重新将主端ロ置为转发状态,接着将从端ロ的信息复制ー份给主端ロ,保护信息完整,达到快速倒换的目的,最后将从端ロ置为阻塞状态。 3 on the I carrier-class broadband access device or the board 2 with Protected method as claimed in claim, characterized in that: after executing the standby link switchover, the master device continues to periodically detect ro operating state, when when the master detects ro returned to normal, the NMS re-set to the master ro forwarding state, and then copy the information from the end of the ro ー end parts to main ro, full protection of information, achieve rapid switchover, from the final ro end placed in blocking state.
4.如权利要求I或2所述的电信级宽带接入设备上联板卡保护的方法,其特征在于:当执行主备链路倒换时,执行主备链路倒换的设备通过发送报文通知其他设备进行MAC地址表的刷新操作,把原来的从端ロ变为主端ロ;所述报文的格式为:目的MAC地址+源MAC地址+VLAN+Version+Checksum+Ring ID+Auth-mode+Password+FCS。 4. The device I or the board with protection method of claim 2 carrier-class broadband access as claimed in claim, wherein: when performing link switching standby, standby link switchover is performed by sending packets inform other devices to refresh MAC address table, the original from the end becomes the master terminal ro ro; format of the packet: source address + destination MAC address MAC + VLAN + Version + Checksum + Ring ID + Auth- mode + Password + FCS.
5.如权利要求3所述的电信级宽带接入设备上联板卡保护的方法,其特征在于:当执行主备链路倒换时,执行主备链路倒换的设备通过发送报文通知其他设备进行MAC地址表的刷新操作,把原来的从端ロ变为主端ロ;所述报文的格式为:目的MAC地址+源MAC地址+VLAN+Version+Checksum+Ring ID+Auth-mode+Password+FCS。 Carrier-class broadband access equipment with protection board 5. The method as claimed in claim 3, wherein: when performing standby link switching execution standby link switchover message to inform other devices by transmitting packets devices to refresh MAC address table, the original from the end becomes the master terminal ro ro; format of the packet: source address + destination MAC address MAC + VLAN + Version + Checksum + Ring ID + Auth-mode + Password + FCS.
CN 200910130939 2009-04-21 2009-04-21 Method for protecting uplink plate card of carrier-grade broadband access equipment CN101557313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910130939 CN101557313B (en) 2009-04-21 2009-04-21 Method for protecting uplink plate card of carrier-grade broadband access equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910130939 CN101557313B (en) 2009-04-21 2009-04-21 Method for protecting uplink plate card of carrier-grade broadband access equipment

Publications (2)

Publication Number Publication Date
CN101557313A CN101557313A (en) 2009-10-14
CN101557313B true CN101557313B (en) 2012-09-26

Family

ID=41175267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910130939 CN101557313B (en) 2009-04-21 2009-04-21 Method for protecting uplink plate card of carrier-grade broadband access equipment

Country Status (1)

Country Link
CN (1) CN101557313B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834668A (en) * 2010-05-25 2010-09-15 中兴通讯股份有限公司 Method and system for quickly realizing service restoration after line switching in passive optical network
CN101867495A (en) * 2010-06-25 2010-10-20 神州数码网络(北京)有限公司;上海神州数码有限公司 Ethernet automatic protection link failure quick switching method
CN102025541B (en) * 2010-12-08 2014-12-10 中兴通讯股份有限公司 Method and system for realizing multicast protection
CN102299855B (en) * 2011-09-07 2016-02-24 神州数码网络(北京)有限公司 A kind of link fast switch over method and system
CN103457774A (en) * 2013-09-05 2013-12-18 深圳市共进电子股份有限公司 Method for achieving network double-uplink automatic switchover backup
CN104243360B (en) * 2014-09-10 2017-11-24 福建星网锐捷网络有限公司 The collocation method and device of a kind of conversion link
CN104486260B (en) * 2014-11-25 2019-01-29 福建星网锐捷网络有限公司 A kind of message processing method and device
CN104683204B (en) * 2015-03-17 2017-09-29 深圳市振兴光通信股份有限公司 The control method and device of a kind of FastRing looped networks
CN106341297B (en) * 2016-08-12 2020-01-14 浙江宇视科技有限公司 Networking method and device for monitoring ring network
CN106470153B (en) * 2016-09-05 2019-12-06 杭州迪普科技股份有限公司 method and device for preventing temporary loop

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6766482B1 (en) 2001-10-31 2004-07-20 Extreme Networks Ethernet automatic protection switching
WO2007003129A1 (en) 2005-07-04 2007-01-11 Huawei Technologies Co., Ltd. Msystem and method for improving the communication security
CN101051854A (en) 2007-05-24 2007-10-10 中兴通讯股份有限公司 Irregular medium protecting method for passive optical network
CN101068139A (en) 2007-06-28 2007-11-07 中兴通讯股份有限公司 Media gateway upper connection link main spare protecting method
CN101155109A (en) 2006-09-30 2008-04-02 华为技术有限公司 Ethernet switching system and equipment
CN101227371A (en) 2008-02-18 2008-07-23 中兴通讯股份有限公司 Method and apparatus of backup switch among same level switch equipments

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6766482B1 (en) 2001-10-31 2004-07-20 Extreme Networks Ethernet automatic protection switching
WO2007003129A1 (en) 2005-07-04 2007-01-11 Huawei Technologies Co., Ltd. Msystem and method for improving the communication security
CN101155109A (en) 2006-09-30 2008-04-02 华为技术有限公司 Ethernet switching system and equipment
CN101051854A (en) 2007-05-24 2007-10-10 中兴通讯股份有限公司 Irregular medium protecting method for passive optical network
CN101068139A (en) 2007-06-28 2007-11-07 中兴通讯股份有限公司 Media gateway upper connection link main spare protecting method
CN101227371A (en) 2008-02-18 2008-07-23 中兴通讯股份有限公司 Method and apparatus of backup switch among same level switch equipments

Also Published As

Publication number Publication date
CN101557313A (en) 2009-10-14

Similar Documents

Publication Publication Date Title
US7440397B2 (en) Protection that automatic and speedily restore of Ethernet ring network
US9584397B2 (en) Routing in spine-leaf networking systems
US7352745B2 (en) Switching system with distributed switching fabric
CN101371474B (en) System and method for detecting and recovering from virtual switch link failures
US7643409B2 (en) Computer network with point-to-point pseudowire redundancy
US8204061B1 (en) Virtual port channel switches with distributed control planes
CN100459569C (en) Quick route switching method and apparatus for network node devices
US20070237085A1 (en) System and methodology for fast link failover based on remote upstream failures
JP4688765B2 (en) Network redundancy method and intermediate switch device
JP4020753B2 (en) Ring switching method
US7269132B1 (en) Method and apparatus for achieving transparent redundancy at a hierarchical boundary
US7564779B2 (en) Ring rapid spanning tree protocol
JP4802280B2 (en) Method and system for high-reliability processing in networking of a Metro Ethernet network providing multi-functional services
JP5566463B2 (en) Data transfer technology in computer networks
US7283465B2 (en) Hierarchical virtual private LAN service protection scheme
US6917986B2 (en) Fast failure protection using redundant network edge ports
CN101170459B (en) Failure detection and link recovery method based on bidirectional forward link
WO2004102853A2 (en) Protected switching ring
CN100417094C (en) Network failure recovery method with redundancy port
DE602004000943T2 (en) Process, software product, storage medium and Ethernet switch to improve the STP protocol in VLAN Ethernet networks
CN102461087A (en) Preventing loss of network traffic due to inconsistent configuration within the network
CN1579064A (en) Method for supporting sdh/sonet aps on ethernet
JP2007116275A (en) Path protection method and layer 2 switch
CN102232279A (en) Method for detecting loop position in Ethernet, and Ethernet switching device
US8295160B2 (en) Data communication system, device and method of detecting a failure on an access line in a network

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted