CN107241267A - A kind of OAM switching methods and the network equipment - Google Patents
A kind of OAM switching methods and the network equipment Download PDFInfo
- Publication number
- CN107241267A CN107241267A CN201610181657.1A CN201610181657A CN107241267A CN 107241267 A CN107241267 A CN 107241267A CN 201610181657 A CN201610181657 A CN 201610181657A CN 107241267 A CN107241267 A CN 107241267A
- Authority
- CN
- China
- Prior art keywords
- oam
- line card
- examples
- message
- network equipment
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/22—Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A kind of OAM switching methods, applied to the network equipment.The first line card in the network equipment is provided with the 2nd OAM examples of operation on the first OAM examples, the second line card, and the second line card sends the first OAM message according to OAM parameters, and the first line card, which goes to enable, sends OAM message.First line card judges whether to receive the heartbeat message that the second line card in the network equipment is sent, if the first line card is not received by the heartbeat message of the second line card transmission, the first line card sends the second OAM message according to OAM parameters.Because line card can not send heartbeat message in failure, so, the first line card can detect the failure of the second line card, and send OAM message to the link of the 2nd OAM example detections, so as in the case where the network equipment can be with the link communication at place, it is to avoid because the link switchover that line card failure triggers.
Description
Technical field
The application is related to the communications field, more particularly to a kind of operation and management (English:operation and
Management, OAM) switching method and the network equipment.
Background technology
In order to ensure the normal transmission of data, communication system would generally use the mechanism of main/slave link.Such as Fig. 1
Shown, router 1 and router 2 on primary link transmit OAM message each other, if router 1
Or router 2 can not receive the OAM message of opposite end transmission, it is determined that link failure.After link failure, lead to
Letter system carries out link switchover, that is, enables reserve link communication.
Even if link does not break down, if placed at the line card failure of the router interior on link,
OAM message is not received with the line card of the router of this link connection with the router.Therefore, line card event
Barrier also can trigger link switch.
The content of the invention
This application provides a kind of OAM switching methods and the network equipment, it is therefore intended that solves in the network equipment
Can be in the case of the link communication with place, the link switchover triggered by the line card failure of the network equipment
The problem of.
First aspect provides a kind of OAM switching methods, including:The first line card in the network equipment judges
Whether heartbeat message that second line card in the network equipment send is received, if first line card
The heartbeat message that second line card is sent is not received by, first line card is according to the OAM parameters
Send the second OAM message.Wherein, first line card is provided with the first OAM examples, described second
The 2nd OAM examples, the first OAM examples and the 2nd OAM examples are run on line card
OAM parameters are identical, and the first OAM examples are used to detect identical with the 2nd OAM examples
Link, second line card sends the first OAM message, first line card according to the OAM parameters
Go to enable and send OAM message.Because line card can not send heartbeat message in failure, it is described
First line card is capable of detecting when the failure of second line card, and is sent out to the link of the 2nd OAM example detections
OAM message is sent, so that in the case where the network equipment can be with the link communication at place, it is to avoid because line
Card failure and the link switchover triggered.
Second aspect provides a kind of network equipment, including:At least two line cards.Wherein, it is described at least
The first line card in two line cards is provided with the second line in the first OAM examples, at least two line card
The 2nd OAM examples, the OAM of the first OAM examples and the 2nd OAM examples are run on card
Parameter is identical, and the first OAM examples are used to detect identical link with the 2nd OAM examples,
The 2nd OAM examples send the first OAM message, first line card according to the OAM parameters
Go to enable and send OAM message.Second line card is used to send heartbeat message, institute to first line card
Stating the first line card is used to judge whether to receive the heartbeat message, if being not received by the heartbeat report
Text, the second OAM message is sent according to the OAM parameters.The network equipment can be avoided because line
Card failure and the link switchover triggered.
In one implementation, second line card sends the frequency of the heartbeat message more than second line
Card sends the frequency of first OAM message, so that the first line card can be prior to the opposite end in link
The network equipment perceives the failure of line card, so that link will not be triggered because of line card failure by being further ensured that
Switch.
In one implementation, judge whether to receive the heart that second line card is sent in first line card
Before jump message, at least two line cards of the controller in the network equipment in the network equipment
First line card is determined, the controller installs the first OAM examples on first line card,
And the 2nd OAM examples are installed on second line card, the controller indicates second line card
Heartbeat message is sent to first line card.
In another realization, the first OAM is installed on first line card in the controller real
After example, the controller indicates that first line card goes to enable and sends OAM message.
In another realization, in addition to:The controller, which detects, newly inserts the net for dilatation
The line card of network equipment simultaneously controls the line card of the new insertion network equipment to send the heart to first line card
Jump message.
Brief description of the drawings
, below will be to reality in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
The accompanying drawing used required for applying in example or description of the prior art is briefly described, it should be apparent that, below
Accompanying drawing in description is only some embodiments of the present application, for those of ordinary skill in the art,
On the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the primary link and standby link schematic diagram of setting router in communication network;
Fig. 2 is the structural representation of the network equipment disclosed in the embodiment of the present application;
Fig. 3 carries out the flow chart of OAM switchings for the network equipment disclosed in the embodiment of the present application.
Embodiment
Fig. 2 is the structural representation of the network equipment, including at least two line cards, controller and backboard.Its
In, controller can be provided separately within a printed circuit board, can also be integrated in any one line card
Inside.Or, controller is integrated with inside two line cards, control work(is realized in two controller cooperations
Energy.Controller and line card are connected with backboard.
The network equipment shown in Fig. 2 can be the router shown in Fig. 1, or realize OAM(Operation Administration Maintenance)
The network switch.
The network equipment that Fig. 3 is shown shown in Fig. 2 carries out the process of OAM switchings, comprises the following steps:
S301:Any one line card (being designated as line card 1) of controller in the network device in the network equipment
Upper installation OAM examples 1, OAM examples 1 have OAM parameters 1, and according to OAM parameters 1 to
OAM message 1 is sent on the link of detection.
S302:Standby line card is determined in the line card of controller in the network device in addition to line card 1.For example,
Controller can arbitrarily select a line card as standby line card in remaining line card.
S303:Controller installs OAM examples 2 on standby line card, and indicates that standby line card goes to enable hair
Send OAM message.
Wherein, OAM examples 2 have identical OAM parameters (i.e. OAM ginsengs with OAM examples 1
Number 1), also, OAM examples 2 and OAM examples 1 are for detecting identical link.For example,
If OAM examples 1 are used to detect primary link shown in Fig. 1, OAM examples 2 after bringing into operation,
It is also used for detecting the primary link shown in Fig. 1, i.e., according to the OAM parameters, chain linked to owner road sends OAM
Message 2.
Above-mentioned reference S301, S302 and S303 is not the restriction to order.
S304:Controller indicates that line card 1 sends heartbeat message to standby line card.
S305:Standby line card judges whether to receive the heartbeat message of the transmission of line card 1.If standby line card
The heartbeat message of the transmission of line card 1 is received, continues to determine whether to receive the heartbeat message of the transmission of line card 1,
For example, detecting whether to receive the heartbeat message of the transmission of line card 1 with predetermined period.If standby line card does not have
There is the heartbeat message for receiving the transmission of line card 1, perform S306.
S306:Standby line card sends OAM message 2 according to OAM parameters.
Explanation is needed exist for, because each line card is connected with backboard, even if standby line card
Be not joined directly together with the primary link, can also by backboard to the primary link send OAM message 2.
Controller sets up backup OAM examples on standby line card, and controls line card 1 to be sent to standby line card
Heartbeat message.Therefore, if the failure of line card 1, can not send heartbeat message, so, standby line card
In the case where not receiving heartbeat message, OAM message is sent, so that in 1 failure of line card, as long as
The network equipment can also be communicated with the link at place, then do not interfere with detection of the network equipment to link,
And avoid because of link switchover caused by network equipment failure.
Alternatively, in the present embodiment, the transmission frequency of heartbeat message is more than line card 1 and sends OAM message 1
Frequency, its role is to so that standby line card senses line card 1 prior to the peer network device on link
Failure so that enable OAM examples 2 in time sends OAM message 2 to link.
In actual applications, in order to carry out dilatation to the network equipment, it can insert new in the network device
The annexation of other parts such as backboard and controller in line card, the line card and the network equipment that newly insert
Reference can be made to having the annexation of line card and other parts in the network equipment.Alternatively, for new insertion net
The line card of network equipment, controller is set up thereon before OAM examples, can first control it to standby line card
Heartbeat message is sent, to realize OAM as shown in Figure 3 under failure switching for the line card newly inserted
Journey provides condition.
Fig. 3 sets up standby OAM examples 2 only for the OAM examples 1 on line card 1 and illustrated, and removes
Outside this, the OAM examples on other line cards can also set up other standby OAM on standby line card
Example.Also, controller can select a shared standby line card for multiple line cards, can also select
Multiple standby line cards are respectively that the OAM examples of different line cards provide backup.Two line cards can also be mutual
There is provided to run on OAM instance backups, such as line card 1 and run OAM2 on OAM1, line card 2,
It is OAM1 backup OAM1 ' on line card 2, is OAM2 backups OAM2 ' on line card 1.
Claims (6)
1. a kind of OAM switching methods, it is characterised in that including:
The second line card that the first line card in the network equipment judges whether to receive in the network equipment is sent
Heartbeat message, first line card is provided with the first OAM examples, second line card and runs second
OAM examples, the first OAM examples are identical with the OAM parameters of the 2nd OAM examples,
The first OAM examples are used to detect identical link, second line with the 2nd OAM examples
Card sends the first OAM message according to the OAM parameters, and first line card, which goes to enable, sends OAM
Message;
If first line card is not received by the heartbeat message that second line card is sent, described first
Line card sends the second OAM message according to the OAM parameters.
2. according to the method described in claim 1, it is characterised in that judge whether in first line card
Receive before the heartbeat message that second line card is sent, methods described also includes:
Determined at least two line cards of the controller in the network equipment in the network equipment described
First line card;
The controller installs the first OAM examples on first line card, and in second line
The 2nd OAM examples are installed on card;
The controller indicates that second line card sends the heartbeat message to first line card.
3. method according to claim 1 or 2, it is characterised in that second line card sends institute
The frequency for stating heartbeat message is more than the frequency that second line card sends first OAM message.
4. a kind of network equipment, it is characterised in that including:
At least two line cards;
The first line card at least two line card is provided with the first OAM examples, at least two line
The 2nd OAM examples, the first OAM examples and the 2nd OAM are run on the second line card in card
The OAM parameters of example are identical, and the first OAM examples are used to detect with the 2nd OAM examples
Identical link, the 2nd OAM examples send the first OAM message according to the OAM parameters,
First line card, which goes to enable, sends OAM message;
Second line card is used to send heartbeat message to first line card;
First line card is used to judge whether to receive the heartbeat message, if be not received by described
Heartbeat message, the second OAM message is sent according to the OAM parameters.
5. the network equipment according to claim 4, it is characterised in that also include:
Controller;
The controller is used to determine first line card at least two line card, and described the
The first OAM examples are installed on one line card, and described second is installed on second line card
OAM examples, and indicate that second line card sends the heartbeat message to first line card.
6. the network equipment according to claim 4 or 5, it is characterised in that the second line card hair
The frequency of the heartbeat message is sent to be more than the frequency that second line card sends first OAM message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610181657.1A CN107241267B (en) | 2016-03-28 | 2016-03-28 | OAM switching method and network equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610181657.1A CN107241267B (en) | 2016-03-28 | 2016-03-28 | OAM switching method and network equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107241267A true CN107241267A (en) | 2017-10-10 |
CN107241267B CN107241267B (en) | 2021-02-23 |
Family
ID=59983854
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610181657.1A Active CN107241267B (en) | 2016-03-28 | 2016-03-28 | OAM switching method and network equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107241267B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6647019B1 (en) * | 1998-04-29 | 2003-11-11 | Pmc-Sierra, Inc. | Packet-switch system |
US20060056303A1 (en) * | 2004-09-14 | 2006-03-16 | Aggarwal Amit K | Increased availability on routers through detection of data path failures and subsequent recovery |
CN101179454A (en) * | 2007-12-14 | 2008-05-14 | 华为技术有限公司 | Line card fault locating method and system |
CN101291201A (en) * | 2007-12-05 | 2008-10-22 | 福建星网锐捷网络有限公司 | Heart beat information transmission system and method |
CN101399697A (en) * | 2007-09-30 | 2009-04-01 | 华为技术有限公司 | System and method for automatically protection switching |
US20090213867A1 (en) * | 2008-02-26 | 2009-08-27 | Dileep Kumar Devireddy | Blade router with nat support |
CN101707536A (en) * | 2009-11-25 | 2010-05-12 | 成都市华为赛门铁克科技有限公司 | Fault detection method, line card and main control card |
CN101895437A (en) * | 2010-06-23 | 2010-11-24 | 迈普通信技术股份有限公司 | Method and equipment of distributed bidirectional forwarding detection (BFD) |
CN102185764A (en) * | 2011-04-25 | 2011-09-14 | 中兴通讯股份有限公司 | Method and device for receiving and processing OAM (operation, administration and maintenance) messages in link layer and switch |
CN102780593A (en) * | 2012-07-25 | 2012-11-14 | 中兴通讯股份有限公司 | BFD (Bidirectional Forwarding Detection) protocol-based link detection method and apparatus and network processor |
CN103036716A (en) * | 2012-12-12 | 2013-04-10 | 中兴通讯股份有限公司 | Method and system for link switchover |
CN103684882A (en) * | 2013-12-30 | 2014-03-26 | 华为技术有限公司 | Message transmission method, system and device based on TRUNK technology |
CN104079504A (en) * | 2013-03-28 | 2014-10-01 | 日立金属株式会社 | Network relay device |
-
2016
- 2016-03-28 CN CN201610181657.1A patent/CN107241267B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6647019B1 (en) * | 1998-04-29 | 2003-11-11 | Pmc-Sierra, Inc. | Packet-switch system |
US20060056303A1 (en) * | 2004-09-14 | 2006-03-16 | Aggarwal Amit K | Increased availability on routers through detection of data path failures and subsequent recovery |
CN101399697A (en) * | 2007-09-30 | 2009-04-01 | 华为技术有限公司 | System and method for automatically protection switching |
CN101291201A (en) * | 2007-12-05 | 2008-10-22 | 福建星网锐捷网络有限公司 | Heart beat information transmission system and method |
CN101179454A (en) * | 2007-12-14 | 2008-05-14 | 华为技术有限公司 | Line card fault locating method and system |
US20090213867A1 (en) * | 2008-02-26 | 2009-08-27 | Dileep Kumar Devireddy | Blade router with nat support |
CN101707536A (en) * | 2009-11-25 | 2010-05-12 | 成都市华为赛门铁克科技有限公司 | Fault detection method, line card and main control card |
CN101895437A (en) * | 2010-06-23 | 2010-11-24 | 迈普通信技术股份有限公司 | Method and equipment of distributed bidirectional forwarding detection (BFD) |
CN102185764A (en) * | 2011-04-25 | 2011-09-14 | 中兴通讯股份有限公司 | Method and device for receiving and processing OAM (operation, administration and maintenance) messages in link layer and switch |
CN102780593A (en) * | 2012-07-25 | 2012-11-14 | 中兴通讯股份有限公司 | BFD (Bidirectional Forwarding Detection) protocol-based link detection method and apparatus and network processor |
CN103036716A (en) * | 2012-12-12 | 2013-04-10 | 中兴通讯股份有限公司 | Method and system for link switchover |
CN104079504A (en) * | 2013-03-28 | 2014-10-01 | 日立金属株式会社 | Network relay device |
CN103684882A (en) * | 2013-12-30 | 2014-03-26 | 华为技术有限公司 | Message transmission method, system and device based on TRUNK technology |
Also Published As
Publication number | Publication date |
---|---|
CN107241267B (en) | 2021-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102882704B (en) | Link protection method in the soft reboot escalation process of a kind of ISSU and equipment | |
CN103442035B (en) | A kind of two net hot backup redundancy implementation methods of air traffic control automation system | |
CN103057572B (en) | Control switch method of main machine and standby machine | |
CN104486128B (en) | A kind of system and method for realizing redundancy heartbeat between dual controller node | |
WO2016095344A1 (en) | Link switching method and device, and line card | |
CN102281178A (en) | Ring network link redundancy control system and control method thereof | |
CN104317679B (en) | A kind of SCADA system is based on the communication fault-tolerance method of thread redundancy | |
CN106533736A (en) | Network device reboot method and apparatus | |
CN102621432A (en) | Method for automatically testing single board of protective relay device | |
CN102307368B (en) | Method and system for switching ring network wireless device | |
CN107948063B (en) | Method for establishing aggregation link and access equipment | |
CN102104531A (en) | Message processing device, method and system | |
CN101267392A (en) | A realizing method for notifying downstream device in case of switch of uplink link status | |
CN104580744B (en) | The control method of terminal, the control device of terminal and terminal | |
CN109981353B (en) | Method and system for protecting adjacent station redundancy in frame type network communication equipment | |
CN104125089A (en) | Network transaction control method and execution method, and network controller and forwarding equipment | |
CN109905279A (en) | Communication means and device, storage medium, electronic device | |
CN112615728B (en) | Simulation system master-slave switching method based on railway safety communication protocol | |
CN111698157B (en) | Link management method, board card and switch | |
CN113114551A (en) | Dual-redundancy LIN bus communication device | |
CN103516458A (en) | Communications apparatus, system and method with error mitigation | |
CN107241267A (en) | A kind of OAM switching methods and the network equipment | |
JP2011136632A (en) | Railway security system | |
CN104301145B (en) | The network equipment and the control serial ports collocation method for the network equipment | |
CN102843265B (en) | Not resetting without the hot standby dual link method of perturbation of a kind of communication protocol |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |