[go: up one dir, main page]

CN111092822A - Method for balancing pw linear protection forwarding load of vpls - Google Patents

Method for balancing pw linear protection forwarding load of vpls Download PDF

Info

Publication number
CN111092822A
CN111092822A CN201911352692.5A CN201911352692A CN111092822A CN 111092822 A CN111092822 A CN 111092822A CN 201911352692 A CN201911352692 A CN 201911352692A CN 111092822 A CN111092822 A CN 111092822A
Authority
CN
China
Prior art keywords
link
forwarding
standby
vpls
load balancing
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.)
Pending
Application number
CN201911352692.5A
Other languages
Chinese (zh)
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.)
Anhui Wantong Post And Telecommunications Co ltd
Original Assignee
Anhui Wantong Post And Telecommunications 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 Anhui Wantong Post And Telecommunications Co ltd filed Critical Anhui Wantong Post And Telecommunications Co ltd
Priority to CN201911352692.5A priority Critical patent/CN111092822A/en
Publication of CN111092822A publication Critical patent/CN111092822A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • 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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for load balancing and forwarding of pw linear protection function traffic of vpls, which comprises the following steps: establishing a linear protection networking environment of vpls; checking and determining that the peer tail nodes of the main link pw and the standby link pw in the vpls instance are the same device; enabling a load balancing function on the pair of pw linear protection groups; when the equipment detects that the aps state is NO _ REQUEST _ NULL, the flow coming from the ac is subjected to load balancing calculation according to an algorithm and is respectively forwarded to tail node equipment from a main link pw and a standby link pw; when the equipment detects that the aps state is SIGNAL _ FAIL _ W, switching all the flow with balanced load on the main link pw and the standby link to the standby link pw for forwarding; when the equipment detects that the aps state is SIGNAL _ FAIL _ P, all the flow with balanced load on the main link pw and the standby link are switched to the main link pw for forwarding. The method for balancing the flow forwarding load of the pw linear protection of the vpls can solve the problem of unbalanced use of device resources on the pw paths of the main and standby links of the pw protection group.

Description

Method for balancing pw linear protection forwarding load of vpls
Technical Field
The invention relates to the technical field of network communication, in particular to a method for balancing pw linear protection forwarding loads of vpls.
Background
At present, the network construction develops at a high speed, more and more services need to be supported by a high-speed network, so that the service convergence speed is very important when the network fails. When any node in the network fails, the service switching of the adjacent nodes is less than 50 milliseconds, and the end-to-end service convergence is less than 1 second, which becomes the threshold level index of the bearer network.
At present, both the MPLS TE FRR technology and the IGP route fast convergence technology cannot solve the problem of fast convergence of end-to-end services when a PE device node fails in a CE dual-homed PE network. The primary and standby pw protection technology of the VPLS is dedicated to solve the problem of end-to-end service convergence of the most common network model, and the convergence time of the end-to-end service under the condition of PE node failure is controlled within 50 milliseconds.
The VPLS protection function is mainly to ensure that VPN flow is quickly switched to a standby link when the main link fails by establishing the main link and the standby link, and ensure the reliability of VPN communication.
The working process is shown in figure 1:
establishing pw linear protection service of VPLS on PE1 and PE 2;
when a fault occurs on a main link pw between PE1-PE2 nodes, service traffic can be rapidly switched to a standby link pw for forwarding;
when the fault on the main link pw is recovered, after the main link pw is up again, the VPLS performs switchback, and switches back the service flow to the main link pw again for forwarding.
However, when the main and standby lines are UP, the traffic forwarding is concentrated on the main link, and the standby link basically is in an idle state except for forwarding a small amount of aps messages and detection protocol messages, so that the devices on the path of the main link pw operate continuously under a high load, and all the devices on the path of the standby link pw are in a low load state.
Disclosure of Invention
The invention aims to provide a pw linear protection forwarding load balancing method for vpls, which can avoid the problem of unbalanced use of device resources on a pw path of a main/standby link of a pw protection group.
In order to realize the purpose, the technical scheme adopted by the invention is as follows: a method for balancing the pw linear protection forwarding load of vpls comprises the following steps:
s100, establishing a linear protection networking environment of vpls;
s200, starting a load balancing function on a pair of pw linear protection groups;
s300, when the main link pw and the standby link pw are not failed, starting a load balancing function, so that the flow is finally forwarded in a load balancing manner on the main link pw and the standby link pw, wherein half of the flow goes through the main link pw and half of the flow goes through the standby link pw;
s400, when the main link pw breaks down, stopping load balance calculation, and completely switching the messages on the main link pw to the standby link pw for forwarding;
s500, when the standby link pw has a fault, stopping the load balancing calculation, and switching all the messages on the standby link pw back to the main link pw for forwarding.
Further, the pair of pw linearities in step S200 needs to check to determine that the peer tail nodes of the primary link pw and the backup link pw in the vpls instance are the same device.
Still further, in step S300, a command is issued to start a load balancing function on the pw protection group, when neither the main link pw nor the backup link pw fails, the aps state is NO _ REQUEST _ NULL, the traffic is finally forwarded in a load balancing manner on the main link pw and the backup link pw, half of the traffic goes through the main link pw, and half of the traffic goes through the backup link pw.
Specifically, the pw protection group performs load balancing calculation according to the destination mac address of the message received by the ac end or other header information of the message.
Further, the step S400 specifically includes: when the main link pw FAILs, aps is in a SIGNAL _ FAIL _ W state, and all the traffic on the main link is switched to the standby link pw for forwarding; after the failure of the main link pw is recovered, the aps state is NO _ REQUEST _ NULL, and according to the calculation rule, the flow on the standby link pw is switched back to half to the main link pw for forwarding.
Still further, the step S500 specifically includes: when the standby link pw FAILs and aps is in a SIGNAL _ FAIL _ P state, all traffic on the standby link is switched back to the main link pw for forwarding; after the fault of the standby link pw is recovered, when the aps state is NO _ REQUEST _ NULL, the traffic on the main link pw is switched by half to the standby link pw for forwarding according to the calculation rule.
Has the advantages that:
compared with the prior art, the method can avoid the problem of unbalanced use of the device resources on the pw paths of the main and standby links of the pw protection group, and has the following specific beneficial effects:
1. when the main link and the standby link pw are both up, according to the invention principle, the flow is transmitted on the main link and the standby link pw in a load balancing manner, so that the utilization rate of the devices on the main link and the standby link pw is ensured to be basically equal;
2. when the main link pw or the standby link pw fails, the reliability of service communication can still be ensured normally.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a usage scenario of an existing VPLS protection function;
FIG. 2 is a diagram of the method steps of the present invention;
FIG. 3 shows an example of the specific configuration of the present invention at two ends pe;
fig. 4 is a specific embodiment of a pw linear protection traffic forwarding load balancing procedure of vpls in the present invention.
Detailed Description
The present invention is further illustrated by the following figures and specific examples, which are to be understood as illustrative only and not as limiting the scope of the invention, which is to be given the full breadth of the appended claims and any and all equivalent modifications thereof which may occur to those skilled in the art upon reading the present specification.
Further description is made with reference to fig. 2, 3, and 4: a method for balancing the pw linear protection forwarding load of vpls comprises the following steps:
s100, establishing a linear protection networking environment of vpls;
s200, a load balancing function is started on a pair of pw linear protection groups, and the pair of pw linear protection groups need to check and determine that the peer tail nodes of a main link pw and a standby link pw in a vpls instance are the same device;
s300, when the main link pw and the standby link pw are not failed, starting a load balancing function, so that the flow is finally forwarded in a load balancing manner on the main link pw and the standby link pw, wherein half of the flow goes through the main link pw and half of the flow goes through the standby link pw; commanding to start a load balancing function on a pw protection group, when neither a main link pw nor a standby link pw fails, enabling aps to be in a NO _ REQUEST _ NULL state, and the pw protection group performing load balancing calculation according to a target mac address of a message received by an ac end or other header information of the message, so that traffic is finally transmitted in a load balancing manner on the main link pw and the standby link pw, and half of the traffic goes through the main link pw and half of the traffic goes through the standby link; the specific configuration method is as follows:
vpls configured in the redundancy-manager mode:
load-balance enable// configuring and starting a load balancing function under a protection management mode under a vpls instance; after the function is started, the load balance calculation is performed according to the destination mac address by default.
load-balance disable// configure the load balancing function off in protection management mode under the vpls instance.
load-balance mode per-destination// configuring and calculating according to the target mac address under the protection management mode under the vpls instance.
Specific configuration examples, only configuration on both ends pe is required,
configuration of PE1 end:
vpls zte
access-point gei-0/8
access-params ethernet
$
$
pseudo-wire pw1
neighbour 2.2.2.2 vcid 1 cw-preferred
encapsulation tagged
$
redundancy-manager
protect-type 1:1 bidirectional receiving both protect-strategy aps
load-balance enable
load-balance mode per-destination
$
$
backup-pw pw2 protect pw1
neighbour 2.2.2.2 vcid 2 cw-preferred
$
$
$
configuration of PE2 end:
vpls zte
access-point gei-0/8
access-params ethernet
$
$
pseudo-wire pw1
neighbour 1.1.1.1 vcid 1 cw-preferred
encapsulation tagged
$
redundancy-manager
protect-type 1:1 bidirectional receiving both protect-strategy aps
load-balance enable
load-balance mode per-destination
$
$
backup-pw pw2 protect pw1
neighbour 1.1.1.1 vcid 2 cw-preferred
$
$
$
in the above configuration, when the load-balance enable is started, whether the protection mode is 1:1 or not must be checked, if the protection mode is not 1:1, an error is prompted when the load-balance enable is configured, and the configuration cannot be issued; after the load-balance enable is started, when a neighbor address in the backup link backup-pw pw2 is configured, whether the neighbor address is the same as the neighbor address in the main link or not needs to be checked, if the neighbor address is not the same, an error is prompted, and the configuration cannot be issued;
s400, when the main link pw breaks down, stopping load balance calculation, and completely switching the messages on the main link pw to the standby link pw for forwarding; when the main link pw FAILs, aps is in a SIGNAL _ FAIL _ W state, and all the traffic on the main link is switched to the standby link pw for forwarding; after the failure of the main link pw is recovered, the aps state is NO _ REQUEST _ NULL, and according to the calculation rule, the flow on the standby link pw is switched back to half to the main link pw for forwarding.
S500, when the backup link pw goes wrong, stopping load balancing calculation, and switching all messages on the backup link pw back to the main link pw for forwarding; when the standby link pw FAILs and aps is in a SIGNAL _ FAIL _ P state, all traffic on the standby link is switched back to the main link pw for forwarding; after the fault of the standby link pw is recovered, when the aps state is NO _ REQUEST _ NULL, the traffic on the main link pw is switched by half to the standby link pw for forwarding according to the calculation rule.
According to the technical scheme, the pw linear protection traffic forwarding load balancing method for vpls can solve the problem of unbalanced use of device resources on the pw paths of the main and standby links of the pw protection group.
The above-mentioned embodiments are only for convenience of description, and are not intended to limit the present invention in any way, and those skilled in the art will understand that the technical features of the present invention can be modified or changed by other equivalent embodiments without departing from the scope of the present invention.

Claims (6)

1. A method for balancing the pw linear protection forwarding load of vpls is characterized in that: the method comprises the following steps:
s100, establishing a linear protection networking environment of vpls;
s200, starting a load balancing function on a pair of pw linear protection groups;
s300, when the main link pw and the standby link pw are not failed, starting a load balancing function, so that the flow is finally forwarded in a load balancing manner on the main link pw and the standby link pw, wherein half of the flow goes through the main link pw and half of the flow goes through the standby link pw;
s400, when the main link pw breaks down, stopping load balance calculation, and completely switching the messages on the main link pw to the standby link pw for forwarding;
s500, when the standby link pw has a fault, stopping the load balancing calculation, and switching all the messages on the standby link pw back to the main link pw for forwarding.
2. The method for pw linear protection forwarding load balancing of vpls according to claim 1, wherein: the pair of pw linearities in step S200 needs to check to determine that the peer tail nodes of the primary link pw and the backup link pw in the vpls instance are the same device.
3. The method for pw linear protection forwarding load balancing of vpls according to claim 2, wherein: in step S300, a command is issued to start a load balancing function on the pw protection group, when neither the primary link pw nor the backup link pw fails, the aps state is NO _ REQUEST _ NULL, and the traffic is finally forwarded in a load balancing manner on the primary link pw and the backup link pw, and half of the traffic goes through the primary link pw and half of the traffic goes through the backup link pw.
4. The method for pw linear protection forwarding load balancing of vpls in claim 3, wherein: and the pw protection group performs load balancing calculation according to the destination mac address of the message received by the ac end or other header information of the message.
5. The method for pw linear protection forwarding load balancing of vpls according to claim 4, wherein: the step S400 specifically includes: when the main link pw FAILs, aps is in a SIGNAL _ FAIL _ W state, and all the traffic on the main link is switched to the standby link pw for forwarding; after the failure of the main link pw is recovered, the aps state is NO _ REQUEST _ NULL, and according to the calculation rule, the flow on the standby link pw is switched back to half to the main link pw for forwarding.
6. The method for pw linear protection forwarding load balancing of vpls according to claim 4, wherein: the step S500 specifically includes: when the standby link pw FAILs and aps is in a SIGNAL _ FAIL _ P state, all traffic on the standby link is switched back to the main link pw for forwarding; after the fault of the standby link pw is recovered, when the aps state is NO _ REQUEST _ NULL, the traffic on the main link pw is switched by half to the standby link pw for forwarding according to the calculation rule.
CN201911352692.5A 2019-12-25 2019-12-25 Method for balancing pw linear protection forwarding load of vpls Pending CN111092822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911352692.5A CN111092822A (en) 2019-12-25 2019-12-25 Method for balancing pw linear protection forwarding load of vpls

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911352692.5A CN111092822A (en) 2019-12-25 2019-12-25 Method for balancing pw linear protection forwarding load of vpls

Publications (1)

Publication Number Publication Date
CN111092822A true CN111092822A (en) 2020-05-01

Family

ID=70397164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911352692.5A Pending CN111092822A (en) 2019-12-25 2019-12-25 Method for balancing pw linear protection forwarding load of vpls

Country Status (1)

Country Link
CN (1) CN111092822A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315699A (en) * 2021-05-17 2021-08-27 Ut斯达康通讯有限公司 Multi-master multi-standby fast rerouting system and method for distinguishing priority
CN113542051A (en) * 2021-05-27 2021-10-22 贵州电网有限责任公司 Monitoring flow load balancing method based on software defined network
CN113783791A (en) * 2020-06-10 2021-12-10 中国移动通信集团山东有限公司 Transmission control method, device and transmission device applicable to packet transport network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582834A (en) * 2008-05-16 2009-11-18 华为技术有限公司 Updating method, equipment and system of forwarding table during service transmission of Ethernet
WO2014040553A1 (en) * 2012-09-14 2014-03-20 中兴通讯股份有限公司 Method, system and apparatus for establishing communication link

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582834A (en) * 2008-05-16 2009-11-18 华为技术有限公司 Updating method, equipment and system of forwarding table during service transmission of Ethernet
WO2014040553A1 (en) * 2012-09-14 2014-03-20 中兴通讯股份有限公司 Method, system and apparatus for establishing communication link

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783791A (en) * 2020-06-10 2021-12-10 中国移动通信集团山东有限公司 Transmission control method, device and transmission device applicable to packet transport network
CN113315699A (en) * 2021-05-17 2021-08-27 Ut斯达康通讯有限公司 Multi-master multi-standby fast rerouting system and method for distinguishing priority
CN113315699B (en) * 2021-05-17 2022-05-17 Ut斯达康通讯有限公司 Multi-master multi-standby fast rerouting system and method for distinguishing priority
CN113542051A (en) * 2021-05-27 2021-10-22 贵州电网有限责任公司 Monitoring flow load balancing method based on software defined network

Similar Documents

Publication Publication Date Title
US10594512B2 (en) Access network dual path connectivity
US8588060B2 (en) E-spring (G.8032) interworking to provide access protection
CN101877665B (en) Ring network protecting method, network node and ring network
CN101999224B (en) Redundant Ethernet automatic protection switching access to virtual private lan services
CN101702658B (en) Implement method of ring network protection and system thereof
US10110475B2 (en) Restoration method for an MPLS ring network
CN111092822A (en) Method for balancing pw linear protection forwarding load of vpls
CN102780615B (en) Link backup method and routing forwarding device
CN107332683A (en) A kind of link switch-over method and system
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
CN108337144A (en) The metropolitan areas TD-LTE return network, path protecting method
US8705346B2 (en) Method and system for joint detection of Ethernet part segment protection
CN109936508A (en) A method and device for processing network congestion
AU2011229566A1 (en) Load sharing method and apparatus
US8738960B2 (en) Local protection method of ethernet tunnel and sharing node of work sections of protection domain
US10164823B2 (en) Protection method and system for multi-domain network, and node
CN103973498B (en) A kind of many home network active-standby path systems of selection and equipment
WO2011011934A1 (en) Method and apparatus for ethernet tunnel segmentation protection
CN102857423A (en) Service flow transferring method and node in distributed link polymerization system
WO2017124685A1 (en) Service forwarding method and apparatus
CN206559379U (en) Electric power terminal communication access net EPA looped network binode access infrastructure
CN106559331B (en) Message transmission method, device and network system in MSTP (Multi-service transport platform) network
WO2017124722A1 (en) Method and apparatus for forwarding pseudo wire service
CN106656634A (en) Power terminal communicated interface network industrial Ethernet looped network double-node access structure
CN101702683A (en) A method and device for implementing port fast rerouting

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200501

RJ01 Rejection of invention patent application after publication