CN105743762A - Message forwarding method and equipment in VPLS network - Google Patents

Message forwarding method and equipment in VPLS network Download PDF

Info

Publication number
CN105743762A
CN105743762A CN201610176568.8A CN201610176568A CN105743762A CN 105743762 A CN105743762 A CN 105743762A CN 201610176568 A CN201610176568 A CN 201610176568A CN 105743762 A CN105743762 A CN 105743762A
Authority
CN
China
Prior art keywords
strategy
forwarding
path
message
policybased routing
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
CN201610176568.8A
Other languages
Chinese (zh)
Other versions
CN105743762B (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201610176568.8A priority Critical patent/CN105743762B/en
Publication of CN105743762A publication Critical patent/CN105743762A/en
Application granted granted Critical
Publication of CN105743762B publication Critical patent/CN105743762B/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/252Store and forward routing

Abstract

The invention discloses a message forwarding method in a VPLS network. The method comprises the following steps that: network equipment receives a message and judges whether the message is configured with strategy routing or not; if the message is configured with the strategy routing, whether the message accords with a matching strategy included in a strategy routing forwarding table created by the strategy routing or not can be judged; if the message accords with the matching strategy, the network equipment determines next-hop network equipment according to the forwarding strategy corresponding to the matching strategy, and encapsulates the message according to VPLS forwarding information recorded in the forwarding strategy; and the network equipment forwards the encapsulated message to the next-hop network equipment. The invention further provides the network equipment. The message forwarding method and equipment disclosed by the invention have the benefits that: network implementation requirements of point-to-point and point-to-multi-point message forwarding can be realized without additionally increasing the network equipment or constructing complex networking configuration in the original VPLS network; by means of the strategy routing forwarding manner, the forwarding efficiency is higher than that of MAC address searching; and thus, the message forwarding efficiency can be increased.

Description

Message forwarding method and equipment in a kind of VPLS network
Technical field
The invention belongs to data communication field, particularly relate to a kind of message forwarding method being applied in VPLS network and equipment.
Background technology
VPLS (VirtualPrivateLANService, Virtual Private LAN Service) is a kind of L2VPN (VirtualPrivateNetwork, the Virtual Private Network) business provided in common network.VPLS makes the user site geographically isolated can pass through MAN (MetropolitanAreaNetwork, Metropolitan Area Network (MAN)) or WAN (WideAreaNetwork, wide area network) it is connected, service provider utilizes VPLS technology at MPLS (Multi-ProtocolLabelSwitching, multiprotocol label switching) backbone network simulates an Ethernet bridge for user network, add VLAN mark based on MAC Address or MAC Address and search forward-path, if clear and definite forward-path can not be found, then adopt the mode of broadcast, message is sent to other all site apparatus.
Owing to the message in VPLS network forwards the routing mode adopting similar LAN, it has the disadvantage in that
1, for current VPLS network, if routing success, point-to-point forwarding can only be realized, if routing failure, could only broadcasting packet.The message pass-through mode of point-to-multipoint can not be realized, be about to the message received, be sent to the multiple equipment specified respectively;
2, the routing that do not need of similar VPWS (VirtualPrivateWireService) function, direct point-to-point forwarding can not be realized;
3, can only according to target MAC (Media Access Control) address routing, it is impossible to determine forward-path according to other modes such as the priority of message;
4, adopting the mode that MAC Address is searched, routing is inefficient.
Current VPLS network is widely used, the demand of the various application of the network of VPLS is also not limited solely to the forwarding of simple Emulated LAN, the message pass-through mode of the current point-to-point realizing point-to-multipoint or similar VPWS function in VPLS network, the main mode using point-to-point for each or point-to-multipoint network demand to create a VPLS example realizes, if using the incoming interface that multiple VPLS example E-Packets identical, then the VLAN mark carried according to message is needed to judge the VPLS example belonging to message.The method not only needs to configure multiple VPLS forwarding instance, also need to divide different VLAN marks for different VPLS examples, therefore the data stream that equipment is demand being also required to access VPLS network plans different VLAN marks, and its networking planning is complex, is not easy to extension.
To sum up, due to the intrinsic forwarding defect of VPLS network, point-to-point or point-to-multipoint real-time performance demand to be realized, it is necessary to increase corresponding configuration and auxiliary equipment and plan the access device used in VPLS network, realize difficulty and restriction is more, be unfavorable for that VPLS network extends.And using the target MAC (Media Access Control) address routing of message in current VPLS network, owing to MAC Address has 48, therefore forward efficiency is very low.Additionally, current VPLS network determines the effective means of message forwarding path also without attributes such as the priority according to message, also limit the application function that VPLS network provides new more flexibly.
Summary of the invention
The invention provides the method that realizes of policybased routing in a kind of VPLS network and device, to solve due to the intrinsic forwarding defect of VPLS network, realize point-to-point or point-to-multipoint real-time performance demand, it is accomplished by increasing corresponding configuration and auxiliary equipment and planning the access device used in VPLS network, realize difficulty and restriction is more, it is unfavorable for the problem that VPLS network extends, policybased routing is applied in VPLS network, it is achieved the real-time performance demand of point-to-point or point-to-multipoint.
Present invention is primarily targeted at message forwarding method in a kind of VPLS network of offer, described method includes:
The network equipment receives message, judge whether described message is configured with policybased routing, in this way, then judge whether described message meets the matching strategy that the policybased routing forward table of described policybased routing establishment includes, described policybased routing forward table includes described matching strategy and a forwarding strategy corresponding to described matching strategy, and described forwarding strategy includes outbound path information;
If described message meets described matching strategy, the described network equipment then determines next-hop network equipment according to the forwarding strategy that described matching strategy is corresponding, and according to the Virtual Private LAN Service VPLS forwarding information encapsulated message of record in described forwarding strategy;
The described network equipment to described next-hop network device forwards encapsulate after message.
Further, the described network equipment receives before message, and described method also includes: the described network equipment is strategy reason configurations match strategy and configuration forwarding strategy, and what described matching strategy included specifying message to be matched enters path;Described forwarding strategy includes specifying one or more effective outbound paths for message;
Described policybased routing creates the policybased routing forward table comprising matching strategy and forwarding strategy.
Further, described network equipments configuration matching strategy specifically includes:
The described network equipment is specified into path for message to be matched in matching strategy, and is saved in by described matching strategy in the policybased routing of correspondence;
To described enter path effectiveness judge, when described enter path effective time, it is judged that whether described policybased routing is configured with forwarding strategy;
When described policybased routing is configured with forwarding strategy, and when in described forwarding strategy, the outbound path of configuration is effective, the configuration information construction strategy route forwarding table according to described matching strategy and described forwarding strategy.
Further, described network equipments configuration forwarding strategy specifically includes:
The described network equipment specifies one or more effective outbound paths for message in forwarding strategy, and is saved in by described forwarding strategy in the policybased routing of correspondence;
The effectiveness of described outbound path is judged, when described outbound path is effective, it is judged that whether described policybased routing is configured with matching strategy;
When described policybased routing is configured with matching strategy, and in described matching strategy configuration enter path effective time, configuration information construction strategy route forwarding table according to described matching strategy and described forwarding strategy, and in described policybased routing forward table, record VPLS forward table information.
Further, to described enter path effectiveness carry out judgement and specifically include: VPLS forwarding information manage traversal in module search described in enter whether path exists the VPLS forward table of correspondence, if existing, then enter path described in effective, enter path described in otherwise invalid;
The effectiveness of described outbound path is carried out judgement specifically include: managing traversal in module at VPLS forwarding information and search whether described outbound path exists the VPLS forward table of correspondence, if existing, then described outbound path is effective, and otherwise described outbound path is invalid.
Further, described method also includes: response VPLS forward table change message, updates policybased routing forward table, specifically includes:
After the network equipment receives VPLS forward table change message, according to the identification information of policybased routing in VPLS example, the policybased routing being arranged in described VPLS example is judged, in the matching strategy that the policybased routing forward table created when described policybased routing includes configuration to enter path identical with the forward-path specified in described VPLS forward table change message, and when in forwarding strategy corresponding to described matching strategy, the outbound path of configuration is effective, according to the judgement of VPLS forward table change message, enter the effectiveness situation of change in path, update policybased routing forward table;And/or,
After the network equipment receives VPLS forward table change message, according to the identification information of policybased routing in VPLS example, the policybased routing being arranged in described VPLS example is judged, in the forwarding strategy that the policybased routing forward table created when described policybased routing includes, the outbound path of configuration is identical with the forward-path specified in described VPLS forward table change message, and in matching strategy corresponding to described forwarding strategy configuration enter path effective time, judge the effectiveness situation of change of described outbound path according to VPLS forward table change message, update policybased routing forward table.
Another object of the present invention also resides in a kind of network equipment of offer, and described equipment includes:
Message receiver module, is used for receiving message;
Policybased routing identification module, for judging whether described message is configured with policybased routing, in this way, then trigger policy route forwarding table management module judges whether described message meets the matching strategy that the policybased routing forward table of described policybased routing establishment includes, described policybased routing forward table includes described matching strategy and a forwarding strategy corresponding to described matching strategy, and described forwarding strategy includes outbound path information;
Policybased routing forward table management module, for judging whether described message meets the matching strategy that the policybased routing forward table of described policybased routing establishment includes;If described message meets described matching strategy, then determine next-hop network equipment according to the forwarding strategy that described matching strategy is corresponding, and trigger message sending module according to the VPLS forwarding information encapsulated message of record in described forwarding strategy;
Message sending module, the message after encapsulating to described next-hop network device forwards for the described network equipment.
Further, described equipment also includes:
Configuration module, for for policybased routing configurations match strategy and configuration forwarding strategy, what described matching strategy included specifying message to be matched enters path;Described forwarding strategy includes specifying one or more effective outbound paths for message;
VPLS forwarding information management module, for Management VPLS forward table information;
Policybased routing forward table management module, is additionally operable to create the policybased routing forward table including matching strategy and forwarding strategy.
Further, described configuration module includes:
Matching strategy configuration module, for specifying into path for message to be matched in matching strategy, and is saved in described matching strategy in the policybased routing of correspondence;
Path Recognition module, for described enter path Effective judgement, when described enter path effective time, trigger forwarding strategy identification module judge whether described policybased routing is configured with forwarding strategy;
Forwarding strategy identification module, is used for judging whether be configured with forwarding strategy in described policybased routing, when being configured with forwarding strategy in described policybased routing, then triggers Path Recognition module and judges the effectiveness of the outbound path of configuration in described forwarding strategy;
Described Path Recognition module, is additionally operable to the effectiveness of described outbound path is judged, when described outbound path is effective, and the trigger policy route forwarding table management module configuration information construction strategy route forwarding table according to described matching strategy and described forwarding strategy;
Described policybased routing forward table management module, is additionally operable to the configuration information construction strategy route forwarding table according to described matching strategy and described forwarding strategy.
Further, described configuration module also includes:
Forwarding strategy configuration module, for specifying one or more effective outbound paths for message in forwarding strategy, and is saved in described forwarding strategy in the policybased routing of correspondence;
Described Path Recognition module, is additionally operable to the effectiveness of described outbound path is judged, when described outbound path is effective, whether is configured with matching strategy in trigger match strategy identification module determination strategy route;
Whether matching strategy identification module, be configured with matching strategy in routeing for determination strategy, when being configured with matching strategy in described policybased routing, triggers Path Recognition module and judges the effectiveness entering path of configuration in described matching strategy;
Described Path Recognition module, be additionally operable to described enter path effectiveness judge, when described enter path effective time, trigger policy route forwarding table management the module configuration information construction strategy route forwarding table according to described matching strategy and described forwarding strategy;
Described policybased routing forward table management module, is additionally operable to the configuration information construction strategy route forwarding table according to described matching strategy and described forwarding strategy, and records VPLS forward table information in described policybased routing forward table.
Further, described Path Recognition module, for judging entering route availability, specifically include: manage traversal in module at VPLS forwarding information and search the VPLS forward table that whether there is correspondence into path, if existing, then enter path described in effective, enter path described in otherwise invalid;
Described Path Recognition module, for outbound path effectiveness is judged, specifically include: manage traversal in module at VPLS forwarding information and search whether described outbound path exists the VPLS forward table of correspondence, if existing, then described outbound path is effective, and otherwise described outbound path is invalid.
Further, described configuration module also includes VPLS forward table change message respond module, is used for responding VPLS forward table change message, updates policybased routing forward table;
Described policybased routing identification module, after being additionally operable to receive VPLS forward table change message, judges the policybased routing being arranged in described VPLS example according to the identification information of policybased routing in VPLS example;
Described Path Recognition module, be additionally operable to work as in the matching strategy that includes of policybased routing forward table that described policybased routing creates configuration to enter path identical with the forward-path specified in described VPLS forward table change message, and when in forwarding strategy corresponding to described matching strategy, the outbound path of configuration is effective, trigger policy route forwarding table management module enters the effectiveness situation of change in path according to the judgement of VPLS forward table change message, updates policybased routing forward table;
Described policybased routing forward table management module, is additionally operable to enter the effectiveness situation of change in path according to the judgement of VPLS forward table change message, updates policybased routing forward table;
And/or,
Described Path Recognition module, it is additionally operable to when in the forwarding strategy that the policybased routing forward table that described policybased routing creates includes, the outbound path of configuration is identical with the forward-path specified in described VPLS forward table change message, and in matching strategy corresponding to described forwarding strategy configuration enter path effective time, trigger policy route forwarding table management module judges the effectiveness situation of change of described outbound path according to VPLS forward table change message, updates policybased routing forward table;
Described policybased routing forward table management module, is additionally operable to judge according to VPLS forward table change message the effectiveness situation of change of described outbound path, updates policybased routing forward table.
The invention have the benefit that in existing VPLS network without additionally increasing the networking configuration of the network equipment or structure complexity, point-to-point and the forwarding of point-to-multipoint message real-time performance demand can be realized.Using policybased routing pass-through mode of the present invention, forward efficiency is searched higher than MAC Address, improves the forward efficiency of message.
Accompanying drawing explanation
Fig. 1 is embodiment of the present invention message forwarding method flow chart in VPLS network;
Fig. 2 is embodiment of the present invention method flow diagram of configurations match strategy in policybased routing;
Fig. 3 is the method flow diagram that the embodiment of the present invention configures forwarding strategy in policybased routing;
Fig. 4 is the method flow diagram of embodiment of the present invention response VPLS forward table change information;
Fig. 5 is the structured flowchart of equipment described in the embodiment of the present invention;
Fig. 6 is the structured flowchart configuring module described in the embodiment of the present invention.
Detailed description of the invention
For making technical scheme clearly understand, in conjunction with accompanying drawing, the present invention is described in further details:
The application in Virtual Private LAN Service VPLS network of the embodiment of the present invention implementation strategy route, the network equipment needs the feature according to VPLS network configurations match strategy and configuration forwarding strategy in policybased routing.What described matching strategy included specifying message to be matched enters path;Described forwarding strategy includes specifying one or more effective outbound paths for message.The matching strategy of policybased routing and the configuration sequence of forwarding strategy are in no particular order, for improving forward efficiency, avoiding meaningless operation, the path specified in the matching strategy of policybased routing and forwarding strategy must be all effective in VPLS network, just can construction strategy route forwarding table.When message forwards, preferentially strategically route processing message, if it fails to match for policybased routing, re-use former VPLS pass-through mode and forward.
Embodiment 1
Process is implemented below in conjunction with what accompanying drawing illustrated the message forwarding method being applied in VPLS network of the present invention,
As it is shown in figure 1, in the present invention, after the network equipment receives message, preferential implementation strategy route processing, if non-collocation strategy route, then E-Packet according to former VPLS forwarding process.The step that implements of implementation strategy route processing includes:
Step 101, the network equipment receives message, judge whether described message is configured with policybased routing, in this way, then judge whether described message meets the matching strategy that the policybased routing forward table of described policybased routing establishment includes, specifically include: search the matching strategy that the policybased routing forward table of described policybased routing establishment includes, determine described VPLS message enter matching strategy that whether path include with policybased routing forward table to enter path identical, if it is identical, other occurrence matching messages of the matching strategy that then strategically route forwarding table includes, if mating or not configuring other occurrences, then described message meets described matching strategy.In this step, if non-collocation strategy route, then forward according to former VPLS forwarding process.
Described policybased routing forward table includes described matching strategy and a forwarding strategy corresponding to described matching strategy, and described forwarding strategy includes outbound path information.
If the described message of step 102 meets described matching strategy, the described network equipment then determines next-hop network equipment according to the forwarding strategy that described matching strategy is corresponding, and according to the VPLS forwarding information encapsulated message of record in described forwarding strategy;Wherein, if the forwarding strategy of policybased routing forward table exists a plurality of effective outbound path, then message is E-Packeted to every outbound path one by one.In this step, if described message does not meet described matching strategy, then forward according to former VPLS forwarding process.
Step 103, the described network equipment to described next-hop network device forwards encapsulate after message.
The described network equipment receives before message, and described method also includes: the described network equipment is strategy reason configurations match strategy and configuration forwarding strategy, and what described matching strategy included specifying message to be matched enters path;Described forwarding strategy includes specifying one or more effective outbound paths for message;
Described policybased routing creates the policybased routing forward table comprising matching strategy and forwarding strategy.
The matching strategy of described network equipment configuration strategic route, as in figure 2 it is shown, specifically include:
What step 201, the network equipment specified message to be matched in matching strategy enters path and occurrence, and is saved in by described matching strategy in the policybased routing of correspondence.Needing exist for first specifying the VPLS of message to be matched to enter path, further configure from other occurrences specifying VPLS to enter the message that path receives, other occurrences can be message priority, message length etc..What wherein have to configure message to be matched enters path, it is possible to do not configure other occurrences, if not configuring other occurrences, then it represents that from specifying the message acquiescence coupling received into path.
The effectiveness in path is entered described in step 202, judgement.Further, the effectiveness entering path described in judgement specifically includes: traversal searches VPLS forwarding information management module, if entering, described in managing at VPLS forwarding information module can find, the VPLS forward table that path is corresponding, path is entered effective described in then, go to step 203, enter path described in otherwise invalid, go to step 205.
If it is effective to enter path described in step 203, then judge whether described policybased routing is configured with forwarding strategy.If do not configured, then going to step 205, otherwise, it is judged that the effectiveness of the outbound path of configuration in forwarding strategy, if described outbound path is invalid, then going to step 205, if described outbound path is effective, then going to step 204.
Step 204, configuration information according to described matching strategy and described forwarding strategy, construction strategy route forwarding table.
Step 205, the entering path the state of validity and exit process of record matching strategy.
The matching strategy of Utilization strategies route in embodiments of the present invention, it is possible to achieve provide diversified routing mode, such as specifies forward-path or dropping packets, extends the VPLS business scope of application according to information such as network congestion, the priority of message, length.
Message for being configured with the matching strategy of policybased routing configures the forward-path specified, it is possible to specify one or more, if specifying one, then message can mail to this forward-path specified, and realizes point-to-point message with this and forwards;If specifying a plurality of, then message can mail to a plurality of forward-path specified respectively, forwards with the message that this realizes point-to-multipoint.
The forwarding strategy of network equipment configuration strategic route, as it is shown on figure 3, specifically include:
Step 301, in forwarding strategy for message specify one or more effective outbound paths, and described forwarding strategy is saved in correspondence policybased routing in.If specifying multiple outbound path, then forwarding process needs to send a message to each effective outbound path.
Step 302, judge the effectiveness of described outbound path.Further, judge that the effectiveness of described outbound path specifically includes: traversal searches VPLS forwarding information management module, if managing in module at VPLS forwarding information and can finding the VPLS forward table that described outbound path is corresponding, then described outbound path is effective, go to step 303, otherwise described outbound path is invalid, goes to step 305.Further, if by searching VPLS forwarding information management module, it is determined that find the VPLS forward table that outbound path that forwarding strategy configure is corresponding, then record VPLS forward table information in policybased routing forward table, including outgoing label, outgoing interface etc..
If the described outbound path of step 303 is effective, then whether determination strategy route is configured with matching strategy.If do not configured, then go to step 305, otherwise, it is judged that the effectiveness entering path of configuration in matching strategy, if described in enter path invalid, then go to step 305, if described in enter path effective, then go to step 304.
Step 304, configuration information according to matching strategy and forwarding strategy, construction strategy route forwarding table.
Step 305, the record outbound path the state of validity of forwarding strategy also exit process.
nullIn embodiments of the present invention,Matching strategy configuration VPLS forward-path enter path,The outbound path of forwarding strategy configuration VPLS forward-path,The VPLS forward-path of the matching strategy of policybased routing and forwarding strategy configuration is divided into two kinds,One is AC (AttachmentCircuit,Access circuit),One is PW (PseudoWire,Virtual link),Described forward-path includes into path and outbound path,Only manage the module creation forward table corresponding for AC or PW with policybased routing configuration in VPLS forward table,Just think that what arrange in policybased routing enters、Outbound path is effective,Just can create the policybased routing forward table of correspondence,Therefore,When AC or PW effectiveness changes,VPLS forward table management module needs to send forward-path more new events,Policybased routing needs response,And update policybased routing forward table.
The matching strategy of collocation strategy route and forwarding strategy are with building VPLS network without sequencing requirement, therefore, after completing policybased routing configuration, when there is VPLS forward table information change in VPLS network, need to notice VPLS forward table change message to policybased routing, policybased routing needs the effectiveness entering path, outbound path of matching strategy and the forwarding strategy configuration routeing with this determination strategy, and then updates policybased routing forward table.
Network equipment response VPLS forward table change message, updates policybased routing forward table, as shown in Figure 4, specifically includes:
Step 401, the network equipment receive VPLS forward table change message, find the policybased routing being arranged in this VPLS example according to the identification information of policybased routing in VPLS example.It was additionally included in VPLS example before this step and enables policybased routing, policybased routing mark belonging to VPLS forward table management module records VPLS example.
Step 402, inquire about the matching strategy that includes of policybased routing forward table that described policybased routing creates, judge the matching strategy configuration that described policybased routing forward table includes whether enter path identical with the forward-path specified in VPLS forward table change message, if described in enter path identical with the forward-path specified in VPLS forward table change message, then go to step 403, otherwise go to step 405.
Step 403, inquire about the forwarding strategy that described matching strategy is corresponding, it is judged that the effectiveness of the outbound path of described forwarding strategy configuration, if described outbound path is effective, then goes to step 304, otherwise, go to step 305.
Step 404, judge that according to VPLS forward table change message the route availability situation of change that enters that matching strategy configures updates policybased routing forward table, if entering route availability and being become effectively from invalid, the then configuration information according to matching strategy and forwarding strategy, construction strategy route forwarding table.If it is invalid from effectively becoming to enter route availability, then delete the policybased routing forward table created.Then, 405 are gone to step.
Step 405, inquire about the forwarding strategy that includes of policybased routing forward table that described policybased routing creates, judge that whether the outbound path that described forwarding strategy configures is identical with the forward-path specified in VPLS forward table change message, if described outbound path is identical with the forward-path specified in VPLS forward table change message, then enter step 407, otherwise, step 406 is entered.
Step 406, without wanting processing forward strategy, exit process.
Step 407, inquire about the matching strategy that described forwarding strategy is corresponding, judge the effectiveness entering path that described matching strategy configures, if described in enter path effective, then enter step 409, if described in enter path invalid, represent the policybased routing forward table that there is currently no correspondence, it is not necessary to update policybased routing forward table.Then enter step 408.
Step 408, the record outbound path the state of validity of forwarding strategy also exit process.
Step 409, judge that according to VPLS forward table change message the outbound path effectiveness situation of change that forwarding strategy configures updates policybased routing forward table, if outbound path effectiveness is become effectively from invalid, the then configuration information according to matching strategy and forwarding strategy, construction strategy route forwarding table.If outbound path effectiveness is invalid from effectively becoming, then delete the policybased routing forward table created.Further, if the outbound path effectiveness of forwarding strategy configuration is become effectively from invalid, then in policybased routing forward table, VPLS forward table information is recorded, including outgoing label, outgoing interface etc..
Embodiment 2
As it is shown in figure 5, the embodiment of the present invention also provides for a kind of network equipment, described equipment includes:
Message receiver module 50, is used for receiving message;
Policybased routing identification module 51, is used for judging whether described message is configured with policybased routing, and in this way, then trigger policy route forwarding table management module judges whether described message meets the matching strategy that the policybased routing forward table of described policybased routing establishment includes,
Policybased routing forward table management module 52, for judging whether described message meets the matching strategy that the policybased routing forward table of described policybased routing establishment includes;If described message meets described matching strategy, then determine next-hop network equipment according to the forwarding strategy that described matching strategy is corresponding, and trigger message sending module according to the VPLS forwarding information encapsulated message of record in described forwarding strategy;
Message sending module 53, the message after encapsulating to described next-hop network device forwards for the described network equipment.
Described equipment also includes: configuration module 54, and for for policybased routing configurations match strategy and configuration forwarding strategy, what described matching strategy included specifying message to be matched enters path;Described forwarding strategy includes specifying one or more effective outbound paths for message;
VPLS forwarding information management module 55, for Management VPLS forward table information;
Policybased routing forward table management module 52, is additionally operable to create the policybased routing forward table including matching strategy and forwarding strategy.
As shown in Figure 6, described configuration module 54 includes:
Matching strategy configuration module 541, for specifying into path for message to be matched in matching strategy, and is saved in described matching strategy in the policybased routing of correspondence;
Path Recognition module 542, for described enter path effectiveness judge, when described enter path effective time, trigger forwarding strategy identification module judge whether described policybased routing is configured with forwarding strategy;
Forwarding strategy identification module 543, is used for judging whether be configured with forwarding strategy in described policybased routing, when being configured with forwarding strategy in described policybased routing, triggers Path Recognition module and judges the effectiveness of the outbound path of configuration in described forwarding strategy;
Described Path Recognition module 542, for the effectiveness of described outbound path is judged, when described outbound path is effective, the trigger policy route forwarding table management module configuration information construction strategy route forwarding table according to matching strategy and forwarding strategy;
Described policybased routing forward table management module 52, is additionally operable to the configuration information construction strategy route forwarding table according to described matching strategy and described forwarding strategy.
Described configuration module 54 also includes:
Forwarding strategy configuration module 544, for specifying one or more effective outbound paths for message in forwarding strategy, and is saved in described forwarding strategy in the policybased routing of correspondence;
Described Path Recognition module 542, is additionally operable to the effectiveness of described outbound path is judged, when described outbound path is effective, whether is configured with matching strategy in trigger match strategy identification module 545 determination strategy route;
Whether matching strategy identification module 545, be configured with matching strategy in routeing for determination strategy, when being configured with matching strategy in described policybased routing, triggers Path Recognition module 542 and judges the effectiveness entering path of configuration in described matching strategy;
Path Recognition module 542, for judging entering the effectiveness in path described in judging, if when described enter path effective time, then the trigger policy route forwarding table management module 52 configuration information construction strategy route forwarding table according to matching strategy and forwarding strategy;
Described policybased routing forward table management module 52, is additionally operable to the configuration information construction strategy route forwarding table according to described matching strategy and described forwarding strategy, and records VPLS forward table information in described policybased routing forward table.
Described Path Recognition module 542, for judging entering route availability, specifically include: manage traversal in module at VPLS forwarding information and search the VPLS forward table that whether there is correspondence into path, if existing, enter path described in then effective, enter path described in otherwise invalid;
Described Path Recognition module 542, for outbound path effectiveness is judged, specifically include: manage traversal in module at VPLS forwarding information and search whether described outbound path exists the VPLS forward table of correspondence, if existing, then described outbound path is effective, and otherwise described outbound path is invalid.
Described configuration module 54 also includes VPLS forward table change message respond module 546, is used for responding VPLS forward table change message, updates policybased routing forward table;
Described policybased routing identification module 51, after being additionally operable to receive VPLS forward table change message, judges the policybased routing being arranged in described VPLS example according to the identification information of policybased routing in VPLS example;
Described Path Recognition module 542, be additionally operable to work as in the matching strategy that includes of policybased routing forward table that described policybased routing creates configuration to enter path identical with the forward-path specified in described VPLS forward table change message, and when in forwarding strategy corresponding to described matching strategy, the outbound path of configuration is effective, trigger policy route forwarding table management module 52 enters the effectiveness situation of change in path according to the judgement of VPLS forward table change message, updates policybased routing forward table;
When in the matching strategy that the policybased routing forward table that described policybased routing creates includes configuration enter path different from the forward-path specified in described VPLS forward table change message time, it is judged that whether the outbound path configured in the forwarding strategy that includes of policybased routing forward table that described policybased routing creates identical with the forward-path specified in VPLS forward table change message.
Described policybased routing forward table management module 52, is additionally operable to enter the effectiveness situation of change in path according to the judgement of VPLS forward table change message, updates policybased routing forward table.Herein, if described in enter route availability and become effectively from invalid, then the configuration information construction strategy route forwarding table according to the matching strategy of policybased routing and forwarding strategy;If described in enter route availability invalid from effectively becoming, then delete the policybased routing forward table created.
And/or, described Path Recognition module 542, it is additionally operable to when in the forwarding strategy that the policybased routing forward table that described policybased routing creates includes, the outbound path of configuration is identical with the forward-path specified in described VPLS forward table change message, and in matching strategy corresponding to described forwarding strategy configuration enter path effective time, trigger policy route forwarding table management module judges the effectiveness situation of change of described outbound path according to VPLS forward table change message, updates policybased routing forward table;
Described policybased routing forward table management module 52, it is additionally operable to judge the effectiveness situation of change of described outbound path according to VPLS forward table change message, update policybased routing forward table, if described outbound path effectiveness is become effectively from invalid, the then configuration information construction strategy route forwarding table according to the matching strategy of policybased routing and forwarding strategy, and in policybased routing forward table, record VPLS forward table information;If described outbound path effectiveness is invalid from effectively becoming, then delete the policybased routing forward table created.
The above; being only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; change can be readily occurred in or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (12)

1. message forwarding method in a VPLS network, it is characterised in that described method includes:
The network equipment receives message, judge whether described message is configured with policybased routing, in this way, then judge whether described message meets the matching strategy that the policybased routing forward table of described policybased routing establishment includes, described policybased routing forward table includes described matching strategy and a forwarding strategy corresponding to described matching strategy, and described forwarding strategy includes outbound path information;
If described message meets described matching strategy, the described network equipment then determines next-hop network equipment according to the forwarding strategy that described matching strategy is corresponding, and according to the Virtual Private LAN Service VPLS forwarding information encapsulated message of record in described forwarding strategy;
The described network equipment to described next-hop network device forwards encapsulate after message.
2. method according to claim 1, it is characterized in that, the described network equipment receives before message, and described method also includes: the described network equipment is strategy reason configurations match strategy and configuration forwarding strategy, and what described matching strategy included specifying message to be matched enters path;Described forwarding strategy includes specifying one or more effective outbound paths for message;Described policybased routing creates the policybased routing forward table comprising matching strategy and forwarding strategy.
3. method according to claim 2, it is characterised in that described network equipments configuration matching strategy specifically includes:
The described network equipment is specified into path for message to be matched in matching strategy, and is saved in by described matching strategy in the policybased routing of correspondence;
To described enter path effectiveness judge, when described enter path effective time, it is judged that whether described policybased routing is configured with forwarding strategy;
When described policybased routing is configured with forwarding strategy, and when in described forwarding strategy, the outbound path of configuration is effective, the configuration information construction strategy route forwarding table according to described matching strategy and described forwarding strategy.
4. method according to claim 2, it is characterised in that described network equipments configuration forwarding strategy specifically includes:
The described network equipment specifies one or more effective outbound paths for message in forwarding strategy, and is saved in by described forwarding strategy in the policybased routing of correspondence;
The effectiveness of described outbound path is judged, when described outbound path is effective, it is judged that whether described policybased routing is configured with matching strategy;
When described policybased routing is configured with matching strategy, and in described matching strategy configuration enter path effective time, configuration information construction strategy route forwarding table according to described matching strategy and described forwarding strategy, and in described policybased routing forward table, record VPLS forward table information.
5. the method according to claim 3 or 4, it is characterised in that
To described enter path effectiveness carry out judgement and specifically include: VPLS forwarding information manage traversal in module search described in enter whether path exists the VPLS forward table of correspondence, if existing, then enter path described in effective, enter path described in otherwise invalid;
The effectiveness of described outbound path is carried out judgement specifically include: managing traversal in module at VPLS forwarding information and search whether described outbound path exists the VPLS forward table of correspondence, if existing, then described outbound path is effective, and otherwise described outbound path is invalid.
6. method according to claim 2, it is characterised in that described method also includes: response VPLS forward table change message, updates policybased routing forward table, specifically includes:
After the network equipment receives VPLS forward table change message, according to the identification information of policybased routing in VPLS example, the policybased routing being arranged in described VPLS example is judged, in the matching strategy that the policybased routing forward table created when described policybased routing includes configuration to enter path identical with the forward-path specified in described VPLS forward table change message, and when in forwarding strategy corresponding to described matching strategy, the outbound path of configuration is effective, according to the judgement of VPLS forward table change message, enter the effectiveness situation of change in path, update policybased routing forward table;And/or,
After the network equipment receives VPLS forward table change message, according to the identification information of policybased routing in VPLS example, the policybased routing being arranged in described VPLS example is judged, in the forwarding strategy that the policybased routing forward table created when described policybased routing includes, the outbound path of configuration is identical with the forward-path specified in described VPLS forward table change message, and in matching strategy corresponding to described forwarding strategy configuration enter path effective time, judge the effectiveness situation of change of described outbound path according to VPLS forward table change message, update policybased routing forward table.
7. a network equipment, it is characterised in that described equipment includes:
Message receiver module, is used for receiving message;
Policybased routing identification module, for judging whether described message is configured with policybased routing, in this way, then trigger policy route forwarding table management module judges whether described message meets the matching strategy that the policybased routing forward table of described policybased routing establishment includes, described policybased routing forward table includes described matching strategy and a forwarding strategy corresponding to described matching strategy, and described forwarding strategy includes outbound path information;
Policybased routing forward table management module, for judging whether described message meets the matching strategy that the policybased routing forward table of described policybased routing establishment includes;If described message meets described matching strategy, then determine next-hop network equipment according to the forwarding strategy that described matching strategy is corresponding, and trigger message sending module according to the VPLS forwarding information encapsulated message of record in described forwarding strategy;
Message sending module, the message after encapsulating to described next-hop network device forwards for the described network equipment.
8. equipment according to claim 7, it is characterised in that described equipment also includes:
Configuration module, for for policybased routing configurations match strategy and configuration forwarding strategy, what described matching strategy included specifying message to be matched enters path;Described forwarding strategy includes specifying one or more effective outbound paths for message;
VPLS forwarding information management module, for Management VPLS forward table information;
Policybased routing forward table management module, is additionally operable to create the policybased routing forward table including matching strategy and forwarding strategy.
9. appliance arrangement according to claim 8, it is characterised in that described configuration module includes:
Matching strategy configuration module, for specifying into path for message to be matched in matching strategy, and is saved in described matching strategy in the policybased routing of correspondence;
Path Recognition module, for described enter path Effective judgement, when described enter path effective time, trigger forwarding strategy identification module judge whether described policybased routing is configured with forwarding strategy;
Forwarding strategy identification module, is used for judging whether be configured with forwarding strategy in described policybased routing, when being configured with forwarding strategy in described policybased routing, then triggers Path Recognition module and judges the effectiveness of the outbound path of configuration in described forwarding strategy;
Described Path Recognition module, is additionally operable to the effectiveness of described outbound path is judged, when described outbound path is effective, and the trigger policy route forwarding table management module configuration information construction strategy route forwarding table according to described matching strategy and described forwarding strategy;
Described policybased routing forward table management module, is additionally operable to the configuration information construction strategy route forwarding table according to described matching strategy and described forwarding strategy.
10. equipment according to claim 8, it is characterised in that described configuration module also includes:
Forwarding strategy configuration module, for specifying one or more effective outbound paths for message in forwarding strategy, and is saved in described forwarding strategy in the policybased routing of correspondence;
Described Path Recognition module, is additionally operable to the effectiveness of described outbound path is judged, when described outbound path is effective, whether is configured with matching strategy in trigger match strategy identification module determination strategy route;
Whether matching strategy identification module, be configured with matching strategy in routeing for determination strategy, when being configured with matching strategy in described policybased routing, triggers Path Recognition module and judges the effectiveness entering path of configuration in described matching strategy;
Described Path Recognition module, be additionally operable to described enter path effectiveness judge, when described enter path effective time, trigger policy route forwarding table management the module configuration information construction strategy route forwarding table according to described matching strategy and described forwarding strategy;
Described policybased routing forward table management module, is additionally operable to the configuration information construction strategy route forwarding table according to described matching strategy and described forwarding strategy, and records VPLS forward table information in described policybased routing forward table.
11. the equipment according to claim 9 or 10, it is characterised in that
Described Path Recognition module, for judging entering route availability, specifically includes: manages traversal in module at VPLS forwarding information and searches the VPLS forward table that whether there is correspondence into path, if existing, then enters path described in effective, enter path invalid described in otherwise;
Described Path Recognition module, for outbound path effectiveness is judged, specifically include: manage traversal in module at VPLS forwarding information and search whether described outbound path exists the VPLS forward table of correspondence, if existing, then described outbound path is effective, and otherwise described outbound path is invalid.
12. equipment according to claim 8, it is characterised in that described configuration module also includes VPLS forward table change message respond module, it is used for responding VPLS forward table change message, updates policybased routing forward table;
Described policybased routing identification module, after being additionally operable to receive VPLS forward table change message, judges the policybased routing being arranged in described VPLS example according to the identification information of policybased routing in VPLS example;
Described Path Recognition module, be additionally operable to work as in the matching strategy that includes of policybased routing forward table that described policybased routing creates configuration to enter path identical with the forward-path specified in described VPLS forward table change message, and when in forwarding strategy corresponding to described matching strategy, the outbound path of configuration is effective, trigger policy route forwarding table management module enters the effectiveness situation of change in path according to the judgement of VPLS forward table change message, updates policybased routing forward table;
Described policybased routing forward table management module, is additionally operable to enter the effectiveness situation of change in path according to the judgement of VPLS forward table change message, updates policybased routing forward table;
And/or,
Described Path Recognition module, it is additionally operable to when in the forwarding strategy that the policybased routing forward table that described policybased routing creates includes, the outbound path of configuration is identical with the forward-path specified in described VPLS forward table change message, and in matching strategy corresponding to described forwarding strategy configuration enter path effective time, trigger policy route forwarding table management module judges the effectiveness situation of change of described outbound path according to VPLS forward table change message, updates policybased routing forward table;
Described policybased routing forward table management module, is additionally operable to judge according to VPLS forward table change message the effectiveness situation of change of described outbound path, updates policybased routing forward table.
CN201610176568.8A 2016-03-25 2016-03-25 Message forwarding method and equipment in a kind of VPLS network Active CN105743762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610176568.8A CN105743762B (en) 2016-03-25 2016-03-25 Message forwarding method and equipment in a kind of VPLS network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610176568.8A CN105743762B (en) 2016-03-25 2016-03-25 Message forwarding method and equipment in a kind of VPLS network

Publications (2)

Publication Number Publication Date
CN105743762A true CN105743762A (en) 2016-07-06
CN105743762B CN105743762B (en) 2019-10-25

Family

ID=56251527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610176568.8A Active CN105743762B (en) 2016-03-25 2016-03-25 Message forwarding method and equipment in a kind of VPLS network

Country Status (1)

Country Link
CN (1) CN105743762B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291151A (en) * 2020-11-18 2021-01-29 迈普通信技术股份有限公司 Message forwarding method, device, network equipment and storage medium
WO2023124983A1 (en) * 2021-12-30 2023-07-06 腾讯科技(深圳)有限公司 Route selection policy update method and apparatus, related device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060262786A1 (en) * 2005-05-18 2006-11-23 Fujitsu Limited Inter-domain routing technique using MPLS
CN101047625A (en) * 2006-04-26 2007-10-03 华为技术有限公司 Strategy route device and method
CN104486229A (en) * 2014-12-24 2015-04-01 迈普通信技术股份有限公司 Method and equipment for realizing VPN message forwarding
CN104780103A (en) * 2015-04-14 2015-07-15 杭州华三通信技术有限公司 Message forwarding method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060262786A1 (en) * 2005-05-18 2006-11-23 Fujitsu Limited Inter-domain routing technique using MPLS
CN101047625A (en) * 2006-04-26 2007-10-03 华为技术有限公司 Strategy route device and method
CN104486229A (en) * 2014-12-24 2015-04-01 迈普通信技术股份有限公司 Method and equipment for realizing VPN message forwarding
CN104780103A (en) * 2015-04-14 2015-07-15 杭州华三通信技术有限公司 Message forwarding method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291151A (en) * 2020-11-18 2021-01-29 迈普通信技术股份有限公司 Message forwarding method, device, network equipment and storage medium
WO2023124983A1 (en) * 2021-12-30 2023-07-06 腾讯科技(深圳)有限公司 Route selection policy update method and apparatus, related device, and storage medium

Also Published As

Publication number Publication date
CN105743762B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
EP3780545B1 (en) Flow specification protocol-based communications method, and device
CN104639470B (en) Traffic identifier packaging method and system
CN103748835B (en) The dynamic renewal of label switched path
CN102413060B (en) User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network
CN102137024B (en) Message processing method, exit routing device and border routing device
CN108964940B (en) Message sending method and device and storage medium
CN110798403B (en) Communication method, communication device and communication system
CN104243270A (en) Tunnel setup method and tunnel setup device
CN104243362B (en) A kind of message forwarding method and device
CN102801625A (en) Method and device for double layered mutual communication in heterogeneous network
CN107070789A (en) The flow black hole of active active PBB EVPN redundancies is avoided and rapid fusion
CN112636935A (en) Virtual private network multicast method based on IPv6 network and electronic equipment
EP2822238B1 (en) Method and device for establishing a pseudo wire
EP1944918B1 (en) A method and system for realizing the consistency of the virtual circuit status
EP2897328B1 (en) Method, system and apparatus for establishing communication link
US8559431B2 (en) Multiple label based processing of frames
CN103795630A (en) Message transmitting method and device of label switching network
CN103200107B (en) Message transmitting method and message transmitting equipment
CN108667729B (en) SDN service isolation and routing method and device based on MPLS
CN105262686B (en) Network connectivity verification method and device
CN105743762A (en) Message forwarding method and equipment in VPLS network
US20230006917A1 (en) Route Determining Method and Apparatus and Network Device
CN102739519B (en) Rooted multipoint service implementation method, device and system, and provider edge equipment
CN111865805B (en) Multicast GRE message processing method and system
CN112910771B (en) Connection establishment method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 610041 15-24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Applicant after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: No. 16, nine Xing Avenue, Chengdu high tech Zone, Sichuan Province

Applicant before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 610041 nine Xing Xing Road 16, hi tech Zone, Sichuan, Chengdu

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041 15-24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.