CN106788921A - Many CPE redundant links system and methods - Google Patents

Many CPE redundant links system and methods Download PDF

Info

Publication number
CN106788921A
CN106788921A CN201611050932.2A CN201611050932A CN106788921A CN 106788921 A CN106788921 A CN 106788921A CN 201611050932 A CN201611050932 A CN 201611050932A CN 106788921 A CN106788921 A CN 106788921A
Authority
CN
China
Prior art keywords
signal tunnel
cpe1
priority
tunnel
cpe2
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
Application number
CN201611050932.2A
Other languages
Chinese (zh)
Other versions
CN106788921B (en
Inventor
杨宾和
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Shanghai Huawei Technologies Co Ltd
Original Assignee
Shanghai Huawei Technologies Co Ltd
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 Shanghai Huawei Technologies Co Ltd filed Critical Shanghai Huawei Technologies Co Ltd
Priority to CN201611050932.2A priority Critical patent/CN106788921B/en
Publication of CN106788921A publication Critical patent/CN106788921A/en
Application granted granted Critical
Publication of CN106788921B publication Critical patent/CN106788921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of many CPE redundant links systems, for saving equipment cost.Embodiment of the present invention system includes:Two-layer equipment, the first customer terminal equipment CPE1, the second customer terminal equipment CPE2 and routing device;Two-layer equipment connects the lan interfaces of CPE1 and CPE2 by Virtual Router Redundacy Protocol VRRP;CPE1 forms the first signal tunnel by the first Wide Area Network interface connection route equipment;CPE2 forms secondary signal tunnel by the second Wide Area Network interface connection route equipment;CPE1 is used to set first priority of the CPE1 in VRRP;CPE2 is used to set second priority of the CPE2 in VRRP, and the second priority is less than the first priority;Routing device is used to set the corresponding Metric1 in the first signal tunnel, and the corresponding Metric2 in secondary signal tunnel, Metric1 are more than Metric2;First signal tunnel is used to transmit up direction message and down direction message;Secondary signal tunnel is used to, when the first signal tunnel is disabled, transmit up direction message and down direction message.

Description

Many CPE redundant links system and methods
Technical field
The present invention relates to the communications field, more particularly to many CPE redundant links system and methods.
Background technology
Wireless client terminal equipment (CPE, Customer Premise Equipment) receives industrial chain as access device Restriction, its reliability is difficult to reach carrier class requirement, is the weak link of reliability.Under irredundant link scenario, CPE once events Carrying business will be caused unavailable after barrier.Therefore, the scene high for network reliability requirement, it is desirable to provide the radio chains of redundancy Road.
The redundant link that prior art is provided is as shown in figure 1, the three-layer equipment (three-tier switch/route based on cpe side Device) and core network in router between set up redundant link.
Because CPE is mass access equipment, and cpe side deployment three-layer equipment is too high in the equipment cost of scale networking, from And cause this scheme not commercially available.
The content of the invention
Many CPE redundant links system and methods are the embodiment of the invention provides, for saving equipment cost.
In view of this, the first aspect of the embodiment of the present invention provides a kind of many CPE redundant links systems, the system bag Include:Two-layer equipment, CPE1, CPE2 and routing device;
Two-layer equipment connects the lan interfaces of CPE1 and CPE2 by VRRP;
CPE1 forms the first signal tunnel by the first Wide Area Network interface connection route equipment;
CPE2 forms secondary signal tunnel by the second Wide Area Network interface connection route equipment;
CPE1 is used to set first priority of the CPE1 in VRRP;
CPE2 is used to set second priority of the CPE2 in VRRP, and the second priority is less than the first priority;
Routing device is used to set the corresponding first via in the first signal tunnel by spending Metric1, and secondary signal tunnel pair Secondary route the degree Metric2, Metric1 for answering are more than Metric2;
First signal tunnel is used to transmit up direction message and down direction message;
Secondary signal tunnel is used to, when the first signal tunnel is disabled, transmit up direction message and down direction report Text.
It should be understood that Metric is the measurement criteria of the optimal path that determination is arrived at, path length can be included, or Bandwidth, or load, or the other specification such as communication cost.
Many CPE redundant links systems provided in an embodiment of the present invention, are connected using two-layer equipment with CPE, are correspondingly set up The first signal tunnel of CPE1 and routing device, CPE2 and the secondary signal tunnel of routing device, correspondingly set CPE1 and exist The first priority in VRRP, second priority of the CPE2 in VRRP, the second priority is less than the first priority, on causing The message acquiescence of line direction is forwarded in CPE1, is then forwarded in CPE2 during failure;It is corresponding that first signal tunnel is set The first via is more than Metric2 by degree Metric1, and the corresponding secondary route degree Metric2 in secondary signal tunnel, Metric1, makes The message acquiescence for obtaining down direction is forwarded to the first signal tunnel, and secondary signal tunnel is then forwarded to during failure.This programme Many CPE redundant links can be set up using two-layer equipment, relative to many CPE redundant links based on three-layer equipment, can saved Equipment cost.
With reference to the embodiment of the present invention in a first aspect, in the first implementation of embodiment of the present invention first aspect, CPE1 is additionally operable to, when the first signal tunnel fails are detected, change the first priority, and amended first priority is low In the second priority;
Routing device is additionally operable to, when the first signal tunnel fails are detected, disable the first signal tunnel.
A kind of first signal tunnel is the embodiment of the invention provides disabled, by the tool of secondary signal tunnel transmission message Body mode, improves the realizability of scheme.
With reference to the first implementation of embodiment of the present invention first aspect, the second of embodiment of the present invention first aspect Plant in implementation, CPE1 is additionally operable to, when the fault restoration in the first signal tunnel is detected, recover the first priority, after recovery The first priority be higher than the second priority;
Routing device is additionally operable to, when the fault restoration in the first signal tunnel is detected, enable the first signal tunnel.
During the embodiment of the present invention is carried, after the fault restoration in the first signal tunnel, can recover to be passed using the first signal tunnel Defeated message, improves the flexibility of scheme.
With reference to the embodiment of the present invention in a first aspect, in the third implementation of embodiment of the present invention first aspect, CPE1 is additionally operable to, when the lan interfaces for detecting CPE1 disconnect, disable the detection of connectivity in the first signal tunnel;
Routing device is additionally operable to, when the detection of connectivity for detecting the first signal tunnel is disabled, disable the first signal tunnel Road.
The embodiment of the invention provides another first signal tunnel it is disabled when, by secondary signal tunnel transmission message Concrete mode, improve the flexibility of scheme.
With reference to the third implementation of first aspect present invention, in the 4th kind of realization of embodiment of the present invention first aspect In mode, CPE1 is additionally operable to, when the lan interfaces for detecting CPE1 recover connection, enable the connectedness in the first signal tunnel Detection;
Routing device is additionally operable to, when the detection of connectivity for detecting the first signal tunnel is enabled, enable the first signal tunnel Road.
In the embodiment of the present invention, after the lan interfaces of CPE1 recover connection, can recover to enter using the first signal tunnel Row message transmissions, improve the flexibility of scheme.
With reference to the embodiment of the present invention in a first aspect, in the 5th kind of implementation of embodiment of the present invention first aspect, System also includes:Second customer terminal equipment CPE3;
Two-layer equipment connects the lan interfaces of CPE3 by VRRP;
CPE3 forms the 3rd signal tunnel by the 3rd Wide Area Network interface connection route equipment;
CPE3 is used to set third priorities of the CPE3 in VRRP, and third priority is excellent less than the first priority and second First level;
Routing device is additionally operable to set the corresponding 3rd route degree Metric3 in the 3rd signal tunnel, and Metric3 is less than Metric2;
3rd signal tunnel is used to, when the first signal tunnel and disabled secondary signal tunnel, transmit up direction report Text and down direction message.
Redundant link system also includes that CPE3, CPE3 form the 3rd signal tunnel with routing device in the embodiment of the present invention, When the corresponding signal tunnels of CPE1 and CPE2 are disabled, message transmissions can be carried out by the 3rd signal tunnel, improve The reliability of scheme.
The second aspect of the embodiment of the present invention provides a kind of many CPE redundant links systems, and the system includes:Two layers set It is standby, CPE1, CPE2 and routing device;
Two-layer equipment connects the lan interfaces of CPE1 and CPE2, VRRP1 by the first Virtual Router Redundacy Protocol VRRP1 It is corresponding with the first data flow;
Two-layer equipment connects the lan interfaces of CPE1 and CPE2, VRRP2 by the second Virtual Router Redundacy Protocol VRRP2 It is corresponding with the second data flow;
CPE1 forms the first signal tunnel by the first Wide Area Network interface connection route equipment;
CPE2 forms secondary signal tunnel by the second Wide Area Network interface connection route equipment;
CPE1 is used to set first priority of the CPE1 in VRRP1, and second priority of the CPE1 in VRRP2;
CPE2 is used to set third priorities of the CPE2 in VRRP2, and fourth priority of the CPE2 in VRRP2, the Three priority are less than the first priority, and the 4th priority is higher than the second priority;
Routing device is used to set the first data flow corresponding Metric1 in the first signal tunnel, and the first data flow exists Corresponding Metric2 in secondary signal tunnel, the second data flow numbers of corresponding Metric3 and second in the first signal tunnel According to the corresponding Metric4 in secondary signal tunnel is flowed, Metric1 is more than Metric2, and Metric3 is less than Metric4;
First signal tunnel is used to transmit the first data flow of up direction and the first data flow of down direction;
Secondary signal tunnel is used to transmit the second data flow of up direction and the second data flow of down direction.
Many CPE redundant links systems provided in an embodiment of the present invention can realize the shunting transmission to data flow, rationally profit With the CPE of redundancy, efficiency of transmission is improved.
With reference to the second aspect of the embodiment of the present invention, in the first implementation of embodiment of the present invention second aspect, First signal tunnel is additionally operable to be transmitted when secondary signal tunnel is disabled second data flow and down direction of up direction The second data flow;
Secondary signal tunnel is additionally operable to when the first signal tunnel is disabled, transmit down direction the first data flow and First data flow of up direction.
In the embodiment of the present invention, when the first signal tunnel is disabled, can be by the data of secondary signal tunnel transmission first Stream, when secondary signal tunnel is disabled, can reasonably make use of tunnel to provide by first the second data flow of signal tunnel transmission Source, improves the reliability of scheme.
The embodiment of the present invention third aspect provides a kind of many CPE redundant links transmission methods, and the method includes:It is each first Individual equipment is set up by interface and connected, and specifically, CPE1 sets up the first signal tunnel by the first Wide Area Network interface and routing device Road, CPE2 sets up secondary signal tunnel by the second Wide Area Network interface and routing device, two-layer equipment by VRRP and CPE1 and CPE2 sets up connection;Then related setting is carried out to each equipment, specifically, it is first preferential in VRRP that CPE1 sets CPE1 Level, CPE2 sets second priority of the CPE2 in VRRP, and the second priority is less than the first priority, and routing device sets first The corresponding Metric1 in signal tunnel and the corresponding Metric2 in secondary signal tunnel, Metric2 are more than Metric1.Based on upper Setting is stated, CPE1 is transmitted by the first signal tunnel to up direction message and down direction message, when CPE1 passes through When first signal tunnel is disabled, CPE2 is passed by secondary signal tunnel to up direction message and down direction message It is defeated.
Many CPE redundant links transmission methods provided in an embodiment of the present invention, are connected, correspondingly using two-layer equipment with CPE The first signal tunnel of CPE1 and routing device, CPE2 and the secondary signal tunnel of routing device are set up, CPE1 is correspondingly set The first priority in VRRP, second priority of the CPE2 in VRRP, the second priority is less than the first priority, to cause The message acquiescence of up direction is forwarded in CPE1, is then forwarded in CPE2 during failure;First signal tunnel correspondence is set The first via by spend Metric1, and the corresponding secondary route degree Metric2 in secondary signal tunnel, Metric1 be more than Metric2, So that the message acquiescence of down direction is forwarded to the first signal tunnel, secondary signal tunnel is then forwarded to during failure.We Case can set up many CPE redundant links using two-layer equipment, relative to many CPE redundant links based on three-layer equipment, Neng Goujie About equipment cost.
With reference to the third aspect of the embodiment of the present invention, in the first implementation of the embodiment of the present invention third aspect, Before CPE2 is transmitted by secondary signal tunnel to up direction message and down direction message, the first signal tunnel hair Raw failure, when routing device detects the failure, routing device disables the first signal tunnel, when CPE1 detects the failure When, CPE1 changes the first priority so that amended first priority is less than the second priority.
The embodiment of the invention provides a kind of first signal tunnel disabled, message transmissions are carried out by secondary signal tunnel Specific implementation, improve the realizability of scheme.
With reference to the first implementation of the embodiment of the present invention third aspect, the second of the embodiment of the present invention third aspect In kind implementation, after CPE2 is transmitted by secondary signal tunnel to up direction message and down direction message, The failure in the first signal tunnel is repaired, and when CPE1 detects the fault restoration, CPE1 recovers first priority, after recovery The first priority be higher than the second priority, when routing device detects the fault restoration, routing device enables the first signal Tunnel.
After the embodiment of the invention provides a kind of first signal Segment rehabilitation, recovery carries out message using the first signal tunnel The specific implementation of transmission, improves the realizability of scheme.
With reference to the third aspect of the embodiment of the present invention, in the third implementation of the embodiment of the present invention third aspect, Before CPE2 is transmitted by secondary signal tunnel to up direction message and down direction message, CPE1 and two-layer equipment Between connection disconnect, when CPE1 detects the connection to be disconnected, CPE1 disables the detection of connectivity in the first signal tunnel, when the When the detection of connectivity in one signal tunnel is disabled, routing device disables the first signal tunnel.
The embodiment of the invention provides another first signal tunnel disabled, message biography is carried out by secondary signal tunnel Defeated specific implementation, improves the flexibility of scheme.
With reference to the third implementation of third aspect present invention, in the 4th kind of realization of the embodiment of the present invention third aspect In mode, after CPE2 is transmitted by secondary signal tunnel to up direction message and down direction message, CPE1 with Connection between two-layer equipment recovers, and when the connection that CPE1 is detected between CPE1 and two-layer equipment recovers, CPE1 enables the The detection of connectivity in one signal tunnel, when the detection of connectivity that routing device detects the first signal tunnel is enabled, enables One signal tunnel.
After the embodiment of the invention provides a kind of connection recovery, recovery carries out the tool of message transmissions using the first signal tunnel Body implementation, improves the flexibility of scheme.
With reference to the third aspect of the embodiment of the present invention, in the 5th kind of implementation of the embodiment of the present invention third aspect, The method also includes:
CPE3 sets up the 3rd signal tunnel by the 3rd Wide Area Network interface and routing device, and is set up and two layers by VRRP Connection between equipment;CPE3 sets third priorities of the CPE3 in VRRP, and third priority is less than the first priority and the Two priority;Routing device sets the corresponding 3rd route degree Metric3 in the 3rd signal tunnel, and Metric3 is less than Metric2; When it is determined that when the first signal tunnel and disabled secondary signal tunnel, CPE3 is by the 3rd signal tunnel to up direction message And down direction message is transmitted.
Many CPE redundant links methods provided in an embodiment of the present invention have also accessed CPE3, establish the 3rd signal tunnel, energy At the first signal tunnel and disabled secondary signal tunnel, up-downlink direction message is transmitted, improves scheme Stability.
The fourth aspect of the embodiment of the present invention provides a kind of many CPE redundant links transmission methods, and the method includes:First Each equipment is set up by interface and connected, and specifically, CPE1 sets up the first signal by the first Wide Area Network interface and routing device Tunnel, CPE2 sets up secondary signal tunnel by the second Wide Area Network interface and routing device, two-layer equipment by VRRP1 build with The first connection between CPE1 and CPE2, is set up and the second connection between CPE1 and CPE2 by VRRP2;Then each equipment Related setting is carried out, specifically, CPE1 sets first priority of the CPE1 in VRRP1, and CPE1 second excellent in VRRP2 First level, CPE2 sets third priorities of the CPE2 in VRRP1, and fourth priority of the CPE2 in VRRP2, third priority Less than the first priority, the 4th priority is higher than the second priority;Routing device sets the first data flow in the first signal tunnel In the corresponding first via by spend Metric1, the first data flow corresponding secondary route degree Metric2 in secondary signal tunnel, Second data flow in the first signal tunnel corresponding 3rd route degree Metric3 and the second data flow in secondary signal tunnel In corresponding 4th route degree Metric4, Metric1 be more than Metric2, Metric3 be less than Metric4;Based on above-mentioned setting Carry out data transmission, specifically, CPE1 is by the first signal tunnel to the of the first data flow of up direction and down direction One data flow is transmitted;CPE2 is by secondary signal tunnel to the second data flow of up direction and the second number of down direction It is transmitted according to stream.
Many CPE redundant links transmission methods provided in an embodiment of the present invention can realize the shunting to data, be passed with CPE1 Defeated first data flow, CPE2 transmits the second data flow, reasonably make use of each CPE, improves data transmission efficiency.
With reference to the fourth aspect of the embodiment of the present invention, in the first implementation of embodiment of the present invention fourth aspect, The method also includes:When it is determined that secondary signal tunnel is disabled, CPE1 is by the first signal tunnel to the second of up direction Second data flow of data flow and down direction is transmitted;When it is determined that the first signal tunnel is disabled, CPE2 is by the Binary signal tunnel is transmitted to the first data flow of down direction and the first data flow of up direction.
The embodiment of the present invention can be when the first signal tunnel be disabled, by the data of secondary signal tunnel transmission first Stream, when secondary signal tunnel is disabled, by first the second data flow of signal tunnel transmission, improves the reliability of scheme.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
Many CPE redundant links systems provided in an embodiment of the present invention, are connected using two-layer equipment with CPE, are correspondingly set up The first signal tunnel of CPE1 and routing device, CPE2 and the secondary signal tunnel of routing device, correspondingly set CPE1 and exist The first priority in VRRP, second priority of the CPE2 in VRRP, the second priority is less than the first priority, on causing The message acquiescence of line direction is forwarded in CPE1, is then forwarded in CPE2 during failure;It is corresponding that first signal tunnel is set The first via is more than Metric2 by degree Metric1, and the corresponding secondary route degree Metric2 in secondary signal tunnel, Metric1, makes The message acquiescence for obtaining down direction is forwarded to the first signal tunnel, and secondary signal tunnel is then forwarded to during failure.This programme Many CPE redundant links can be set up using two-layer equipment, relative to many CPE redundant links based on three-layer equipment, can saved Equipment cost.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will use needed for embodiment description Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention.
Fig. 1 is one embodiment schematic diagram of many CPE redundant links systems in the prior art;
Fig. 2 is one embodiment schematic diagram of many CPE redundant links systems in the embodiment of the present invention;
Fig. 3 is the schematic diagram of the first signal tunnel fails of many CPE redundant links systems in the embodiment of the present invention;
Fig. 4 is the schematic diagram that breaks down of CPE1 access link of many CPE redundant links systems in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of many CPE redundant links systems in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of many CPE redundant links systems in the embodiment of the present invention;
Fig. 7 is one embodiment flow chart of many CPE redundant links transmission methods in the embodiment of the present invention;
Fig. 8 is another embodiment flow chart of many CPE redundant links transmission methods in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.
Term " first ", " second ", " the 3rd " " in description and claims of this specification and above-mentioned accompanying drawing Four " etc. (if present) is for distinguishing similar object, without for describing specific order or precedence.Should manage Solution so data for using can be exchanged in the appropriate case, so that embodiments of the invention described herein for example can be removing Order beyond those for illustrating herein or describing is implemented.Additionally, term " comprising " and " having " and theirs is any Deformation, it is intended that covering is non-exclusive to be included, for example, containing process, method, system, the product of series of steps or unit Product or equipment are not necessarily limited to those steps clearly listed or unit, but may include not list clearly or for this A little processes, method, product or other intrinsic steps of equipment or unit.
It should be understood that the technical scheme of the embodiment of the present invention can apply to various communication systems, for example:Global system for mobile telecommunications (Global System of Mobile communication, GSM) system, CDMA (Code Division Multiple Access, CDMA) system, WCDMA (Wideband Code Division Multiple Access, WCDMA) system, GPRS (General Packet Radio Service, GPRS), drill for a long time Enter (Long Term Evolution, LTE) system, LTE FDDs (Frequency Division Duplex, FDD) system System, LTE time division duplexs (Time Division Duplex, TDD), UMTS (Universal Mobile Telecommunication System, UMTS) or global interconnection inserting of microwave (Worldwide Interoperability For Microwave Access, WiMAX) communication system etc..
It should be understood that the base station (BS, Base Station) in the embodiment of the present invention can be the base station in GSM or CDMA (English full name:Base Transceiver Station, english abbreviation:BTS the base station), or in WCDMA (NodeB), can also be evolved base station (the English full name in LTE:Evolved Node B, english abbreviation:ENB or e- NodeB), the embodiment of the present invention is not limited.
It should be understood that the terminal in the embodiment of the present invention includes but is not limited to user equipment (English full name:User Equipment, English abbreviation:UE), mobile station (English full name:Mobile Station, English abbreviation:MS), mobile terminal (Mobile Terminal), mobile phone (Mobile Telephone), mobile phone (handset) and portable equipment (portable Equipment) etc., the user equipment can be through wireless access network (English full name:Radio Access Network, English letter Claim:RAN) communicated with one or more core nets, for example, terminal can be mobile phone (or being " honeycomb " phone), Computer with radio communication function etc., user equipment can also be portable, pocket, hand-held, built-in computer Or vehicle-mounted mobile device.
For the ease of understanding the embodiment of the present invention, below to the present embodiments relate to some nouns be introduced:
Back haul link (backhaul), also referred to as signal tunnel, are a configurations, and signaling is a net in signal tunnel Another WMG is closed by a transmitting for packet switching network, this gateway is not required to be appreciated that and explains this Signaling information.In wireless technology, backhaul refers to being transmitted from information source website to interchanger the function of voice and data traffic.
Route degree (Metric), refers to the variate-value obtained after routing protocol algorithm completes to calculate, such as network Postpone, its purpose is to determine Optimization route.Metric is the meter that routing algorithm is used to determine the optimal path for arriving at Amount standard, such as path length.Also wrong rate, routing delay, bandwidth, load, communication cost etc. can be as optimal paths Measurement criteria, can be used as Metric.
Two-layer equipment, the equipment for referring to operational data link layer.Layer 2 switch can be with the ground of the MAC in identification data bag Location information, is forwarded according to MAC Address, and these MAC Address and corresponding port are recorded on oneself an internal ground In the table of location.
The many CPE redundant links systems in the embodiment of the present invention are first introduced below, Fig. 2 are referred to, in the embodiment of the present invention One embodiment of many CPE redundant links systems includes:Two-layer equipment 201, the first customer terminal equipment 202, second client's end End equipment 203 and routing device 204;
Wherein, two-layer equipment 201 passes through Virtual Router Redundacy Protocol (VRRP, Virtual Router Redundancy Protocol) the lan interfaces of the first customer terminal equipment 202 of connection and the second customer terminal equipment 203;
First customer terminal equipment 202 forms the first signal tunnel by the first Wide Area Network interface connection route equipment 204 Road;
Second customer terminal equipment 203 is by the second Wide Area Network interface connection route equipment 204, shape secondary signal tunnel Road;
First customer terminal equipment 202 is used to set first priority of first customer terminal equipment 202 in the VRRP;
Second customer terminal equipment 203 is used to set second priority of second customer terminal equipment 203 in the VRRP, Second priority is less than the first priority;
Routing device 204 is used to set the corresponding first via in the first signal tunnel by spending Metric1, and secondary signal tunnel Corresponding secondary route degree Metric2, Metric1 are more than Metric2;
Based on above-mentioned setting, because the priority of the first customer terminal equipment 202 is higher than the second customer terminal equipment 203 Priority, therefore two customer terminal equipments are in the competition of VRRP, the first customer terminal equipment 202 is preferential get virtual network it Between interconnect agreement (IP, Internet Protocol), as gateway.Therefore the first customer terminal equipment is used as primary CPE, Second customer terminal equipment is used as standby CPE.After two-layer equipment 201 receives up direction message, acquiescence is by the up side Primary CPE is forwarded to message, i.e., by the first signal tunnel transmission up direction message;When the first signal tunnel is disabled When, then after two-layer equipment 201 receives up direction message, the up direction message is forwarded to standby CPE, i.e., by second The signal tunnel transmission up direction message;
Based on above-mentioned setting, secondary signal tunnel is more than by spending Metric1 due to the corresponding first via in the first signal tunnel The objective network set in corresponding secondary route degree Metric2, i.e. routing device 204 is better than to the path in the first signal tunnel , to the path in secondary signal tunnel, therefore after routing device 204 receives down direction message, acquiescence should for the objective network Up direction message is forwarded to the first signal tunnel, and when the first signal tunnel is disabled, routing device 204 receives up side After to message, the up direction message is forwarded to secondary signal tunnel.
Many CPE redundant links systems provided in an embodiment of the present invention, are connected using two-layer equipment with CPE, are correspondingly set up The first signal tunnel of CPE1 and routing device, CPE2 and the secondary signal tunnel of routing device, correspondingly set CPE1 and exist The first priority in VRRP, second priority of the CPE2 in VRRP, the second priority is less than the first priority, on causing The message acquiescence of line direction is forwarded in CPE1, is then forwarded in CPE2 during failure;It is corresponding that first signal tunnel is set The first via is more than Metric2 by degree Metric1, and the corresponding secondary route degree Metric2 in secondary signal tunnel, Metric1, makes The message acquiescence for obtaining down direction is forwarded to the first signal tunnel, and secondary signal tunnel is then forwarded to during failure.This programme Many CPE redundant links can be set up using two-layer equipment, relative to many CPE redundant links based on three-layer equipment, can saved Equipment cost.
Based on the corresponding embodiments of above-mentioned Fig. 2, the factor for causing the first signal tunnel disabled in practical application has a lot, It is described in detail to wherein several below.
First, the first signal tunnel fails.
On the basis of Fig. 2, Fig. 3 is referred to, event occurs when the first customer terminal equipment 202 detects the first signal tunnel During barrier, i.e., when the first signal tunnel is unavailable, the first customer terminal equipment 202 changes first priority so that amended First priority is less than the second priority, that is, cause that priority of first customer terminal equipment 202 in the VRRP is less than second , in the VRRP whole priority, now, two customer terminal equipments are in the competition of VRRP, and second is objective for customer terminal equipment 203 Family terminal device 203 gets virtual IP address, and as gateway, up direction message is forwarded to the second client terminal by two-layer equipment 201 Equipment 203, by the secondary signal tunnel transmission up direction message.And work as routing device 204 and detect the first signal tunnel Break down, i.e., when the first signal tunnel is unavailable, by the first signal tunnel disabling, now, routing device 204 will be received Down direction message be forwarded to secondary signal tunnel, be transmitted by secondary signal tunnel.
Further, when the failure in above-mentioned Fig. 3 correspondence embodiments is repaired, the first customer terminal equipment 202 is also used In when the fault restoration in the first signal tunnel is detected, that is, detect the first signal tunnel it is available when, recover this first preferential Level, the first priority after recovery is higher than second priority, now, two customer terminal equipments in the competition of VRRP, the One customer terminal equipment 202 is robbed and accounts for virtual IP address, as gateway, the up direction message forwarding that two-layer equipment 201 will be received To in the first customer terminal equipment 202, by the first signal tunnel transmission up direction message.And work as routing device 204 and examine When measuring the fault restoration, that is, detect the first signal tunnel it is available when, routing device 204 enables the first signal tunnel, now, The down direction message that routing device 204 will be received is forwarded to the first signal tunnel, is transmitted by the first signal tunnel.
The embodiment of the invention provides a kind of first signal tunnel it is disabled when, by the up side of secondary signal tunnel transmission To message and the concrete mode of down direction message, the realizability of scheme is improve.
2nd, access link breaks down.
On the basis of Fig. 2, Fig. 4 is referred to, when the first customer terminal equipment 202 detects the first customer terminal equipment When 202 lan interfaces disconnect, that is, when detecting access link and breaking down, the disabling of the first customer terminal equipment 202 first The detection of connectivity in signal tunnel, now, only has the second customer terminal equipment 203, therefore the second customer terminal equipment in VRRP 203 rob and account for virtual IP address as gateway, and the up direction message that two-layer equipment 201 will be received is forwarded to the second client terminal and sets In standby 203, by the secondary signal tunnel transmission up direction message.And work as routing device 204 and detect the first signal tunnel Detection of connectivity it is disabled when, routing device 204 disables the first signal tunnel, and now, routing device 204 will be received Down direction message is forwarded to secondary signal tunnel, is transmitted by secondary signal tunnel.
Further, when the failure in above-mentioned Fig. 4 correspondence embodiments is repaired, the first customer terminal equipment 202 is also used In when the lan interfaces for detecting the first customer terminal equipment 202 recover connection, the connectedness in the first signal tunnel is enabled Detection, now, two customer terminal equipments in the competition of VRRP, rob and account for virtual IP address, turns into by the first customer terminal equipment 202 Gateway, the up direction message that two-layer equipment 201 will be received is forwarded in the first customer terminal equipment 202, by the first letter Number tunnel transmission up direction message.And when the detection of connectivity that routing device 204 detects the first signal tunnel is enabled, Routing device 204 enables the first signal tunnel, and now, the down direction message that routing device 204 will be received is forwarded to first Signal tunnel, is transmitted by the first signal tunnel.
The embodiment of the invention provides another first signal tunnel it is disabled when, it is up by secondary signal tunnel transmission The concrete mode of direction message and down direction message, improves the flexibility of scheme.
In the corresponding embodiment of above-mentioned Fig. 2, redundant link system includes a primary CPE, a standby CPE, and in reality In order to improve reliability in the application of border, redundant link system can include multiple standby CPE, below with comprising two standby CPE Redundant link system as a example by be introduced, refer to Fig. 5, another reality in many CPE redundant links systems of the embodiment of the present invention Applying example includes:Two-layer equipment 501, the first customer terminal equipment 502, the second customer terminal equipment 503, the 3rd customer terminal equipment 504 and routing device 505;
Wherein, two-layer equipment 501 by VRRP connect the first customer terminal equipment 502, the second customer terminal equipment 503 with And the 3rd customer terminal equipment 504 lan interfaces;
First customer terminal equipment 502 forms the first signal tunnel by the first Wide Area Network interface connection route equipment 505 Road;
Second customer terminal equipment 503 is by the second Wide Area Network interface connection route equipment 505, shape secondary signal tunnel Road;
3rd customer terminal equipment 504 forms the 3rd signal tunnel by the 3rd Wide Area Network interface connection route equipment 505 Road;
First customer terminal equipment 502 is used to set first priority of first customer terminal equipment 502 in the VRRP;
Second customer terminal equipment 503 is used to set second priority of second customer terminal equipment 503 in the VRRP, Second priority is less than the first priority;
3rd customer terminal equipment 504 is used to set third priority of the 3rd customer terminal equipment 504 in the VRRP, Third priority is less than the first priority and the second priority;
Routing device 505 is used to set the corresponding first via in the first signal tunnel by spending Metric1, secondary signal tunnel pair The secondary route degree Metric2 for answering, and the corresponding 3rd route degree Metric3 in the 3rd signal tunnel, Metric1>Metric2> Metric3;
Based on above-mentioned setting, because the priority of the first customer terminal equipment 502 is higher than the second customer terminal equipment 503 Priority, and the priority of the second customer terminal equipment 503 is higher than the priority of the 3rd customer terminal equipment 504, therefore three visitors In the competition of VRRP, the first customer terminal equipment 502 preferentially gets the agreement interconnected between virtual network to family terminal device (IP, Internet Protocol), as gateway.Therefore the first customer terminal equipment is used as primary CPE, the second client terminal Equipment selects standby CPE as first-selected standby CPE, the 3rd customer terminal equipment as secondary.I.e. when two-layer equipment 501 receive it is up After the message of direction, the up direction message is forwarded to the first customer terminal equipment 502 by acquiescence, i.e., passed by the first signal tunnel The defeated up direction message;When the first signal tunnel is disabled, then after two-layer equipment 501 receives up direction message, will The up direction message is forwarded to the second customer terminal equipment 503, i.e., by the secondary signal tunnel transmission up direction message; When the first signal tunnel and disabled secondary signal tunnel, then after two-layer equipment 501 receives up direction message, by this Up direction message is forwarded to the 3rd customer terminal equipment 504, i.e., by the 3rd signal tunnel transmission up direction message.
Based on above-mentioned setting, secondary signal tunnel is more than by spending Metric1 due to the corresponding first via in the first signal tunnel Corresponding secondary route degree Metric2, and the corresponding secondary route degree Metric2 in secondary signal tunnel is more than the 3rd signal tunnel Corresponding 3rd route degree Metric3.The objective network set i.e. in routing device 504 is better than to the path in the first signal tunnel To the path in secondary signal tunnel, the path of the objective network of setting to secondary signal tunnel is better than the target network to the objective network Path of the network to the 3rd signal tunnel.Therefore after routing device 505 receives down direction message, give tacit consent to the up direction Message is forwarded to the first signal tunnel;When the first signal tunnel is disabled, routing device 505 receives up direction message Afterwards, the up direction message is forwarded to secondary signal tunnel;When the first signal tunnel and disabled secondary signal tunnel, The up direction message that routing device 505 will be received is forwarded to the 3rd signal tunnel.
Many CPE redundant links systems in the embodiment of the present invention include three CPE, and when existing, two CPE are unavailable When, system can also be transmitted by the 3rd CPE, improve the reliability of scheme.
The embodiment of the present invention additionally provides another many CPE redundant links systems, can be common by two or more CPE Same share loads, refer to Fig. 6, and another embodiment of many CPE redundant links systems includes in the embodiment of the present invention:Two-layer equipment 601, the first customer terminal equipment 602, the second customer terminal equipment 603, and routing device 604;
Two-layer equipment 601 connects the first customer terminal equipment 602 and the second client by the first virtual redundancy agreement VRRP1 The lan interfaces of terminal device 603, the first data flow of VRRP1 correspondences is 1.;
Two-layer equipment 602 connects the second customer terminal equipment 603 and the second client by the second virtual redundancy agreement VRRP2 The lan interfaces of terminal device 603, the second data flow of VRRP2 correspondences is 2.;
First customer terminal equipment 602 forms the first signal tunnel by the first Wide Area Network interface connection route equipment 604 Road;
Second customer terminal equipment 603 forms secondary signal tunnel by the second Wide Area Network interface connection route equipment 604 Road;
First customer terminal equipment 602 is used to set first priority of first customer terminal equipment 602 in VRRP1, And second priority of first customer terminal equipment 602 in VRRP2;
It is the 3rd preferential in VRRP2 that second customer terminal equipment 603 is used for the second customer terminal equipment 603 for setting Level, and fourth priority of second customer terminal equipment 603 in VRRP2, wherein, third priority is preferential less than first Level, the 4th priority is higher than the second priority;
Routing device 604 be used for set the first data flow in the first signal tunnel the corresponding first via by spend Metric1, First data flow corresponding secondary route degree Metric2 in secondary signal tunnel, the second data flow is in the first signal tunnel Corresponding 3rd route degree Metric3 and the second data flow corresponding 4th route degree Metric4 in secondary signal tunnel, Metric1>Metric2, Metric3<Metric4;
Based on above-mentioned setting, because priority of first customer terminal equipment 602 in VRRP1 is higher than the second client terminal The priority of equipment 603, therefore two customer terminal equipments are in the competition of VRRP1, the first customer terminal equipment 602 is preferentially got Virtual IP address turns into gateway, therefore after 1. two-layer equipment 601 receives the first data flow of up direction, and acquiescence is by the up side To the first data flow be 1. forwarded in the first customer terminal equipment 602, i.e., by the first signal tunnel transmission up direction First data flow is 1.;
Because priority of second customer terminal equipment 603 in VRRP2 is preferential higher than the first customer terminal equipment 602 Level, therefore two customer terminal equipments are in the competition of VRRP2, the limited virtual IP address of getting of the second customer terminal equipment turns into gateway, Therefore after 2. two-layer equipment 601 receives the second data flow of up direction, give tacit consent to the second data flow of the up direction 2. it is forwarded in the second customer terminal equipment 603, i.e., by the second data flow of secondary signal tunnel transmission up direction 2.;
Based on above-mentioned setting, because the first data flow is more than in the corresponding first via in the first signal tunnel by spending Metric1 First data flow in the corresponding secondary route degree Metric2 in secondary signal tunnel, i.e., routing device 604 set the first data flow from Objective network is better than the first data flow from objective network to the path in secondary signal tunnel to the path in the first signal tunnel, therefore After 1. routing device 604 receives the first data flow of down direction, 1. acquiescence turns the first data flow of the down direction It is dealt into the first signal tunnel;
Better than the second data flow in the corresponding 3rd route degree Metric3 in the first signal tunnel less than the second data flow the The corresponding 4th route degree Metric4 in binary signal tunnel, i.e. routing device 604 set the second data flow from objective network to second The path in signal tunnel is better than the second data flow from objective network to the path in the first signal tunnel, therefore when routing device 604 After receiving the second data flow of down direction 2., 2. the second data flow of the down direction is forwarded to secondary signal tunnel by acquiescence Road.
Many CPE redundant links systems provided in an embodiment of the present invention, are connected using two-layer equipment with CPE, are correspondingly set up The first signal tunnel of CPE1 and routing device, CPE2 and the secondary signal tunnel of routing device, correspondingly set CPE1 and exist The first priority in VRRP1, the second priority in VRRP2, third priorities of the CPE2 in VRRP1, in VRRP2 The 4th priority, third priority be less than the first priority, the 4th priority be higher than the second priority, with cause up direction The first data flow 1. give tacit consent to and be forwarded in CPE1, the second data flow acquiescence of up direction is forwarded in CPE2, sets first Data flow is 1. corresponding in secondary signal tunnel by spending Metric1, the first data flow in the corresponding first via in the first signal tunnel Secondary route degree Metric2, the second data flow is in the corresponding 3rd route degree Metric3 in the first signal tunnel and the second data flow In the corresponding 4th route degree Metric4 in secondary signal tunnel, Metric1 is more than Metric2, and Metric3 is less than Metric4, So that the first data flow acquiescence of down direction is forwarded to the first signal tunnel, the second data flow acquiescence of down direction is forwarded to Secondary signal tunnel.This programme can set up many CPE redundant links using two-layer equipment, relative to based on many of three-layer equipment CPE redundant links, can save equipment cost.Also, the redundant link in the embodiment of the present invention can be used data distribution CPE1 transmits the first data flow, and the second data flow, the rational CPE using redundancy, promoting transmission rate are transmitted with CPE2.
Based on the corresponding embodiments of above-mentioned Fig. 6, in another reality of many CPE redundant links systems provided in an embodiment of the present invention In applying example, the first signal tunnel be additionally operable to be transmitted when secondary signal tunnel is disabled up direction the second data flow and Second data flow of down direction.
Two kinds of disabled to secondary signal tunnel below situations are illustrated:
First, secondary signal tunnel fails.
When the second customer terminal equipment 603 detects secondary signal tunnel fails, that is, detect secondary signal tunnel When road is unavailable, the second customer terminal equipment 603 changes the 4th priority so that amended 4th priority is less than second Priority, that is, cause that priority of second customer terminal equipment 603 in VRRP2 exists less than the first customer terminal equipment 602 Priority in VRRP2, now, two customer terminal equipments in the competition of VRRP2, get by the first customer terminal equipment 602 Virtual IP address turns into gateway, and the second stream compression of up direction is dealt into the first customer terminal equipment 602 by two-layer equipment 601, leads to Cross the second data flow of the first signal tunnel transmission up direction.And work as routing device 604 and detect the generation of secondary signal tunnel During failure, that is, detect secondary signal tunnel it is unavailable when, by the secondary signal tunnel disabling, now, routing device 604 will connect Second stream compression of the down direction for receiving is dealt into the first signal tunnel, is transmitted by the first signal tunnel.
Further, when the failure in above-mentioned secondary signal tunnel is repaired, the second customer terminal equipment 603 is additionally operable to work as When detecting the fault recovery, that is, detect secondary signal tunnel it is available when, recover the 4th priority, the 4th after recovery is preferential Level is higher than the second priority, and now, two customer terminal equipments in the competition of VRRP2, seize by the second customer terminal equipment 603 Turn into gateway to virtual IP address, the second stream compression of the up direction that two-layer equipment 601 will be received is dealt into the second client terminal In equipment 603, by the second data flow of the secondary signal tunnel transmission up direction.And work as routing device 604 and detect this During fault recovery, that is, detect secondary signal tunnel it is available when, routing device 604 enables secondary signal tunnel, by what is received Second stream compression of down direction is dealt into secondary signal tunnel, is transmitted by secondary signal tunnel.
2nd, the access link of CPE2 breaks down.
When the lan interfaces that the second customer terminal equipment 603 detects the second customer terminal equipment 603 disconnect, that is, examine When measuring access link and breaking down, the detection of connectivity in the disabling secondary signal of the second customer terminal equipment 603 tunnel, now, There was only the first customer terminal equipment 602 in VRRP2, therefore the first customer terminal equipment 602 is robbed and accounts for virtual IP address as gateway, two Second stream compression of the up direction that layer equipment 601 will be received is dealt into the first customer terminal equipment 602, by the first letter Second data flow of number tunnel transmission up direction.And work as the connective inspection that routing device 604 detects secondary signal tunnel When surveying disabled, routing device 604 disables secondary signal tunnel, now, the down direction that routing device 604 will be received Second stream compression is dealt into the first signal tunnel, is transmitted by the first signal tunnel.
Further, when the access link fault of above-mentioned second customer terminal equipment 603 is repaired, the second client terminal Equipment 603 is additionally operable to, when the lan interfaces for detecting the second customer terminal equipment 603 recover connection, enable secondary signal tunnel The detection of connectivity in road, now, two customer terminal equipments in the competition of VRRP2, rob and account for by the second customer terminal equipment 603 Virtual IP address turns into gateway, and the second stream compression of the up direction that two-layer equipment 601 will be received is dealt into the second client terminal and sets In standby 603, by the second data flow of the secondary signal tunnel transmission up direction.And work as routing device 604 and detect second When the detection of connectivity in signal tunnel is enabled, routing device 604 enables secondary signal tunnel, and now, routing device 604 will be received To the second stream compression of down direction be dealt into secondary signal tunnel, be transmitted by secondary signal tunnel.
The embodiment of the invention provides various secondary signal tunnels it is disabled when, counted by the first signal tunnel transmission second According to the specific implementation of stream, the flexibility of scheme is improve.
Based on corresponding any one embodiment of above-mentioned Fig. 6, in many CPE redundant links systems provided in an embodiment of the present invention Another embodiment in, secondary signal tunnel is additionally operable to when the first signal tunnel is disabled, the first number of transmission up direction According to stream and the first data flow of down direction.
Two kinds of disabled to the first signal tunnel below situations are illustrated:
First, the first signal tunnel fails.
Specifically, when the first customer terminal equipment 602 detects the first signal tunnel fails, that is, first is detected When signal tunnel is unavailable, the first customer terminal equipment 602 changes first priority so that amended first priority is low In third priority, that is, cause that priority of first customer terminal equipment 602 in VRRP1 exists less than the second customer terminal equipment Priority in VRRP1, now, two customer terminal equipments in the competition of VRRP1, get by the second customer terminal equipment 603 Virtual IP address turns into gateway, and the first stream compression of up direction is dealt into the second customer terminal equipment 603 by two-layer equipment 601, leads to Cross the first data flow of secondary signal tunnel transmission up direction.And work as routing device 604 and detect the generation of the first signal tunnel Failure, that is, detect the first signal tunnel it is unavailable when, by the first signal tunnel disabling, now, routing device 604 will receive To the first stream compression of down direction be dealt into secondary signal tunnel, be transmitted by secondary signal tunnel.
Further, when the failure in above-mentioned first signal tunnel is repaired, the first customer terminal equipment 602 is additionally operable to work as When detecting the fault recovery, that is, detect the first signal tunnel it is available when, recover first priority, first after recovery is preferential Level is higher than third priority, and now, two customer terminal equipments in the competition of VRRP1, seize by the first customer terminal equipment 602 Turn into gateway to virtual IP address, the first stream compression of the up direction that two-layer equipment 601 will be received is dealt into the first client terminal In equipment 602, by the first data flow of the first signal tunnel transmission up direction.And work as routing device 604 and detect this During fault recovery, that is, detect the first signal tunnel it is available when, the first data of the down direction that routing device 604 will be received Circulation is dealt into the first signal tunnel, is transmitted by the first signal tunnel.
2nd, the access link of CPE1 breaks down.
When the lan interfaces that the first customer terminal equipment 602 detects the first customer terminal equipment 602 disconnect, that is, examine When measuring access link and breaking down, the first customer terminal equipment 602 disables the detection of connectivity in the first signal tunnel, now, There was only the second customer terminal equipment 603 in VRRP1, therefore the second customer terminal equipment 603 is robbed and accounts for virtual IP address as gateway, two First stream compression of the up direction that layer equipment 601 will be received is dealt into the second customer terminal equipment 603, by the second letter First data flow of number tunnel transmission up direction.And work as the connective inspection that routing device 604 detects the first signal tunnel When surveying disabled, routing device 604 disables the first signal tunnel, now, the down direction that routing device 604 will be received First stream compression is dealt into secondary signal tunnel, is transmitted by secondary signal tunnel.
Further, when the access link fault of above-mentioned first customer terminal equipment 602 is repaired, the first client terminal Equipment 602 is additionally operable to, when the lan interfaces for detecting the first customer terminal equipment 602 recover connection, enable the first signal tunnel The detection of connectivity in road, now, two customer terminal equipments in the competition of VRRP1, rob and account for by the first customer terminal equipment 602 Virtual IP address turns into gateway, and the first stream compression of the up direction that two-layer equipment 601 will be received is dealt into the first client terminal and sets In standby 602, by the first data flow of the first signal tunnel transmission up direction.And work as routing device 604 and detect first When the detection of connectivity in signal tunnel is enabled, routing device 604 enables the first signal tunnel, and now, routing device 604 will be received To the first stream compression of down direction be dealt into the first signal tunnel, be transmitted by the first signal tunnel.
The embodiment of the invention provides various secondary signal tunnels it is disabled when, counted by the first signal tunnel transmission second According to the specific implementation of stream, the flexibility of scheme is improve.
It should be understood that in other embodiments of many CPE redundant links systems provided in an embodiment of the present invention, the system is also The CPE of three or more can be included, correspondingly the tributary that data flow is divided into three or more is transmitted, no longer gone to live in the household of one's in-laws on getting married herein State.
The many CPE redundant links systems in the embodiment of the present invention are described above, be described below in the embodiment of the present invention in The corresponding transmission method of the system, refers to Fig. 7, an implementation of many CPE redundant links transmission methods in the embodiment of the present invention Example includes:
701st, CPE1 sets up the first signal tunnel by the first Wide Area Network interface and routing device;
702nd, CPE2 sets up secondary signal tunnel by the second Wide Area Network interface and the routing device;
703rd, two-layer equipment is set up with CPE1 and CPE2 by VRRP and is connected;
704th, CPE1 sets first priority of the CPE1 in the VRRP;
After VRRP and CPE1 set up and be connected, CPE1 voluntarily sets its priority in the VRRP to two-layer equipment, should Priority is used to compete the virtual IP address in the VRRP.For the ease of distinguishing, the embodiment of the present invention is excellent in the VRRP by CPE1 First level is referred to as the first priority.
705th, CPE2 sets second priority of the CPE2 in the VRRP;
After VRRP and CPE2 set up and be connected, CPE2 voluntarily sets it in the VRRP whole priority to two-layer equipment, is It is easy to distinguish, CPE2 is referred to as the second priority by the embodiment of the present invention in the whole priority of the VRRP, and the first priority is higher than Second priority.
706th, the corresponding Metric1 in the first signal tunnel of routing device setting, and secondary signal tunnel is corresponding Metric2;
After setting up the first signal tunnel, routing device sets the corresponding Metric1 in the first signal tunnel and secondary signal The Metric2 in tunnel, wherein Metric2 are more than Metric1, that is to say, that routing device sets objective network to the first signal tunnel Path of the path in road better than objective network to secondary signal tunnel.Metric is to determine the optimal path of arrival objective network Measurement criteria, can include path length, or bandwidth parameter, or load parameter, or communication cost, or other specification, it is specific this Place is not construed as limiting.
707th, CPE1 is transmitted by the first signal tunnel to up direction message and down direction message;
Because first priority of the CPE1 in VRRP is higher than second priority of the CPE2 in VRRP, therefore in the VRRP In, CPE1 is preferentially robbed and is accounted for virtual IP address as gateway, when two-layer equipment receives the message of up direction, can be by the up side To message be forwarded in CPE1, the up direction message is transmitted by the first signal tunnel.Because Metric2 is more than Metric1, i.e. objective network are better than objective network to the path in secondary signal tunnel to the path in the first signal tunnel, therefore work as When routing device receives the message of down direction, the message of the down direction can be sent to by the first signal tunnel CPE1。
708th, CPE2 is transmitted by secondary signal tunnel to up direction message and down direction message.
When the first signal tunnel is disabled, the message of the up direction that two-layer equipment will be received is forwarded in CPE2, The up direction message is transmitted by secondary signal tunnel, the message of the down direction that routing device will then be received, Secondary signal tunnel is forwarded to, the message of the down direction is sent to by CPE2 by secondary signal tunnel.
It should be understood that in the embodiment of the present invention, step 701 sets up the first signal tunnel, step 702 sets up secondary signal tunnel And step 703 sets up the execution sequence of the connection of two-layer equipment and CPE1 and CPE2 these three steps in no particular order.Step 704CPE1 sets the first priority, and step 705CPE2 sets the second priority and step 706 routing device sets Metric1 And Metric2 these three steps are after step 701, step 702 and step 703, but the execution between these three steps is suitable Sequence is in no particular order.
In many CPE redundant links transmission methods provided in an embodiment of the present invention, two-layer equipment is connected with CPE, correspondingly builds The first signal tunnel of vertical CPE1 and routing device, CPE2 and the secondary signal tunnel of routing device, correspondingly set CPE1 and exist The first priority in VRRP, second priority of the CPE2 in VRRP, the second priority is less than the first priority, on causing The message acquiescence of line direction is forwarded in CPE1, is then forwarded in CPE2 during failure;It is corresponding that first signal tunnel is set The first via is more than Metric2 by degree Metric1, and the corresponding secondary route degree Metric2 in secondary signal tunnel, Metric1, makes The message acquiescence for obtaining down direction is forwarded to the first signal tunnel, and secondary signal tunnel is then forwarded to during failure.This programme Many CPE redundant links can be set up using two-layer equipment, relative to many CPE redundant links based on three-layer equipment, can saved Equipment cost.
Based on the corresponding embodiments of above-mentioned Fig. 7, the factor for causing the first signal tunnel disabled has a lot, below to wherein Several situations are introduced:
First, the first signal tunnel fails.
When routing device detects the first signal tunnel fails, routing device disables the first signal tunnel, road The message of the down direction that will be received by equipment is forwarded to secondary signal tunnel, and CPE2 is sent to by secondary signal tunnel In.At the same time, CPE1 also detects that the failure, and CPE1 changes the first priority so that amended first priority is less than Second priority, that is to say, that priority of priority of the CPE1 in VRRP less than CPE2, now, CPE1 and CPE2 are in VRRP Competition in, CPE2 can get virtual IP address as gateway, then the message of the up direction that two-layer equipment will can be received is forwarded to In CPE2, CPE2 is transmitted by secondary signal tunnel to the up direction message.
Further, when the failure that CPE1 detects above-mentioned first signal tunnel is repaired, CPE1 can recover this first Priority, the first priority after recovery is higher than the second priority, now, CPE1 and CPE2 in the competition of VRRP, CPE1 meetings Rob and account for virtual IP address as gateway, the message of the up direction that two-layer equipment will can be received is forwarded in CPE1, by first Signal tunnel is transmitted to the up direction message.At the same time, routing device can also detect the failure and be repaired, then road First signal tunnel can be reactivated by equipment.
2nd, the access link of CPE1 breaks down.
When the lan interfaces that CPE1 detects CPE1 disconnect, that is, the connection detected between CPE1 and two-layer equipment is broken When opening, CPE1 disables the detection of connectivity in the first signal tunnel, now, there was only CPE2 in VRRP, therefore CPE2 is robbed and accounted for virtually IP turns into gateway, and the up direction message that two-layer equipment will be received is forwarded in CPE2, and CPE2 is passed by secondary signal tunnel The message of the defeated up direction;When the detection of connectivity that routing device detects the first signal tunnel is disabled, routing device The first signal tunnel is disabled, then when routing device receives the message of down direction, routing device is by the down direction message The first signal tunnel is forwarded to, is sent in CPE1 by the first signal tunnel.
Further, when the lan interfaces that CPE1 detects CPE1 recover connection, CPE1 enables the first signal tunnel Detection of connectivity, now, in the competition of VRRP, CPE1 is robbed and is accounted for virtual IP address as gateway, is set when two layers for CPE1 and CPE2 The standby up direction message that will be received is forwarded in CPE1, the report that CPE1 passes through the first signal tunnel transmission up direction Text;When the detection of connectivity that routing device detects the first signal is enabled, routing device enables the first signal tunnel, now, The down direction message that routing device will be received is forwarded to secondary signal tunnel, and CPE2 is sent to by secondary signal tunnel In.
When the embodiment of the invention provides the first signal tunnel of various determinations disabling, CPE2 passes through secondary signal tunnel transmission The mode of message, improves the flexibility of scheme.
Based on the corresponding embodiments of above-mentioned Fig. 7, in the another of many CPE redundant links transmission methods provided in an embodiment of the present invention In one embodiment, the method also includes:
1st, CPE3 sets up the 3rd signal tunnel by the 3rd Wide Area Network interface and the routing device, and is set up by the VRRP With the connection between the two-layer equipment;
2nd, CPE3 sets third priorities of the CPE3 in the VRRP, and the third priority is less than the first priority and second Priority;
3rd, routing device sets the corresponding Metric3 in the 3rd signal tunnel, and the Metric3 is less than Metric2;
4th, when it is determined that when the first signal tunnel and disabled secondary signal tunnel, CPE3 is by the 3rd signal tunnel to upper Line direction message and down direction message are transmitted.
Due to the priority of the priority higher than CPE2 of CPE1, and priority of the priority of CPE2 higher than CPE3, therefore three In the competition of VRRP, CPE1 preferentially gets virtual IP address to individual CPE, as gateway.Therefore CPE1 is used as primary CPE, CPE2 conducts First-selected standby CPE, CPE3 select standby CPE as secondary.I.e. after two-layer equipment receives up direction message, acquiescence is up by this Direction message is forwarded to CPE1, i.e., by the first signal tunnel transmission up direction message;When the first signal tunnel is disabled When, then after two-layer equipment receives up direction message, the up direction message is forwarded to CPE2, i.e., by secondary signal tunnel Transmit the up direction message in road;When the first signal tunnel and disabled secondary signal tunnel, then two-layer equipment is received After up direction message, the up direction message is forwarded to CPE3, CPE3 is by the 3rd signal tunnel transmission up direction Message.
The corresponding secondary route in secondary signal tunnel is more than by spending Metric1 due to the corresponding first via in the first signal tunnel Degree Metric2, and the corresponding secondary route degree Metric2 in secondary signal tunnel the 3rd routes corresponding more than the 3rd signal tunnel Degree Metric3.The objective network set i.e. in routing device is better than the objective network to second to the path in the first signal tunnel The path in signal tunnel, the objective network of setting is better than the objective network to the 3rd signal tunnel to the path in secondary signal tunnel Path.Therefore after routing device receives down direction message, the up direction message is forwarded to the first signal by acquiescence Tunnel;When the first signal tunnel is disabled, after routing device receives up direction message, by up direction message forwarding To secondary signal tunnel;When the first signal tunnel and disabled secondary signal tunnel, routing device is up by what is received Direction message is forwarded to the 3rd signal tunnel, and the up direction message is sent in CPE3 by the 3rd signal tunnel.
Many CPE redundant links systems in the embodiment of the present invention include three CPE, and when existing, two CPE are unavailable When, system can also be transmitted by the 3rd CPE, improve the reliability of scheme.
The embodiment of the present invention additionally provides another many CPE redundant links transmission methods, refers to Fig. 8, and the present invention is implemented Another embodiment of many CPE redundant links transmission methods includes in example:
801st, CPE1 sets up the first signal tunnel by the first Wide Area Network interface and routing device;
802nd, CPE2 sets up secondary signal tunnel by the second Wide Area Network interface and routing device;
803rd, two-layer equipment by VRRP1 set up and between CPE1 and CPE2 first connection, by VRRP2 set up with The second connection between CPE1 and CPE2;
804th, CPE1 sets first priority of the CPE1 in VRRP1, and second priority of the CPE1 in VRRP2;
CPE1 and two-layer equipment set up first be connected after, CPE1 voluntarily sets its priority in the VRRP1, and this is preferential Level is used to compete the virtual IP address in the VRRP1, for the ease of distinguishing, priority of the embodiment of the present invention by CPE1 in VRRP1 Referred to as the first priority.CPE1 and two-layer equipment set up second be connected after, CPE1 voluntarily sets its priority in VRRP2, The priority is used to compete the virtual IP address in the VRRP2, and for the ease of distinguishing, the embodiment of the present invention is by CPE1 in VRRP2 Priority is referred to as the second priority.
805th, CPE2 sets third priorities of the CPE2 in VRRP1, and fourth priority of the CPE2 in VRRP2;
CPE2 and two-layer equipment set up first be connected after, CPE2 voluntarily sets its priority in the VRRP1, and this is preferential Level is used to compete the virtual IP address in the VRRP1, for the ease of distinguishing, priority of the embodiment of the present invention by CPE2 in VRRP1 Referred to as third priority.CPE2 and two-layer equipment set up second be connected after, CPE2 voluntarily sets its priority in VRRP2, The priority is used to compete the virtual IP address in the VRRP2, and for the ease of distinguishing, the embodiment of the present invention is by CPE2 in VRRP2 Priority is referred to as the 4th priority.Wherein, third priority is less than the first priority, and the 4th priority is higher than the second priority.
806th, routing device sets the first data flow corresponding Metric1 in the first signal tunnel, and the first data flow exists Corresponding Metric2 in secondary signal tunnel, the second data flow corresponding Metric3 in the first signal tunnel, and second Data flow is in the corresponding Metric4 in secondary signal tunnel;
After setting up the first signal tunnel, routing device sets the first data flow in the corresponding Metric1 in the first signal tunnel, First data flow in the corresponding Metric2 in secondary signal tunnel, the second data flow in the corresponding Metric3 in the first signal tunnel, And second data flow in the corresponding Metric4 in secondary signal tunnel, wherein Metric1 is more than Metric2, and Metric3 is less than Metric4.That is routing device sets the first data flow from objective network to the path in the first signal tunnel better than first Data flow sets the second data flow from objective network to secondary signal tunnel from objective network to the path in secondary signal tunnel Path is better than the second data flow from objective network to the path in secondary signal tunnel.
Metric is to determine the measurement criteria of the optimal path for reaching objective network, can include path length, or bandwidth Parameter, or load parameter, or communication cost, or other specification, are specifically not construed as limiting herein.
807th, CPE1 passes through the first signal tunnel to the first data flow of up direction and the first data flow of down direction It is transmitted;
Because first priority of the CPE1 in VRRP1 is higher than third priorities of the CPE2 in VRRP1, therefore In VRRP1, CPE1 is preferentially robbed and is accounted for virtual IP address as gateway, when two-layer equipment receives the first data flow of up direction, First stream compression of the up direction can be dealt into CPE1, CPE1 is by the first signal tunnel to the first of the up direction Data flow is transmitted.
Due to the first data flow from objective network to the path in the first signal tunnel better than the first data flow from objective network To the path in secondary signal tunnel, therefore when routing device receives the first data flow of down direction, can be by the first letter First data flow of the down direction is sent to CPE1 by number tunnel.
808th, CPE2 passes through secondary signal tunnel to the second data flow of up direction and the second data flow of down direction It is transmitted.
Because fourth priority of the CPE2 in VRRP2 is higher than second priority of the CPE1 in VRRP2, therefore In VRRP2, CPE2 is preferentially robbed and is accounted for virtual IP address as gateway, when two-layer equipment receives the second data flow of up direction, Second stream compression of the up direction can be dealt into CPE2, CPE2 is by secondary signal tunnel to the second of the up direction Data flow is transmitted.
Due to the second data flow from objective network to the path in secondary signal tunnel better than the second data flow from objective network To the path in the first signal tunnel, therefore when routing device receives the second data flow of down direction, can be by the second letter Second data flow of the down direction is sent to CPE2 by number tunnel.
It should be understood that step 801 sets up the first signal tunnel in the embodiment of the present invention, step 802 sets up secondary signal tunnel And step 803 sets up the first connection and the second connection, the execution sequence of these three steps is in no particular order.Step 804CPE1 sets The first priority and the second priority are put, step 805CPE2 sets third priority and the 4th priority, and step 806 tunnel Metric1, Metric2, Metric3 and Metric4 are set by equipment, these three steps after step 801 to step 803, But the execution sequence between these three steps is in no particular order.Step 807 and step 808 the two steps are in step 804 to step After rapid 806, but the two steps execution sequence in no particular order.
Based on the corresponding embodiments of above-mentioned Fig. 8, in the another of many CPE redundant links transmission methods provided in an embodiment of the present invention In one embodiment, the method also includes:
When it is determined that secondary signal tunnel is disabled, CPE1 passes through second data flow of the first signal tunnel to up direction And the second data flow of down direction is transmitted;
Specifically, when CPE2 detects secondary signal tunnel fails, that is, secondary signal tunnel is detected unavailable When, CPE2 changes the 4th priority so that amended 4th priority is less than the second priority, that is, cause that CPE2 exists Priority in VRRP2 is less than priority of the CPE1 in VRRP2, and now, in the competition of VRRP2, CPE1 gets two CPE Virtual IP address turns into gateway, and be dealt into the second stream compression of up direction in CPE1 by two-layer equipment, and CPE1 passes through the first signal tunnel Transmit the second data flow of up direction in road.And when routing device detects secondary signal tunnel fails, that is, detect When secondary signal tunnel is unavailable, by secondary signal tunnel disabling, now, the of the down direction that routing device will be received Two stream compressions are dealt into the first signal tunnel, and the second data flow of the down direction is sent into CPE1 by the first signal tunnel In.
Further, when CPE2 is additionally operable to when the fault recovery is detected, that is, detect secondary signal tunnel it is available when, CPE2 recovers the 4th priority, and the 4th priority after recovery is higher than the second priority, and now, two CPE are in the competing of VRRP2 In striving, CPE2 is robbed and is accounted for virtual IP address as gateway, and the second stream compression of the up direction that two-layer equipment is received is dealt into CPE2 In, the second data flow that CPE2 passes through the secondary signal tunnel transmission up direction.And working as routing device, to detect the failure extensive When multiple, that is, detect secondary signal tunnel it is available when, routing device enables secondary signal tunnel, the down direction that will be received Second stream compression is dealt into secondary signal tunnel, and the second data flow is sent into CPE2 by secondary signal tunnel.
Specifically, when the lan interfaces that CPE2 detects CPE2 disconnect, that is, detect between CPE2 and two-layer equipment Connection when disconnecting, the detection of connectivity in CPE2 disablings secondary signal tunnel now, only has CPE1 in VRRP2, therefore CPE1 is robbed Virtual IP address is accounted for as gateway, the second stream compression of the up direction that two-layer equipment will be received is dealt into CPE1, by the Second data flow of the one signal tunnel transmission up direction.And work as the connective inspection that routing device detects secondary signal tunnel When surveying disabled, routing device disables secondary signal tunnel, now, the second number of the down direction that routing device will be received The first signal tunnel is dealt into according to circulation, by the first signal tunnel by second data stream transmitting to CPE1.
Further, when the lan interfaces that CPE2 detects CPE2 recover connection, the company in secondary signal tunnel is enabled The general character detects that now, in the competition of VRRP2, CPE2 is robbed and accounted for virtual IP address as gateway two CPE, and two-layer equipment will be received To the second stream compression of up direction be dealt into CPE2, by the second data of the secondary signal tunnel transmission up direction Stream.And when the detection of connectivity that routing device detects secondary signal tunnel is enabled, routing device enables secondary signal tunnel, Now, the second stream compression of the down direction that routing device will be received is dealt into secondary signal tunnel, by secondary signal tunnel Be sent to second data flow of the down direction in CPE2 by road.
The embodiment of the invention provides various secondary signal tunnels it is disabled when, counted by the first signal tunnel transmission second According to the concrete mode of stream, the flexibility of scheme is improve.
Based on the corresponding embodiments of above-mentioned Fig. 8, in the another of many CPE redundant links transmission methods provided in an embodiment of the present invention In one embodiment, the method also includes:
When it is determined that the first signal tunnel is disabled, CPE2 passes through first data flow of the secondary signal tunnel to down direction And the first data flow of up direction is transmitted.
Specifically, when CPE1 detects the first signal tunnel fails, that is, the first signal tunnel is detected unavailable When, CPE1 changes first priority so that amended first priority is less than third priority, that is, cause that CPE1 exists Priority in VRRP1 is less than priority of the CPE2 in VRRP1, and now, in the competition of VRRP1, CPE2 gets two CPE Virtual IP address turns into gateway, and the first stream compression of up direction is dealt into CPE2 by two-layer equipment, and CPE2 passes through secondary signal tunnel Transmit the first data flow of up direction.And work as routing device and detect the first signal tunnel fails, that is, detect first When signal tunnel is unavailable, by the first signal tunnel disabling, now, the first number of the down direction that routing device will be received Secondary signal tunnel is dealt into according to circulation, the first data flow of the descending transmission is sent in CPE2 by secondary signal tunnel.
Further, when CPE1 is when the fault recovery is detected, that is, detect the first signal tunnel it is available when, recover this One priority, the first priority after recovery is higher than third priority, and now, in the competition of VRRP1, CPE1 is robbed two CPE Virtual IP address is accounted for as gateway, the first stream compression of the up direction that two-layer equipment will be received is dealt into CPE1, CPE1 leads to Cross the first data flow of the first signal tunnel transmission up direction.And when routing device detects the fault recovery, that is, examine Measure the first signal tunnel it is available when, the first stream compression of the down direction that routing device will be received is dealt into the first signal tunnel , be sent to the first data flow of the down direction in CPE1 by the first signal tunnel by road.
Specifically, when the lan interfaces that CPE1 detects CPE1 disconnect, that is, the access link for detecting CPE1 occurs During failure, CPE1 disables the detection of connectivity in the first signal tunnel, now, there was only CPE2 in VRRP1, therefore CPE2 is robbed and accounted for void Intending IP turns into gateway, and the first stream compression of the up direction that two-layer equipment will be received is dealt into CPE2, by secondary signal First data flow of the tunnel transmission up direction.And work as routing device detect the first signal tunnel detection of connectivity it is banned Used time, routing device disables the first signal tunnel, now, the first stream compression of the down direction that routing device will be received Secondary signal tunnel is dealt into, the first data flow of the down direction is sent in CPE2 by secondary signal tunnel.
Further, when the lan interfaces that CPE1 detects CPE1 recover connection, the company in the first signal tunnel is enabled The general character detects that now, in the competition of VRRP1, CPE1 is robbed and accounted for virtual IP address as gateway two CPE, and two-layer equipment will be received To the first stream compression of up direction be dealt into CPE1, by the first data of the first signal tunnel transmission up direction Stream.And when the detection of connectivity that routing device detects the first signal tunnel is enabled, routing device enables the first signal tunnel, Now, the first stream compression of the down direction that routing device will be received is dealt into the first signal tunnel, by the first signal tunnel Be sent to first data flow in CPE1 by road.
The embodiment of the invention provides various first signal tunnels it is disabled when, counted by secondary signal tunnel transmission first According to the concrete mode of stream, the flexibility of scheme is improve.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, for example multiple units or component Can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.It is another, it is shown or The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces Close or communicate to connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part for being contributed to prior art in other words or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (English full name:Read-Only Memory, english abbreviation:ROM), random access memory (English full name:Random Access Memory, english abbreviation: RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to preceding Embodiment is stated to be described in detail the present invention, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these Modification is replaced, and does not make the spirit and scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution.

Claims (16)

1. a kind of many CPE redundant links systems, it is characterised in that the system includes:Two-layer equipment, the first customer terminal equipment CPE1, the second customer terminal equipment CPE2 and routing device;
The two-layer equipment connects the lan interfaces of the CPE1 and CPE2 by Virtual Router Redundacy Protocol VRRP;
The CPE1 connects the routing device by the first Wide Area Network interface, forms the first signal tunnel;
The CPE2 connects the routing device by the second Wide Area Network interface, forms secondary signal tunnel;
The CPE1 is used to set first priority of the CPE1 in the VRRP;
The CPE2 is used to set second priority of the CPE2 in the VRRP, and second priority is less than described the One priority;
The routing device is used to set the corresponding first via in the first signal tunnel by spending Metric1, and second letter Number corresponding secondary route degree Metric2 in tunnel, the Metric1 are more than the Metric2;
The first signal tunnel is used to transmit up direction message and down direction message;
The secondary signal tunnel is used to, when the first signal tunnel is disabled, transmit the up direction message and institute State down direction message.
2. system according to claim 1, it is characterised in that
The CPE1 is additionally operable to, when the first signal tunnel fails are detected, change first priority, described Amended first priority is less than second priority;
The routing device is additionally operable to, when the first signal tunnel fails are detected, disable the first signal tunnel Road.
3. system according to claim 2, it is characterised in that
The CPE1 is additionally operable to, when the fault restoration in the first signal tunnel is detected, recover described first preferential Level, the first priority after the recovery is higher than second priority;
The routing device is additionally operable to, when the fault restoration in the first signal tunnel is detected, enable first letter Number tunnel.
4. system according to claim 1, it is characterised in that
The CPE1 is additionally operable to, when the lan interfaces for detecting the CPE1 disconnect, disable the company in the first signal tunnel The general character is detected;
The routing device is additionally operable to when the detection of connectivity for detecting the first signal tunnel is disabled, disables described the One signal tunnel.
5. system according to claim 4, it is characterised in that
The CPE1 is additionally operable to, when the lan interfaces for detecting the CPE1 recover connection, enable the first signal tunnel Detection of connectivity;
The routing device is additionally operable to, when the detection of connectivity for detecting the first signal tunnel is enabled, enable described first Signal tunnel.
6. system according to claim 1, it is characterised in that the system also includes:Second customer terminal equipment CPE3;
The two-layer equipment connects the lan interfaces of the CPE3 by the VRRP;
The CPE3 connects the routing device by the 3rd Wide Area Network interface, forms the 3rd signal tunnel;
The CPE3 is used to set third priorities of the CPE3 in the VRRP, and the third priority is less than described the One priority and second priority;
The routing device is additionally operable to set the 3rd signal tunnel corresponding 3rd route degree Metric3, the Metric3 Less than the Metric2;
The 3rd signal tunnel is used to, when the first signal tunnel and the disabled secondary signal tunnel, transmit institute State up direction message and the down direction message.
7. a kind of many CPE redundant links systems, it is characterised in that the system includes:Two-layer equipment, the first customer terminal equipment CPE1, the second customer terminal equipment CPE2 and routing device;
The two-layer equipment connects the CPE1 and is connect with the LAN of the CPE2 by the first Virtual Router Redundacy Protocol VRRP1 Mouthful, the VRRP1 is corresponding with the first data flow;
The two-layer equipment connects the lan interfaces of the CPE1 and CPE2 by the second Virtual Router Redundacy Protocol VRRP2, The VRRP2 is corresponding with the second data flow;
The CPE1 connects the routing device by the first Wide Area Network interface, forms the first signal tunnel;
The CPE2 connects the routing device by the second Wide Area Network interface, forms secondary signal tunnel;
The CPE1 is used to set first priority of the CPE1 in the VRRP1, and the CPE1 is in the VRRP2 The second priority;
The CPE2 is used to set third priorities of the CPE2 in the VRRP2, and the CPE2 is in the VRRP2 The 4th priority, the third priority is less than first priority, and the 4th priority is higher than described second preferential Level;
The routing device be used for set the first data flow in the first signal tunnel the corresponding first via by spending Metric1, first data flow corresponding secondary route degree Metric2, the second data flow in the secondary signal tunnel Corresponding 3rd route degree Metric3 and second data flow are in the secondary signal tunnel in the first signal tunnel Corresponding 4th route degree Metric4 in road, the Metric1 are more than the Metric2, and the Metric3 is less than described Metric4;
The first signal tunnel is used to transmit the first data flow of up direction and the first data flow of down direction;
The secondary signal tunnel is used to transmit the second data flow of up direction and the second data flow of down direction.
8. system according to claim 7, it is characterised in that
The first signal tunnel is additionally operable to be transmitted when the secondary signal tunnel is disabled second data flow of up direction And the second data flow of down direction;
The secondary signal tunnel is additionally operable to be transmitted when the first signal tunnel is disabled first data flow of down direction And the first data flow of up direction.
9. a kind of many CPE redundant links transmission methods, it is characterised in that including:
CPE1 sets up the first signal tunnel by the first Wide Area Network interface and routing device;
CPE2 sets up secondary signal tunnel by the second Wide Area Network interface with the routing device;
Two-layer equipment is set up with the CPE1 and CPE2 by VRRP and is connected;
The CPE1 sets first priority of the CPE1 in the VRRP;
The CPE2 sets second priority of the CPE2 in the VRRP, and second priority is excellent less than described first First level;
The routing device sets the corresponding first via in the first signal tunnel by spending Metric1, and the secondary signal The corresponding secondary route degree Metric2 in tunnel, the Metric1 are more than the Metric2;
The CPE1 is transmitted by the first signal tunnel to up direction message and down direction message;
When it is determined that the first signal tunnel is disabled, the CPE2 is by the secondary signal tunnel to the up direction Message and the down direction message are transmitted.
10. method according to claim 9, it is characterised in that the CPE2 is by the secondary signal tunnel to described Up direction message and the down direction message include before being transmitted:
When the routing device detects the first signal tunnel fails, routing device disabling first letter Number tunnel;
When the CPE1 detects the first signal tunnel fails, the CPE1 changes first priority, institute Amended first priority is stated less than second priority.
11. methods according to claim 10, it is characterised in that the CPE2 is by the secondary signal tunnel to described Up direction message and the down direction message include after being transmitted:
When the CPE1 detects the fault restoration in the first signal tunnel, it is preferential that the CPE1 recovers described first Level, the first priority after the recovery is higher than second priority;
When the routing device detects the fault restoration in the first signal tunnel, the routing device enables described First signal tunnel.
12. methods according to claim 9, it is characterised in that the CPE2 is by the secondary signal tunnel to described Up direction message and the down direction message include before being transmitted:
When the CPE1 detects connection between the CPE1 and the two-layer equipment to be disconnected, the CPE1 disablings described the The detection of connectivity in one signal tunnel;
When the detection of connectivity that the routing device detects the first signal tunnel is disabled, the routing device disabling The first signal tunnel.
13. methods according to claim 12, it is characterised in that the CPE2 is by the secondary signal tunnel to described Up direction message and the down direction message include after being transmitted:
When the CPE1 detects connection between the CPE1 and the two-layer equipment to be recovered, the CPE1 enables described the The detection of connectivity in one signal tunnel;
When the detection of connectivity that the routing device detects the first signal tunnel is enabled, the first signal tunnel is enabled Road.
14. methods according to claim 9, it is characterised in that methods described also includes:
CPE3 sets up the 3rd signal tunnel by the 3rd Wide Area Network interface and the routing device, and by the VRRP set up with Connection between the two-layer equipment;
The CPE3 sets third priorities of the CPE3 in the VRRP, and the third priority is excellent less than described first First level and second priority;
The routing device sets the corresponding 3rd route degree Metric3 in the 3rd signal tunnel, and the Metric3 is less than institute State Metric2;
When it is determined that when the first signal tunnel and the disabled secondary signal tunnel, the CPE3 is by the described 3rd letter Number tunnel is transmitted to the up direction message and the down direction message.
A kind of 15. many CPE redundant links transmission methods, it is characterised in that including:
CPE1 sets up the first signal tunnel by the first Wide Area Network interface and routing device;
CPE2 sets up secondary signal tunnel by the second Wide Area Network interface and routing device;
Two-layer equipment is built between CPE1 and CPE2 first and is connected by VRRP1, by VRRP2 set up with CPE1 and CPE2 it Between second connection;
The CPE1 sets first priority of the CPE1 in the VRRP1, and the CPE1 in the VRRP2 the Two priority;
The CPE2 sets third priorities of the CPE2 in the VRRP1, and the CPE2 in the VRRP2 the Four priority, the third priority is less than first priority, and the 4th priority is higher than second priority;
The routing device set the first data flow in the first signal tunnel the corresponding first via by spending Metric1, institute The first data flow corresponding secondary route degree Metric2 in the secondary signal tunnel is stated, the second data flow is described first Corresponding 3rd route degree Metric3 and second data flow are corresponding in the secondary signal tunnel in signal tunnel 4th route degree Metric4, the Metric1 is more than the Metric2, and the Metric3 is less than the Metric4;
The CPE1 is by the first signal tunnel to the first data flow of up direction and the first data flow of down direction It is transmitted;
The CPE2 is by the secondary signal tunnel to the second data flow of up direction and the second data flow of down direction It is transmitted.
16. methods according to claim 15, it is characterised in that methods described also includes:
When it is determined that the secondary signal tunnel is disabled, the CPE1 is by the first signal tunnel to the of up direction Second data flow of two data flows and down direction is transmitted;
When it is determined that the first signal tunnel is disabled, the CPE2 is by the secondary signal tunnel to the of down direction First data flow of one data flow and up direction is transmitted.
CN201611050932.2A 2016-11-24 2016-11-24 Multi-CPE redundant link system and method Active CN106788921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611050932.2A CN106788921B (en) 2016-11-24 2016-11-24 Multi-CPE redundant link system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611050932.2A CN106788921B (en) 2016-11-24 2016-11-24 Multi-CPE redundant link system and method

Publications (2)

Publication Number Publication Date
CN106788921A true CN106788921A (en) 2017-05-31
CN106788921B CN106788921B (en) 2020-08-07

Family

ID=58910672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611050932.2A Active CN106788921B (en) 2016-11-24 2016-11-24 Multi-CPE redundant link system and method

Country Status (1)

Country Link
CN (1) CN106788921B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020103530A1 (en) * 2018-11-21 2020-05-28 华为技术有限公司 Communication method and apparatus
CN114071458A (en) * 2021-11-15 2022-02-18 国网信息通信产业集团有限公司 Distribution network differential protection method and device
CN114710810A (en) * 2022-05-31 2022-07-05 新华三技术有限公司 Data transmission method, device and system
CN117319254A (en) * 2023-11-29 2023-12-29 广州通则康威科技股份有限公司 Equipment link detection method and device
CN118433759A (en) * 2024-06-24 2024-08-02 新华三技术有限公司 Data transmission method, device, equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009045130A1 (en) * 2007-10-02 2009-04-09 Telefonaktiebolaget Lm Ericsson (Publ) Vrrp and learning bridge cpe
CN102437919A (en) * 2010-09-29 2012-05-02 中国电信股份有限公司 Access router and link reliability protection method
CN102724073A (en) * 2012-06-20 2012-10-10 华为技术有限公司 Method for network traffic recovery and routing device
CN103095571A (en) * 2013-01-17 2013-05-08 成都西加云杉科技有限公司 Method and system achieving network redundancy and data flow seamless switching
CN103532842A (en) * 2013-10-14 2014-01-22 广州供电局有限公司 High-reliability LTE (long term evolution) transmission system for power distribution network
CN104410570A (en) * 2014-12-16 2015-03-11 北京东土科技股份有限公司 VRRP (virtual router redundancy protocol) based data transmission method and device
CN104901882A (en) * 2014-03-06 2015-09-09 中国移动通信集团广东有限公司 Method and device for switching equipment, and server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009045130A1 (en) * 2007-10-02 2009-04-09 Telefonaktiebolaget Lm Ericsson (Publ) Vrrp and learning bridge cpe
CN102437919A (en) * 2010-09-29 2012-05-02 中国电信股份有限公司 Access router and link reliability protection method
CN102724073A (en) * 2012-06-20 2012-10-10 华为技术有限公司 Method for network traffic recovery and routing device
CN103095571A (en) * 2013-01-17 2013-05-08 成都西加云杉科技有限公司 Method and system achieving network redundancy and data flow seamless switching
CN103532842A (en) * 2013-10-14 2014-01-22 广州供电局有限公司 High-reliability LTE (long term evolution) transmission system for power distribution network
CN104901882A (en) * 2014-03-06 2015-09-09 中国移动通信集团广东有限公司 Method and device for switching equipment, and server
CN104410570A (en) * 2014-12-16 2015-03-11 北京东土科技股份有限公司 VRRP (virtual router redundancy protocol) based data transmission method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020103530A1 (en) * 2018-11-21 2020-05-28 华为技术有限公司 Communication method and apparatus
CN111211957A (en) * 2018-11-21 2020-05-29 华为技术有限公司 Communication method and device
CN111211957B (en) * 2018-11-21 2021-10-01 华为技术有限公司 Communication method and device
CN114071458A (en) * 2021-11-15 2022-02-18 国网信息通信产业集团有限公司 Distribution network differential protection method and device
CN114710810A (en) * 2022-05-31 2022-07-05 新华三技术有限公司 Data transmission method, device and system
CN114710810B (en) * 2022-05-31 2023-04-25 新华三技术有限公司 Data transmission method, device and system
CN117319254A (en) * 2023-11-29 2023-12-29 广州通则康威科技股份有限公司 Equipment link detection method and device
CN117319254B (en) * 2023-11-29 2024-02-20 广州通则康威科技股份有限公司 Equipment link detection method and device
CN118433759A (en) * 2024-06-24 2024-08-02 新华三技术有限公司 Data transmission method, device, equipment and medium
CN118433759B (en) * 2024-06-24 2024-08-30 新华三技术有限公司 Data transmission method, device, equipment and medium

Also Published As

Publication number Publication date
CN106788921B (en) 2020-08-07

Similar Documents

Publication Publication Date Title
CN106788921A (en) Many CPE redundant links system and methods
CN102724118B (en) Label distribution method and device
CN109803453A (en) A kind of communication means, communication equipment and its communication system
CN109889499A (en) File transmitting method and relevant apparatus
CN106535238A (en) Link switching method and device
CN104253745B (en) A kind of route withdraw method and the network equipment
CN103731842B (en) Wireless relay networking system and method
CN103581025B (en) Method and system for processing routing information and equipment
CN103828481B (en) Data transmission set, communication system and communication means
CN103023773A (en) Method, device and system for forwarding message in multi-topology network
CN103200100A (en) Method and device for packet transmitting
CN107257553A (en) User plane link establishing method, base station and mobility management apparatus
CN101729605B (en) Method and device for bonding WDS links
US20100165831A1 (en) Load balancing and fault protection in aggregation networks
CN102404192A (en) Message transmission method and network equipment
CN103139752B (en) Transmission channel table amending method and device
CN102870381A (en) PCIE switching system, apparatus and switching method
CN104041124B (en) Switch determining method, base station and user equipment
CN104919890A (en) Host base station, lower-order base station, and wireless communication system
CN102857401B (en) Method for activating VLAN (Virtual Local Area Network) negotiation and ED (edge device)
CN105188062B (en) It divulges a secret means of defence and device
CN104412548B (en) The method and apparatus for keeping user equipment (UE) IP address to fix
CN102917386A (en) Device and method for consistency protocol verification of interfaces S1 of LTE (Long Term Evolution) wireless network
CN103391589B (en) Home base station gateway user equipment context method for releasing and system
CN103731322B (en) Method and device for detecting self-adapting link among devices with different capabilities

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