CN110113260A - A kind of forwarding table updating method and device - Google Patents

A kind of forwarding table updating method and device Download PDF

Info

Publication number
CN110113260A
CN110113260A CN201910351118.1A CN201910351118A CN110113260A CN 110113260 A CN110113260 A CN 110113260A CN 201910351118 A CN201910351118 A CN 201910351118A CN 110113260 A CN110113260 A CN 110113260A
Authority
CN
China
Prior art keywords
equipment
esi
mac address
opposite end
outgoing interface
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
CN201910351118.1A
Other languages
Chinese (zh)
Other versions
CN110113260B (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201910351118.1A priority Critical patent/CN110113260B/en
Publication of CN110113260A publication Critical patent/CN110113260A/en
Application granted granted Critical
Publication of CN110113260B publication Critical patent/CN110113260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/023Delayed use of routing table updates
    • 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/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Landscapes

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

Abstract

The disclosure provides a kind of forwarding table updating method and device, in this method, MAC address that PE equipment is carried from the message that the interface for obtaining ethernet segment mark ESI in the PE equipment of at least one opposite end respectively, being identified by ESI forwards;The corresponding virtual switch instance VSI of ESI, MAC Address, each MAC Address and outgoing interface information based on acquisition are recording the corresponding relationship between VSI, ESI, outgoing interface information in forwarding table;If detecting, the message forwarding path between the PE equipment and peer user edge C E equipment breaks down, and adjusts outgoing interface information corresponding with the associated ESI of the message forwarding path to break down in the corresponding relationship;Wherein, the opposite end CE equipment is separately connected the PE equipment by least one described opposite end PE equipment.It is possible thereby to quickly update forwarding table, being switched fast for message forwarding path is realized.

Description

A kind of forwarding table updating method and device
Technical field
This disclosure relates to field of communication technology, in particular to a kind of forwarding table updating method and device.
Background technique
Based on Ethernet Virtual Private Network (Ethernet Virtual Private Network, EVPN) virtual private It include customer edge (Custom in the multi-home networking of local area network (Virtual Private LAN Service, VPLS) Edge, CE) equipment and Provider Edge (Provider Edge, PE) equipment, each CE equipment can connect same website Interior user equipment, such as mobile terminal, apparatus such as computer.The user equipment in website in order to realize different geographic regions deployment Communicate with each other, CE equipment can by access circuit (Attachment Circuit, AC) be connected to different PE equipment, PE Equipment has at least one virtual switch instance (Virtual Switch Instance, VSI), is able to carry out by each VSI Two layer message forwarding, by identifying the media access control (Media Access Control, MAC) carried in each message, It can learn outgoing interface information corresponding with the MAC Address of the matched user equipment of each VSI, each MAC Address.Also, PE The above- mentioned information learnt can be recorded in forwarding table by equipment, by inquiring the forwarding table, can find with it is to be forwarded Message in the corresponding outgoing interface information of target MAC (Media Access Control) address and forward the message.
But at present when updating forwarding table, the corresponding outgoing interface information of each MAC Address is usually updated, causes to consume The time taken is more, so that forwarding table updates not in time, leads to not switch forward-path in time.
Summary of the invention
In view of this, the disclosure is designed to provide a kind of forwarding table updating method and device, forwarding is updated to shorten The time of table, switch forward-path in time.
In a first aspect, being applied in PE equipment present disclose provides a kind of forwarding table updating method, comprising:
Obtain ethernet segment mark ESI respectively from the PE equipment of at least one opposite end, by the ESI interface forwarding identified The MAC address carried in message;
The corresponding virtual switch instance VSI of ESI, MAC Address, each MAC Address and outgoing interface information based on acquisition, The corresponding relationship between VSI, ESI, outgoing interface information is recorded in forwarding table;
If detecting, the message forwarding path between the PE equipment and peer user edge C E equipment breaks down, and adjusts Outgoing interface information corresponding with the associated ESI of the message forwarding path to break down in the whole corresponding relationship;
Wherein, the opposite end CE equipment is separately connected the PE equipment by least one described opposite end PE equipment.
In some embodiments of the present disclosure, ESI, MAC Address, the corresponding VSI of each MAC Address based on acquisition and go out to connect Message breath is recording the corresponding relationship between VSI, ESI, outgoing interface information in forwarding table, comprising:
ESI and MAC Address, the corresponding VSI of each MAC Address based on acquisition draw the MAC Address of the identical VSI of correspondence Point in the same MAC Address set, and the MAC Address that identical ESI is corresponded in the MAC Address set is divided in same MAC Address subset;
Based in the corresponding VSI and ESI of the MAC Address subset, the MAC Address subset each MAC Address go out connect Message breath is recording the corresponding relationship between VSI, ESI, outgoing interface information in forwarding table.
In some embodiments of the present disclosure, it is described based on the corresponding VSI and ESI of the MAC Address subset, the MAC The outgoing interface information of each MAC Address in the subset of location is recording the corresponding pass between VSI, ESI, outgoing interface information in forwarding table System, comprising:
The first list item being made of the VSI and the ESI is recorded in the forwarding table, and determines first list item Matched MAC Address subset;
Based on the outgoing interface information of each MAC Address in the matched MAC Address subset of first list item, in the forwarding The corresponding relationship between first list item and the second list item being made of the outgoing interface information is recorded in table.
In some embodiments of the present disclosure, the report detected between the PE equipment and peer user edge C E equipment Literary forward-path breaks down, comprising:
It receives the ether that the first opposite end PE equipment is sent in the PE equipment of at least one described opposite end and finds routing automatically not Up to information, the unreachable information includes the failure being connected between the opposite end CE equipment in the first opposite end PE equipment The ESI of interface;
Outgoing interface corresponding with the associated ESI of the message forwarding path to break down in the adjustment corresponding relationship Information, comprising:
Determine the first list item of target of the ESI in the forwarding table comprising the malfunctioning interface;
For each the first list item of target, the PE equipment that will be recorded in corresponding second list item of the first list item of target Outgoing interface information between each opposite end PE equipment at least one opposite end PE equipment respectively, is revised as the PE equipment Outgoing interface information between each opposite end PE equipment in addition to the first opposite end PE equipment respectively.
In some embodiments of the present disclosure, the report detected between the PE equipment and peer user edge C E equipment Literary forward-path breaks down, comprising:
The transmission quality of link in detection and at least one opposite end PE equipment between the second opposite end PE equipment;
If detection result indicates that the transmission quality is not up to standard, it is determined that with the link between the second opposite end PE equipment It breaks down;
Outgoing interface corresponding with the associated ESI of the message forwarding path to break down in the adjustment corresponding relationship Information, comprising:
For the second list item recorded in the corresponding relationship, the PE equipment recorded in second list item is distinguished With the outgoing interface information at least one opposite end PE equipment between each opposite end PE equipment, it is revised as the PE equipment difference With the outgoing interface information between each opposite end PE equipment in addition to the second opposite end PE equipment.
It is described to obtain ethernet segment mark respectively from the PE equipment of at least one opposite end in some embodiments of the present disclosure The MAC Address carried in ESI, the message by the ESI interface identified, comprising:
The reachable information for the MAC/ network protocol IP address notice routing that at least one opposite end PE equipment is sent respectively is received, The MAC carried in each message forwarded up to the interface in information including ethernet segment mark ESI, being identified by each ESI Address.
Second aspect, the disclosure provide a kind of forwarding table updating device, comprising:
Module is obtained, for obtaining ethernet segment mark respectively from least one opposite end service providing end edge PE equipment The MAC address carried in ESI, the message by the interface forwarding of ESI mark;
Corresponding relationship determining module, for the ESI based on acquisition, MAC Address, the corresponding virtual switch of each MAC Address Example VSI and outgoing interface information are recording the corresponding relationship between VSI, ESI, outgoing interface information in forwarding table;
Module is adjusted, if for detecting the message forwarding path between the PE equipment and peer user edge C E equipment It breaks down, then adjusts outgoing interface corresponding with the associated ESI of the message forwarding path to break down in the corresponding relationship Information;Wherein, the opposite end CE equipment is separately connected the PE equipment by least one described opposite end PE equipment.
In some embodiments of the present disclosure, the corresponding relationship determining module, in the ESI, MAC Address, every based on acquisition The corresponding VSI of a MAC Address and outgoing interface information are recording the corresponding relationship between VSI, ESI, outgoing interface information in forwarding table When, it is specifically used for:
ESI and MAC Address, the corresponding VSI of each MAC Address based on acquisition draw the MAC Address of the identical VSI of correspondence Point in the same MAC Address set, and the MAC Address that identical ESI is corresponded in the MAC Address set is divided in same MAC Address subset;
Based in the corresponding VSI and ESI of the MAC Address subset, the MAC Address subset each MAC Address go out connect Message breath is recording the corresponding relationship between VSI, ESI, outgoing interface information in forwarding table.
In some embodiments of the present disclosure, the corresponding relationship determining module, corresponding based on the MAC Address subset The outgoing interface information of each MAC Address in VSI and ESI, the MAC Address subset records VSI, ESI in forwarding table, goes out to connect Message breath between corresponding relationship when, be specifically used for:
The first list item being made of the VSI and the ESI is recorded in the forwarding table, and determines first list item Matched MAC Address subset;
Based on the outgoing interface information of each MAC Address in the matched MAC Address subset of first list item, in the forwarding The corresponding relationship between first list item and the second list item being made of the outgoing interface information is recorded in table.
In some embodiments of the present disclosure, the adjustment module is detecting the PE equipment and peer user edge C E When message forwarding path between equipment breaks down, it is specifically used for:
It receives the ether that the first opposite end PE equipment is sent in the PE equipment of at least one described opposite end and finds routing automatically not Up to information, the unreachable information includes the failure being connected between the opposite end CE equipment in the first opposite end PE equipment The ESI of interface;
The adjustment module, the ESI associated with the message forwarding path to break down in adjusting the corresponding relationship When corresponding outgoing interface information, it is specifically used for:
Determine the first list item of target of the ESI in the forwarding table comprising the malfunctioning interface;
For each the first list item of target, the PE equipment that will be recorded in corresponding second list item of the first list item of target Outgoing interface information between each opposite end PE equipment at least one opposite end PE equipment respectively, is revised as the PE equipment Outgoing interface information between each opposite end PE equipment in addition to the first opposite end PE equipment respectively.
In some embodiments of the present disclosure, the adjustment module is detecting the PE equipment and peer user edge C E When message forwarding path between equipment breaks down, it is specifically used for:
The transmission quality of link in detection and at least one opposite end PE equipment between the second opposite end PE equipment;
If detection result indicates that the transmission quality is not up to standard, it is determined that with the link between the second opposite end PE equipment It breaks down;
The adjustment module, the ESI associated with the message forwarding path to break down in adjusting the corresponding relationship When corresponding outgoing interface information, it is specifically used for:
For the second list item recorded in the corresponding relationship, the PE equipment recorded in second list item is distinguished With the outgoing interface information at least one opposite end PE equipment between each opposite end PE equipment, it is revised as the PE equipment difference With the outgoing interface information between each opposite end PE equipment in addition to the second opposite end PE equipment.
In some embodiments of the present disclosure, the acquisition module, obtained respectively from the PE equipment of at least one opposite end with When the MAC Address carried in too network segment mark ESI, the message by the ESI interface identified, it is specifically used for:
The reachable information for the MAC/ network protocol IP address notice routing that at least one opposite end PE equipment is sent respectively is received, The MAC carried in each message forwarded up to the interface in information including ethernet segment mark ESI, being identified by each ESI Address.
The third aspect, the disclosure provide a kind of electronic equipment, comprising: processor, memory and bus, the memory are deposited Contain the executable machine readable instructions of the processor, when electronic equipment operation, the processor and the memory it Between by bus communication, forwarding of the execution as described in above-mentioned first aspect when the machine readable instructions are executed by the processor The step of table updating method.
Fourth aspect, the disclosure provide a kind of computer readable storage medium, store on the computer readable storage medium There is computer program, the forwarding table updating method as described in above-mentioned first aspect is executed when which is run by processor The step of.
In the embodiment of the present disclosure, PE equipment can obtain ESI respectively from the PE equipment of at least one opposite end, be marked by ESI The MAC Address carried in the message of the interface forwarding of knowledge, and then can ESI, MAC Address, each MAC Address pair based on acquisition The VSI and outgoing interface information answered is recording the corresponding relationship between VSI, ESI, outgoing interface information in forwarding table.Pass through above-mentioned side Formula is associated with VSI, ESI by MAC Address in forwarding table, if the message forwarding path between subsequent PE equipment and opposite end CE is sent out Raw failure then can only adjust outgoing interface information corresponding with the associated ESI of the message forwarding path to break down, without The corresponding outgoing interface information of each MAC Address is adjusted separately, forwarding table renewal process and the associated MAC of VSI, ESI The number of address is unrelated, so as to promote the update efficiency of forwarding table, switches forward-path in time.
To enable the above objects, features, and advantages of the disclosure to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to needed in the embodiment attached in order to illustrate more clearly of the technical solution of the embodiment of the present disclosure Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the disclosure, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of network architecture diagram of dual-homing networking based on EVPN VPLS of embodiment of the present disclosure offer;
Fig. 2 shows a kind of configuration diagrams for multi-home networking based on EVPN VPLS that the embodiment of the present disclosure provides;
Fig. 3 shows the flow diagram of the forwarding table updating method of embodiment of the present disclosure offer;
Fig. 4 shows a kind of structural schematic diagram of forwarding table updating device of embodiment of the present disclosure offer;
Fig. 5 shows the structural schematic diagram of a kind of electronic equipment of embodiment of the present disclosure offer.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present disclosure clearer, below in conjunction with the embodiment of the present disclosure The technical solution in the embodiment of the present disclosure is clearly and completely described in middle attached drawing, it is clear that described embodiment is only It is disclosure a part of the embodiment, instead of all the embodiments.The disclosure being usually described and illustrated herein in the accompanying drawings is real The component for applying example can be arranged and be designed with a variety of different configurations.Therefore, below to the disclosure provided in the accompanying drawings The detailed description of embodiment is not intended to limit claimed the scope of the present disclosure, but is merely representative of the selected reality of the disclosure Apply example.Based on embodiment of the disclosure, those skilled in the art institute obtained without making creative work There are other embodiments, belongs to the range of disclosure protection.
Firstly, being briefly described to technical term involved in technical solution provided by the present disclosure.
(1) CE equipment, for connecting the user equipment in same website, such as mobile terminal, computer, be also used for directly with The PE equipment of service provider network is connected, to forward the message communicated between user equipment by PE equipment.
(2) PE equipment, the edge device in service provider network, can be connected, for completing message with CE equipment Mapping and forwarding from private network to public network tunnel, and from public network tunnel to private network.
(3) AC connects the link of CE equipment and PE equipment, corresponding interface for connecting user and service provider For Ethernet interface.
(4) virtual link (Pseudo Wire, PW), the two-way virtual link between VSI in two PE equipment.It can To carry PW with tunnel (tunnel), a plurality of PW can be carried on a tunnel.Tunnel can be understood as local PE equipment with Direct channel between the PE equipment of opposite end completes the message transmissions between PE equipment.
(5) the Ethernet bridge entity in VSI, PE equipment can be by actual AC link maps to each PW by VSI On, realize two layer message forwarding.
(6) ethernet segment mark (Ethernet Segment Identifier, ESI) is the company of PE equipment and a certain CE The unique identification for connecing definition, for identifying the interface connecting in PE equipment with a certain CE.
(7) multi-home networking, i.e., the networking that same CE equipment is connect with multiple PE equipment respectively, wherein multiple PE equipment The ESI of the upper same CE equipment of connection is identical, and the ESI for connecting different CE equipment is not identical.
The disclosure is applicable in the multi-home networking based on EVPN VPLS, event occurs mainly for message forwarding path The problem of how updating forwarding-table item when barrier, provides a solution.
It is worth noting that, at present in the multi-home networking based on EVPN VPLS, due to the forwarding table of PE plant maintenance Middle record has the corresponding outgoing interface information of the MAC Address learnt on each VSI, each MAC Address, therefore, it is forwarded in message In the case that path is broken down, it is corresponding that PE equipment will usually update each MAC Address relevant to the path broken down Outgoing interface information, still, if MAC Address relevant to the path broken down is more, then turning being updated using aforesaid way When delivering, the corresponding outgoing interface information of each MAC Address is updated, causes the time expended more, so that forwarding table update is too late When, lead to not switch forward-path in time.
Illustratively, in the dual-homing networking shown in fig. 1 based on EVPN VPLS, PE equipment 1, PE equipment 2 and PE are set EVPN VPLS business is configured in standby 3, PE equipment 1 and PE equipment 2 establish EVPN peer, and PE equipment 1 and PE equipment 3 are established EVPN peer, CE equipment 1 is connect by way of VPLS AC with PE equipment 1, CE equipment 2 by VPLS AC mode respectively with PE equipment 2 and PE equipment 3 connect, and the ESI for the interface configuration that PE equipment 2 and PE equipment 3 are connect with CE equipment 2 respectively is ESI1, It forms 2 dual homed of CE equipment and belongs to PE equipment 2 and PE equipment 3, likewise, CE equipment 3 can also be distinguished by way of VPLS AC It is connect with PE equipment 2 and PE equipment 3, the ESI for the interface configuration that PE equipment 2 and PE equipment 3 are connect with CE equipment 3 respectively is ESI2 forms 3 dual homed of CE equipment and belongs to PE equipment 2 and PE equipment 3.
In above-mentioned networking, under normal condition, the message forwarding path between CE equipment 1 and CE equipment 2 has two, i.e. CE The message of equipment 1 reaches CE equipment 2 by PE equipment 1 and PE equipment 2 (i.e. public network path 1), the message of CE equipment 1 is set by PE Standby 1 and PE equipment 3 (i.e. public network path 2) reaches CE equipment 2, and the message forwarding path between CE equipment 1 and CE equipment 3 also has two Item, the i.e. message of CE equipment 1 reach CE equipment 3 by public network path 1, the message of CE equipment 1 reaches CE by public network path 2 and sets Standby 3.In this case, outgoing interface information corresponding to the MAC Address learnt on each VSI in the forwarding table of PE equipment 1, packet Include the mark in public network path 1 and the mark in public network path 2.
So, in the case where 1 failure of public network path between PE equipment 1 and PE equipment 2, PE equipment 1 can not pass through public affairs Network diameter 1 E-Packets to PE equipment 2, therefore the corresponding outgoing interface of MAC Address that PE equipment 1 needs to learn on each VSI Information is updated to " mark in public network path 2 " by " mark in public network path 1 and the mark in public network path 2 ".
Alternatively, PE equipment 1 passes through 1 turn of public network path in the case where link failure between PE equipment 2 and CE equipment 2 Text transmit messages to PE equipment 2, then is E-Packeted this message forwarded to CE equipment 2 by PE equipment 2 by the interface that ESI1 is identified Forward-path is unavailable, and in this case, PE equipment 1 needs the MAC Address for learning the interface on each VSI by ESI1 Corresponding outgoing interface information is updated to " mark in public network path 2 " by " mark in public network path 1 and the mark in public network path 2 ".
Forwarding table is updated using aforesaid way, due to the quantity of MAC Address relevant to the path broken down, is influenced The update efficiency of forwarding table, MAC Address relevant to the forward-path to break down is more, and the update efficiency of forwarding table is lower, The time for needing to expend is more, so that forwarding table updates not in time, leads to not switch forward-path in time.
In view of the above problems, the disclosure provide solution in, by forwarding table by MAC Address and VSI, ESI It is associated, and the corresponding relationship between VSI, ESI and outgoing interface information is recorded, subsequent, if detecting, message forwarding path goes out Existing failure, then can directly adjust outgoing interface information corresponding with the associated ESI of the message forwarding path to break down, without It needs for the corresponding outgoing interface information of each MAC Address to be adjusted separately, forwarding table renewal process and VSI, ESI are associated The number of MAC Address is unrelated, so as to promote the update efficiency of forwarding table, switches forward-path in time.
In the following, in conjunction with specific embodiments, the forwarding table updating method provided the disclosure is described in detail.
It is that a kind of framework for multi-home networking based on EVPN VPLS that the embodiment of the present disclosure provides shows referring to described in Fig. 2 It is intended to.In the multi-home networking, only in website 1 any one CE equipment and website 2 in any one opposite end CE equipment it is logical Cross the message forwarding path of service provider network (i.e. public network) to illustrate, certainly, in the multi-home networking also It may include the message forwarding path between other CE equipment and opposite end CE equipment, in Fig. 2 and be not entirely shown.Wherein:
CE equipment in website 1 connects the PE equipment of one end in service provider network by way of VPLS AC;The PE Equipment pass through respectively PW1, PW2 ..., PWn peer end of the connection PE equipment 1, opposite end PE equipment 2 ..., opposite end PE equipment n, and with it is each Opposite end PE equipment establishes border gateway protocol (Border Gateway Protocol, BGP) neighborhood;Opposite end PE equipment 1, Opposite end PE equipment 2 ..., opposite end PE equipment n be separately connected the opposite end CE equipment in website (site2), wherein each opposite end PE equipment The interface of peer end of the connection CE equipment is identified as same ESI.
The opposite end CE in CE equipment and website 2 in the case that networking shown in Fig. 2 is in normal condition, in website 1 Message forwarding path between equipment has n item, and load balancing forwarding can be carried out between this n paths.Wherein, PE equipment and right It holds between PE equipment there may be P equipment (not shown), the disclosure does not limit this.
Under the network architecture of multi-home networking shown in Fig. 2, PE equipment can execute forwarding table as shown in Figure 3 and update Method includes the following steps:
Step 301, the message for obtaining ESI respectively from the PE equipment of at least one opposite end, being forwarded by the interface of ESI mark The MAC Address of middle carrying.
In the embodiment of the present disclosure, PE equipment can be transmitted between each opposite end PE equipment that bgp neighbor relationship has been established EVPN routing, so as not to which between same PE equipment MAC Address can be learnt by control plane.
In a kind of possible embodiment, PE equipment can receive the MAC/IP that at least one opposite end PE equipment is sent respectively Reachable the information of address notification routing, to obtain ESI, the MAC that carries in the message that the interface identified by each ESI forwards Location.Wherein, MAC/IP address notification routing (MAC/IP Advertisement Route) is one of EVPN routing, such The routing of type can be used for the reachable information from local end PE equipment to the address MAC/IP of other PE equipment publication unicast.
Specifically, in the reachable information for the MAC/IP address notification routing that each opposite end PE equipment is sent, including but it is unlimited The MAC Address carried in the message that ESI, the interface identified by each ESI forward.ESI indicates that opposite end PE equipment connects The mark of the interface of opposite end CE equipment, opposite end PE equipment can by ESI identify interface from opposite end CE equipment receive or to Opposite end CE equipment sends message, learns the MAC Address carried in message, and the message learnt is indicated to PE equipment.
Step 302, the ESI based on acquisition, MAC Address, the corresponding VSI of each MAC Address and outgoing interface information, are forwarding The corresponding relationship between VSI, ESI, outgoing interface information is recorded in table.
In some embodiments of the present disclosure, can ESI and MAC Address, the corresponding VSI of each MAC Address based on acquisition, The MAC Address of the identical VSI of correspondence is divided in the same MAC Address set, and identical ESI will be corresponded in MAC Address set MAC Address be divided in the same MAC Address subset.Further, the corresponding VSI of MAC Address subset based on division and The outgoing interface information of each MAC Address in ESI, MAC Address subset can record VSI, ESI, outgoing interface information in forwarding table Between corresponding relationship.
In specific implementation, PE equipment can be routed by receiving the EVPN that PE equipment in opposite end is sent, and be learnt on different VSI The MAC Address of message can also be E-Packeted by local, learn the MAC Address of message on different VSI.For same The MAC Address learnt on VSI can be divided in the same MAC Address set.Also, in the process of study MAC Address In, the incidence relation between ESI and MAC Address can be identified by step 301, therefore, it goes to school for PE equipment in each VSI The MAC Address of the identical ESI of correspondence can be divided in the same MAC Address subset by the MAC Address set practised.
Illustratively, it is assumed that VSI1 corresponds to MAC Address set 1 in PE equipment, VSI2 corresponds to MAC Address set 2 ..., VSIa corresponds to MAC Address set p, also, PE equipment is routed by receiving the MAC/IP address notification of opposite end PE equipment, is identified ESI1 is associated with the MAC Address subset 1 in MAC Address set 1, and the MAC Address subset 2 in ESI2 and MAC Address set 1 is closed Connection, and so on, ESIb is associated with the MAC Address subset p 2 in MAC Address set p, wherein a indicates PE in multi-home networking The total quantity of the type for the VSI that equipment has, b indicate the sum of the type for the interface that PE equipment in opposite end is connect with opposite end CE equipment Amount.According to above-mentioned example, available corresponding relationship as shown in Table 1:
Table 1
VSI 1 ESI1 MAC Address subset 11
VSI 1 ESI2 MAC Address subset 12
VSI 2 ESI3 MAC Address subset 21
VSI 2 ESI4 MAC Address subset 22
VSIa ESIb MAC Address subset p 2
In the embodiment of the present disclosure, after determining the corresponding VSI and ESI of each MAC Address subset, since PE equipment is tieed up Record has the corresponding outgoing interface information of each MAC Address in the forwarding table of shield, then, record can also be increased newly in forwarding table Corresponding relationship between VSI, ESI, outgoing interface information.
In a kind of possible embodiment, the first list item being made of VSI and ESI can be recorded in forwarding table, and really Fixed each matched MAC Address subset of first list item, and then based on each MAC in the matched MAC Address subset of the first list item The outgoing interface information of location is recording the corresponding pass between the first list item and the second list item being made of outgoing interface information in forwarding table System.
Wherein, the outgoing interface information of PE equipment may include the chain road sign between PE equipment and next-hop opposite end PE equipment Know, i.e. PW mark, in addition, the outgoing interface information of PE equipment can also include the mark used when PE equipment is communicated with local terminal CE equipment Label and port numbers etc., the disclosure does not limit this.
Illustratively, Fig. 2 shows networking in, under normal condition, the message forwarding path of PE equipment includes n item, i.e., By PW1, PW2 ..., the public network link of PWn mark can reach respectively opposite end PE equipment 1, opposite end PE equipment 2 ..., opposite end PE sets Standby n, then, PE learning equipment to the corresponding outgoing interface information of MAC Address include public network link mark, i.e. PW1, PW2 ..., PWn.The example for continuing to continue to use table 1, using VSI and ESI as the first list item, using outgoing interface information as the second list item, turning Deliver corresponding relationship shown in recordable table 2:
Table 2
It is to be appreciated that the outgoing interface information that second list item records in table 2 is only as an example, and in practical application, second The outgoing interface information recorded in list item can also include label and port numbers etc. that PE equipment uses when communicating with local terminal CE equipment, The disclosure does not limit this.Also, in addition to recording above-mentioned first list item and the second list item, being matched with the first list item in forwarding table MAC Address subset except, can also include other contents in table, the disclosure not limit this.
It is subsequent, it can be E-Packeted based on the list item recorded in forwarding table, it, can be with for example, after receiving message The target MAC (Media Access Control) address carried in identification message, judges that the target MAC (Media Access Control) address matches with which VSI and which ESI, that is, determines With matched first list item of the target MAC (Media Access Control) address, and then corresponding second list item of the first list item, i.e. outgoing interface information are determined, It E-Packets in corresponding outgoing interface information.
The first list item constituted by increasing VSI ESI newly in forwarding table, the first list item is corresponding with MAC Address subset, First list item is also corresponding with outgoing interface information, in this way, PE equipment when E-Packeting, can be carried by identification message MAC Address subset belonging to MAC Address determines matched first list item, and then determines matched outgoing interface information, to realize The purpose of unicast forwarding grouping.
Above-mentioned steps 302 are accepted, may further be executed:
If step 303 detects that the message forwarding path between PE equipment and opposite end CE equipment breaks down, adjustment pair Outgoing interface information corresponding with the associated ESI of the message forwarding path to break down in should being related to.
In the embodiment of the present disclosure, if the message forwarding path between PE equipment and opposite end CE equipment breaks down, update Outgoing interface information corresponding with the associated ESI of the message forwarding path to break down.Wherein, occur in view of message forwarding path The case where failure, is different, thus update mode can be divided into it is following several:
Situation 1: the path failure between any opposite end PE equipment and opposite end CE equipment.
Here, any opposite end PE equipment can be indicated with the first opposite end PE equipment.
In specific implementation, EVPN routing can be transmitted between PE equipment and the first opposite end PE equipment, wherein in EVPN routing It finds routing (Ethernet Auto-Discovery Route) automatically including Ethernet, can be used to notice local end PE equipment To the accessibility of the MAC Address of access website, i.e. whether local end PE equipment is reachable to the website of connection.
If the ether that PE equipment receives the transmission of the first opposite end PE equipment finds the unreachable information of routing automatically, unreachable It include the ESI of malfunctioning interface being connected between the CE equipment of opposite end in the first opposite end PE equipment in information, then PE equipment can be with Determine the path failure between the first opposite end PE equipment and opposite end CE equipment.
Further, it is recorded in the adjustable forwarding table of PE equipment associated with the message forwarding path to break down The corresponding outgoing interface information of ESI, specifically:
Determine the first list item of target of the ESI in forwarding table comprising malfunctioning interface;
For each the first list item of target, the PE equipment recorded in corresponding second list item of the first list item of target is distinguished With the outgoing interface information between PE equipment in opposite end each in the PE equipment of at least one opposite end, PE equipment is revised as respectively and except first The outgoing interface information between each opposite end PE equipment except the PE equipment of opposite end.
Wherein, the outgoing interface information between PE equipment and each opposite end PE equipment can be indicated with PW mark.
Illustratively, continue to continue to use Fig. 2 shows networking, it is assumed that the path between opposite end PE equipment 1 and opposite end CE equipment Failure, opposite end PE equipment 1 is found to the Ethernet that PE equipment is sent automatically in the unreachable information of routing, including opposite end PE equipment The 1 interface identifier ESI1 being connect with opposite end CE equipment, then, PE equipment is automatic in the Ethernet for receiving the transmission of opposite end PE equipment 1 It was found that the PW1 link between determining and opposite end PE equipment 1 is unavailable, and then can update forwarding after the unreachable information of routing List item can specifically update corresponding second list item of the first list item " VSI1ESI1 " shown in table 2 " PW1, PW2 ..., PWn " For " PW2 ..., PWn ".For remaining the first list item, because not being related to ESI1, therefore do not make an amendment, still corresponding second originally List item.
After updating forwarding table using aforesaid way, the corresponding relationship of updated first list item and the second list item such as 3 institute of table Show:
Table 3
Path failure between situation 2, any opposite end PE equipment and PE equipment.
Here, any opposite end PE equipment can be indicated with the second opposite end PE equipment.
In specific implementation, PE equipment can detect the transmission quality of the link (i.e. PW) between the second opposite end PE equipment. Wherein, if the transmission quality of detection result instruction link is not up to standard, it is determined that the link between the second opposite end PE equipment occurs Failure.
Illustratively, detection mode can use Network Quality Analysis (Network Quality Analyzer, NQA) skill Art, PE equipment determine message transmissions mistake by the response message of transmission NQA probe messages and the second opposite end PE device replied of reception The transport quality parameters such as propagation delay time, packet loss in journey, and then the transmission of link is determined by analyzing transport quality parameters Whether quality is up to standard.For example, if propagation delay time is lower than propagation delay time threshold value and packet loss is lower than packet loss threshold value, it can be true It detects successfully calmly, otherwise, it determines detection failure.Certainly, above-mentioned NQA detection mode only as an example, can also be in practical application Using other detection modes, the disclosure does not limit this.
Further, ESI pairs associated with the message forwarding path to break down in the adjustable forwarding table of PE equipment The outgoing interface information answered, specifically:
For the second list item recorded in the corresponding relationship of forwarding table, respectively and extremely by the PE equipment recorded in the second list item Outgoing interface information in few opposite end PE equipment between each opposite end PE equipment is revised as PE equipment respectively and except the second opposite end The outgoing interface information between each opposite end PE equipment except PE equipment.
Wherein, the outgoing interface information between PE equipment and each opposite end PE equipment can be indicated with PW mark.
Illustratively, continue to continue to use Fig. 2 shows networking, it is assumed that the path failure between opposite end PE equipment 1 and PE equipment, Namely PW1 failure, since in more home network, each opposite end PE equipment can receive message by PW1, and pass through ESI The interface of mark is transmitted to CE equipment, that is to say, that the PW1 to break down exists with the ESI of each opposite end PE equipment to be associated with System, in this case, PE equipment can directly refresh the outgoing interface information recorded in the second list item when updating forwarding table, will The outgoing interface information " PW1, PW2 ..., PWn " originally recorded in each second list item is revised as " PW2 ..., PWn ".
After updating forwarding table using aforesaid way, the corresponding relationship of updated first list item and the second list item such as 4 institute of table Show:
Table 4
By above-mentioned forwarding table update mode, VSI ESI relevant to the message forwarding path to break down need to be only modified Outgoing interface information corresponding to list item, and the quantity for the content MAC Address corresponding with VSI ESI list item modified is unrelated, thus The update efficiency of forwarding table can be promoted, to realize being switched fast for message forwarding path.
Based on same technical concept, forwarding table corresponding with forwarding table updating method is additionally provided in the embodiment of the present disclosure more New equipment, the principle and the above-mentioned forwarding of the embodiment of the present disclosure solved the problems, such as due to the forwarding table updating device in the embodiment of the present disclosure Table updating method is similar, therefore the implementation of device may refer to the implementation of method, and overlaps will not be repeated.
Referring to shown in Fig. 4, for a kind of structural schematic diagram for forwarding table updating device that the embodiment of the present disclosure provides, the forwarding Table updating device 40 includes:
Module 41 is obtained, for obtaining Ethernet segment mark respectively from least one opposite end service providing end edge PE equipment The MAC address carried in knowledge ESI, the message by the interface forwarding of ESI mark;
Corresponding relationship determining module 42, for the corresponding virtual friendship of ESI, MAC Address, each MAC Address based on acquisition Example VSI and outgoing interface information are changed, the corresponding relationship between VSI, ESI, outgoing interface information is being recorded in forwarding table;
Module 43 is adjusted, if for detecting that the message between the PE equipment and peer user edge C E equipment forwards road Diameter breaks down, then adjust in the corresponding relationship it is corresponding with the associated ESI of the message forwarding path to break down go out connect Message breath;Wherein, the opposite end CE equipment is separately connected the PE equipment by least one described opposite end PE equipment.
In some embodiments of the present disclosure, the corresponding relationship determining module 42, based on acquisition ESI, MAC Address, The corresponding VSI of each MAC Address and outgoing interface information corresponding are closed record between VSI, ESI, outgoing interface information in forwarding table When being, it is specifically used for:
ESI and MAC Address, the corresponding VSI of each MAC Address based on acquisition draw the MAC Address of the identical VSI of correspondence Point in the same MAC Address set, and the MAC Address that identical ESI is corresponded in the MAC Address set is divided in same MAC Address subset;
Based in the corresponding VSI and ESI of the MAC Address subset, the MAC Address subset each MAC Address go out connect Message breath is recording the corresponding relationship between VSI, ESI, outgoing interface information in forwarding table
In some embodiments of the present disclosure, the corresponding relationship determining module 42, corresponding based on the MAC Address subset VSI and ESI, the MAC Address subset in each MAC Address outgoing interface information, in forwarding table record VSI, ESI, go out When corresponding relationship between interface message, it is specifically used for:
The first list item being made of the VSI and the ESI is recorded in the forwarding table, and determines first list item Matched MAC Address subset;
Based on the outgoing interface information of each MAC Address in the matched MAC Address subset of first list item, in the forwarding The corresponding relationship between first list item and the second list item being made of the outgoing interface information is recorded in table.
In some embodiments of the present disclosure, the adjustment module 43 is detecting the PE equipment and peer user edge When message forwarding path between CE equipment breaks down, it is specifically used for:
It receives the ether that the first opposite end PE equipment is sent in the PE equipment of at least one described opposite end and finds routing automatically not Up to information, the unreachable information includes the failure being connected between the opposite end CE equipment in the first opposite end PE equipment The ESI of interface;
The adjustment module 43, it is associated with the message forwarding path to break down in adjusting the corresponding relationship When the corresponding outgoing interface information of ESI, it is specifically used for:
Determine the first list item of target of the ESI in the forwarding table comprising the malfunctioning interface;
For each the first list item of target, the PE equipment that will be recorded in corresponding second list item of the first list item of target Outgoing interface information between each opposite end PE equipment at least one opposite end PE equipment respectively, is revised as the PE equipment Outgoing interface information between each opposite end PE equipment in addition to the first opposite end PE equipment respectively.
In some embodiments of the present disclosure, the adjustment module 43 is detecting the PE equipment and peer user edge When message forwarding path between CE equipment breaks down, it is specifically used for:
The transmission quality of link in detection and at least one opposite end PE equipment between the second opposite end PE equipment;
If detection result indicates that the transmission quality is not up to standard, it is determined that with the link between the second opposite end PE equipment It breaks down;
The adjustment module 43, it is associated with the message forwarding path to break down in adjusting the corresponding relationship When the corresponding outgoing interface information of ESI, it is specifically used for:
For the second list item recorded in the corresponding relationship, the PE equipment recorded in second list item is distinguished With the outgoing interface information at least one opposite end PE equipment between each opposite end PE equipment, it is revised as the PE equipment difference With the outgoing interface information between each opposite end PE equipment in addition to the second opposite end PE equipment.
In some embodiments of the present disclosure, the acquisition module 41 obtains respectively from the PE equipment of at least one opposite end When the MAC Address carried in ethernet segment mark ESI, the message by the ESI interface identified, it is specifically used for:
The reachable information for the MAC/ network protocol IP address notice routing that at least one opposite end PE equipment is sent respectively is received, The MAC carried in each message forwarded up to the interface in information including ethernet segment mark ESI, being identified by each ESI Address.
Wherein, the specific process flow between each module of above-mentioned apparatus can refer to the explanation in above method embodiment, this In not reinflated description.
Corresponding to above method embodiment, the embodiment of the present disclosure additionally provides a kind of electronic equipment, knot referring to Figure 5 Structure schematic diagram, the equipment 50 include processor 51, memory 52 and bus 53, and the storage of memory 52 executes instruction, when When electronic equipment 50 is run, communicated between the processor 51 and the memory 52 by bus 53, the processor 51 is held Row the described of the storage of memory 52 executes instruction, so that the equipment 50 executes the step for realizing above-mentioned forwarding table updating method Suddenly.
The embodiment of the present disclosure also provides a kind of computer readable storage medium, is stored on the computer readable storage medium Computer program executes forwarding table updating method described in above method embodiment when the computer program is run by processor The step of.
The computer program product of forwarding table updating method provided by the embodiment of the present disclosure, including store program code Computer readable storage medium, the instruction that said program code includes can be used for executing side described in above method embodiment The step of method, for details, reference can be made to above method embodiments, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.In the disclosure In provided several embodiments, it should be understood that disclosed systems, devices and methods, it can be real by another way It is existing.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, only a kind of logic function It can divide, there may be another division manner in actual implementation, in another example, multiple units or components can combine or can collect At another system is arrived, or some features can be ignored or not executed.Another point, shown or discussed mutual coupling Conjunction or direct-coupling or communication connection can be the indirect coupling or communication connection by some communication interfaces, device or unit, It can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the disclosure can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, the disclosure Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words The form of product embodies, which is stored in a storage medium, including some instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the disclosure State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit Store up the medium of program code.
Finally, it should be noted that embodiment described above, the only specific embodiment of the disclosure, to illustrate the disclosure Technical solution, rather than its limitations, the protection scope of the disclosure is not limited thereto, although with reference to the foregoing embodiments to this public affairs It opens and is described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope that the disclosure discloses, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of embodiment of the present disclosure technical solution, should all cover the protection in the disclosure Within the scope of.Therefore, the protection scope of the disclosure shall be subject to the protection scope of the claim.

Claims (14)

1. a kind of forwarding table updating method is applied in service providing end edge PE equipment characterized by comprising
The message for obtaining ethernet segment mark ESI respectively from the PE equipment of at least one opposite end, being forwarded by the interface of ESI mark The MAC address of middle carrying;
The corresponding virtual switch instance VSI of ESI, MAC Address, each MAC Address and outgoing interface information based on acquisition, are forwarding The corresponding relationship between VSI, ESI, outgoing interface information is recorded in table;
If detecting, the message forwarding path between the PE equipment and peer user edge C E equipment breaks down, and adjusts institute State outgoing interface information corresponding with the associated ESI of the message forwarding path to break down in corresponding relationship;
Wherein, the opposite end CE equipment is separately connected the PE equipment by least one described opposite end PE equipment.
2. forwarding table updating method as described in claim 1, which is characterized in that ESI, MAC Address based on acquisition, each The corresponding VSI of MAC Address and outgoing interface information are recording the corresponding relationship between VSI, ESI, outgoing interface information in forwarding table, Include:
ESI and MAC Address, the corresponding VSI of each MAC Address based on acquisition, the MAC Address of the identical VSI of correspondence is divided in In the same MAC Address set, and the MAC Address that identical ESI is corresponded in the MAC Address set is divided in the same MAC Address subset;
Outgoing interface letter based on each MAC Address in the corresponding VSI and ESI of the MAC Address subset, the MAC Address subset Breath is recording the corresponding relationship between VSI, ESI, outgoing interface information in forwarding table.
3. forwarding table updating method as claimed in claim 2, which is characterized in that described corresponding based on the MAC Address subset VSI and ESI, the MAC Address subset in each MAC Address outgoing interface information, in forwarding table record VSI, ESI, go out Corresponding relationship between interface message, comprising:
The first list item being made of the VSI and the ESI is recorded in the forwarding table, and determines the first list item matching MAC Address subset;
Based on the outgoing interface information of each MAC Address in the matched MAC Address subset of first list item, in the forwarding table Record the corresponding relationship between first list item and the second list item being made of the outgoing interface information.
4. forwarding table updating method as claimed in claim 3, which is characterized in that described to detect that the PE equipment and opposite end are used Message forwarding path between the edge C E equipment of family breaks down, comprising:
It receives the ether that the first opposite end PE equipment is sent in the PE equipment of at least one described opposite end and finds the unreachable of routing automatically Information, the unreachable information include the malfunctioning interface being connected between the opposite end CE equipment in the first opposite end PE equipment ESI;
Outgoing interface letter corresponding with the associated ESI of the message forwarding path to break down in the adjustment corresponding relationship Breath, comprising:
Determine the first list item of target of the ESI in the forwarding table comprising the malfunctioning interface;
For each the first list item of target, the PE equipment recorded in corresponding second list item of the first list item of target is distinguished With the outgoing interface information at least one opposite end PE equipment between each opposite end PE equipment, it is revised as the PE equipment difference With the outgoing interface information between each opposite end PE equipment in addition to the first opposite end PE equipment.
5. forwarding table updating method as claimed in claim 3, which is characterized in that described to detect that the PE equipment and opposite end are used Message forwarding path between the edge C E equipment of family breaks down, comprising:
The transmission quality of link in detection and at least one opposite end PE equipment between the second opposite end PE equipment;
If detection result indicates that the transmission quality is not up to standard, it is determined that the link between the second opposite end PE equipment occurs Failure;
Outgoing interface letter corresponding with the associated ESI of the message forwarding path to break down in the adjustment corresponding relationship Breath, comprising:
For the second list item recorded in the corresponding relationship, by the PE equipment recorded in second list item respectively with institute State the outgoing interface information in the PE equipment of at least one opposite end between each opposite end PE equipment, be revised as the PE equipment respectively with remove The outgoing interface information between each opposite end PE equipment except the second opposite end PE equipment.
6. forwarding table updating method as described in claim 1, which is characterized in that described to divide from the PE equipment of at least one opposite end Not Huo Qu ethernet segment mark ESI, the MAC Address that carries in the message by the ESI interface identified, comprising:
The reachable information for the MAC/ network protocol IP address notice routing that at least one opposite end PE equipment is sent respectively is received, each The MAC Address carried in the message forwarded up to the interface in information including ethernet segment mark ESI, being identified by each ESI.
7. a kind of forwarding table updating device characterized by comprising
Obtain module, for obtained respectively from least one opposite end service providing end edge PE equipment ethernet segment mark ESI, The MAC address carried in message by the interface forwarding of ESI mark;
Corresponding relationship determining module, for the ESI based on acquisition, MAC Address, the corresponding virtual switch instance of each MAC Address VSI and outgoing interface information are recording the corresponding relationship between VSI, ESI, outgoing interface information in forwarding table;
Module is adjusted, if for detecting that the message forwarding path between the PE equipment and peer user edge C E equipment occurs Failure then adjusts outgoing interface information corresponding with the associated ESI of the message forwarding path to break down in the corresponding relationship; Wherein, the opposite end CE equipment is separately connected the PE equipment by least one described opposite end PE equipment.
8. forwarding table updating device as claimed in claim 7, which is characterized in that the corresponding relationship determining module is being based on ESI, MAC Address, the corresponding VSI of each MAC Address and the outgoing interface information of acquisition record VSI, ESI in forwarding table, go out to connect Message breath between corresponding relationship when, be specifically used for:
ESI and MAC Address, the corresponding VSI of each MAC Address based on acquisition, the MAC Address of the identical VSI of correspondence is divided in In the same MAC Address set, and the MAC Address that identical ESI is corresponded in the MAC Address set is divided in the same MAC Address subset;
Outgoing interface letter based on each MAC Address in the corresponding VSI and ESI of the MAC Address subset, the MAC Address subset Breath is recording the corresponding relationship between VSI, ESI, outgoing interface information in forwarding table.
9. forwarding table updating device as claimed in claim 8, which is characterized in that the corresponding relationship determining module is being based on The outgoing interface information of each MAC Address, is forwarding in the corresponding VSI and ESI of the MAC Address subset, the MAC Address subset When recording the corresponding relationship between VSI, ESI, outgoing interface information in table, it is specifically used for:
The first list item being made of the VSI and the ESI is recorded in the forwarding table, and determines the first list item matching MAC Address subset;
Based on the outgoing interface information of each MAC Address in the matched MAC Address subset of first list item, in the forwarding table Record the corresponding relationship between first list item and the second list item being made of the outgoing interface information.
10. forwarding table updating device as claimed in claim 9, which is characterized in that the adjustment module is detecting the PE When message forwarding path between equipment and peer user edge C E equipment breaks down, it is specifically used for:
It receives the ether that the first opposite end PE equipment is sent in the PE equipment of at least one described opposite end and finds the unreachable of routing automatically Information, the unreachable information include the malfunctioning interface being connected between the opposite end CE equipment in the first opposite end PE equipment ESI;
The adjustment module, it is corresponding with the associated ESI of the message forwarding path to break down in adjusting the corresponding relationship Outgoing interface information when, be specifically used for:
Determine the first list item of target of the ESI in the forwarding table comprising the malfunctioning interface;
For each the first list item of target, the PE equipment recorded in corresponding second list item of the first list item of target is distinguished With the outgoing interface information at least one opposite end PE equipment between each opposite end PE equipment, it is revised as the PE equipment difference With the outgoing interface information between each opposite end PE equipment in addition to the first opposite end PE equipment.
11. forwarding table updating device as claimed in claim 9, which is characterized in that the adjustment module is detecting the PE When message forwarding path between equipment and peer user edge C E equipment breaks down, it is specifically used for:
The transmission quality of link in detection and at least one opposite end PE equipment between the second opposite end PE equipment;
If detection result indicates that the transmission quality is not up to standard, it is determined that the link between the second opposite end PE equipment occurs Failure;
The adjustment module, it is corresponding with the associated ESI of the message forwarding path to break down in adjusting the corresponding relationship Outgoing interface information when, be specifically used for:
For the second list item recorded in the corresponding relationship, by the PE equipment recorded in second list item respectively with institute State the outgoing interface information in the PE equipment of at least one opposite end between each opposite end PE equipment, be revised as the PE equipment respectively with remove The outgoing interface information between each opposite end PE equipment except the second opposite end PE equipment.
12. forwarding table updating device as claimed in claim 7, which is characterized in that the acquisition module, right from least one The MAC Address that ethernet segment mark ESI, carried in the message by the ESI interface identified is obtained in the PE equipment of end respectively When, it is specifically used for:
The reachable information for the MAC/ network protocol IP address notice routing that at least one opposite end PE equipment is sent respectively is received, each The MAC Address carried in the message forwarded up to the interface in information including ethernet segment mark ESI, being identified by each ESI.
13. a kind of electronic equipment characterized by comprising processor, memory and bus, the memory are stored with described The executable machine readable instructions of processor, when electronic equipment operation, by total between the processor and the memory Line communication, forwarding table of the execution as described in claim 1 to 6 is any be more when the machine readable instructions are executed by the processor The step of new method.
14. a kind of computer readable storage medium, which is characterized in that be stored with computer journey on the computer readable storage medium Sequence executes the step of the forwarding table updating method as described in claim 1 to 6 is any when the computer program is run by processor Suddenly.
CN201910351118.1A 2019-04-28 2019-04-28 Forwarding table updating method and device Active CN110113260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910351118.1A CN110113260B (en) 2019-04-28 2019-04-28 Forwarding table updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910351118.1A CN110113260B (en) 2019-04-28 2019-04-28 Forwarding table updating method and device

Publications (2)

Publication Number Publication Date
CN110113260A true CN110113260A (en) 2019-08-09
CN110113260B CN110113260B (en) 2021-07-06

Family

ID=67487132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910351118.1A Active CN110113260B (en) 2019-04-28 2019-04-28 Forwarding table updating method and device

Country Status (1)

Country Link
CN (1) CN110113260B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021031648A1 (en) * 2019-08-22 2021-02-25 华为技术有限公司 Evpn and vpls coexistence method, apparatus, and system
CN112422398A (en) * 2020-12-08 2021-02-26 中国联合网络通信集团有限公司 Message transmission method and communication device
CN113794642A (en) * 2021-08-27 2021-12-14 新华三信息安全技术有限公司 MAC table item synchronization method and device
CN113992567A (en) * 2021-10-26 2022-01-28 新华三信息安全技术有限公司 Message forwarding method and device
CN115499360A (en) * 2022-04-08 2022-12-20 锐捷网络股份有限公司 Fault processing method, device, equipment and medium under EVPN multi-homing scene

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2337277A1 (en) * 2009-12-18 2011-06-22 Alcatel Lucent Network node for a streaming tree network and method of operating a network node for a streaming tree network
CN102932499A (en) * 2012-11-01 2013-02-13 杭州华三通信技术有限公司 Method and device for learning media access control (MAC) addresses in virtual private lan service (VPLS) networks
CN105704033A (en) * 2016-01-08 2016-06-22 烽火通信科技股份有限公司 Realization method of passive optical network (PON)device route forwarding table management
CN108574630A (en) * 2017-03-14 2018-09-25 华为技术有限公司 EVPN message processing methods, equipment and system
CN108574639A (en) * 2017-03-14 2018-09-25 华为技术有限公司 EVPN message processing methods, equipment and system
CN108600109A (en) * 2018-03-19 2018-09-28 新华三技术有限公司 A kind of message forwarding method and device
CN108777663A (en) * 2018-05-31 2018-11-09 新华三技术有限公司 A kind of synchronous method and device of routing iinformation
CN109525501A (en) * 2018-12-27 2019-03-26 新华三技术有限公司 A kind of method and apparatus adjusting forward-path

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2337277A1 (en) * 2009-12-18 2011-06-22 Alcatel Lucent Network node for a streaming tree network and method of operating a network node for a streaming tree network
CN102932499A (en) * 2012-11-01 2013-02-13 杭州华三通信技术有限公司 Method and device for learning media access control (MAC) addresses in virtual private lan service (VPLS) networks
CN105704033A (en) * 2016-01-08 2016-06-22 烽火通信科技股份有限公司 Realization method of passive optical network (PON)device route forwarding table management
CN108574630A (en) * 2017-03-14 2018-09-25 华为技术有限公司 EVPN message processing methods, equipment and system
CN108574639A (en) * 2017-03-14 2018-09-25 华为技术有限公司 EVPN message processing methods, equipment and system
CN108600109A (en) * 2018-03-19 2018-09-28 新华三技术有限公司 A kind of message forwarding method and device
CN108777663A (en) * 2018-05-31 2018-11-09 新华三技术有限公司 A kind of synchronous method and device of routing iinformation
CN109525501A (en) * 2018-12-27 2019-03-26 新华三技术有限公司 A kind of method and apparatus adjusting forward-path

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021031648A1 (en) * 2019-08-22 2021-02-25 华为技术有限公司 Evpn and vpls coexistence method, apparatus, and system
CN112422307A (en) * 2019-08-22 2021-02-26 华为技术有限公司 Method, equipment and system for coexistence of EVPN and VPLS
CN112422307B (en) * 2019-08-22 2022-06-14 华为技术有限公司 Method, equipment and system for EVPN and VPLS coexistence dual-activity
CN112422398A (en) * 2020-12-08 2021-02-26 中国联合网络通信集团有限公司 Message transmission method and communication device
CN113794642A (en) * 2021-08-27 2021-12-14 新华三信息安全技术有限公司 MAC table item synchronization method and device
CN113794642B (en) * 2021-08-27 2022-11-18 新华三信息安全技术有限公司 MAC table item synchronization method and device
CN113992567A (en) * 2021-10-26 2022-01-28 新华三信息安全技术有限公司 Message forwarding method and device
CN113992567B (en) * 2021-10-26 2023-03-21 新华三信息安全技术有限公司 Message forwarding method and device
CN115499360A (en) * 2022-04-08 2022-12-20 锐捷网络股份有限公司 Fault processing method, device, equipment and medium under EVPN multi-homing scene

Also Published As

Publication number Publication date
CN110113260B (en) 2021-07-06

Similar Documents

Publication Publication Date Title
CN110113260A (en) A kind of forwarding table updating method and device
US10447496B2 (en) Multicast traffic steering using tree identity in bit indexed explicit replication (BIER)
CN101707537B (en) Positioning method of failed link and alarm root cause analyzing method, equipment and system
US9929919B2 (en) System and method for virtual network abstraction and switching
US9858163B2 (en) Dual adjacency between edge devices at a network site
US8018873B1 (en) Enhanced link state protocol for identifying broadcast networks
US9647928B2 (en) OSPF point-to-multipoint over broadcast or NBMA mode
CN103259725B (en) Messaging method and network equipment
US20110164508A1 (en) Network relay apparatus, network system, and control method of network relay apparatus
CN106034073B (en) A method of the multi-path transmission optimization based on content distributing network
CN104243320A (en) Method and device for optimizing network access paths
CN106165322A (en) Agency to redundant manipulator Routing Protocol
CN101355486A (en) Method, equipment and system for switching route
CN103428045A (en) Connectivity detection method, device and system
CN102484611B (en) Link state identifier collision handling
JP2013026829A (en) Transmission system and control method of transmission system
CN104869010B (en) Protection switching
CN105187311A (en) Message forwarding method and message forwarding device
CN103297338A (en) Virtual private network (VPN) router advertisement method and device
WO2021254173A1 (en) Routing processing method and related device
US20120051364A1 (en) Distributed routing according to longest match principle
CN107786386B (en) Selective transmission of Bidirectional Forwarding Detection (BFD) messages for authenticating multicast connections
US8078758B1 (en) Automatic configuration of source address filters within a network device
CN105939262B (en) Label distribution method and device
US7382769B1 (en) Automatic filtering to prevent network attacks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant