CN102647485B - MAC Address cancelling method and node - Google Patents

MAC Address cancelling method and node Download PDF

Info

Publication number
CN102647485B
CN102647485B CN201210110970.8A CN201210110970A CN102647485B CN 102647485 B CN102647485 B CN 102647485B CN 201210110970 A CN201210110970 A CN 201210110970A CN 102647485 B CN102647485 B CN 102647485B
Authority
CN
China
Prior art keywords
mac address
message mode
revocation
node
ability
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.)
Active
Application number
CN201210110970.8A
Other languages
Chinese (zh)
Other versions
CN102647485A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210110970.8A priority Critical patent/CN102647485B/en
Publication of CN102647485A publication Critical patent/CN102647485A/en
Application granted granted Critical
Publication of CN102647485B publication Critical patent/CN102647485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention, which provides a kind of MAC Address cancelling method and node, this method, to be included:By the local ability supported of label distribution protocol (LDP) capability negotiation mechanism interaction between node, the ability includes medium education (MAC) address revocation ability;Present node determines alternative message mode according to peer node and locally-supported MAC Address revocation ability, and the alternative message mode is used to determine the MAC Address revocation message mode to be sent.The MAC Address revocation message that the inventive method and node can ensure to send can be performed normally.

Description

MAC Address cancelling method and node
Technical field
The present invention relates to the communications field, especially a kind of MAC Address cancelling method and the node for realizing this method.
Background technology
Two layers of void of Internet Engineering Task group (The Internet Engineering Task Force, abbreviation IETF) Intend the virtual private local that private network (Layer 2 Virtual Private Networks, abbreviation L2VPN) working group defines Network service (Virtual Private Lan Service, abbreviation VPLS) is in IP/ multiprotocol label switching (MPLS) network In, how point-to-multipoint connection is provided for Ethernet, it simulates the function of Ethernet switch, and VPLS passes through MAC (Media Access Control, medium education) address learning provides the accessibility of data message, each PE (Provider Edge, Provider Edge) equipment can safeguard a mac address table.Dynamic learning to MAC Address must have refreshing and again learn The mechanism of habit.In VPLS correlation drafts:IETF RFC4762 and draft-ietf-l2vpn-vpls-ldp-mac-opt (title of the technical documentation on IETF official websites) provides a variety of using MAC Address revocation (MAC address withdrawal) Message enables method of the MAC Address deletion (to relearn) in far-end PE.
MAC List TLV (Type Length Value, type length are carried in RFC4762 in specified address revocation message Angle value), the equipment for receiving this message carries out the deletion of MAC Address according to the parameter specified in TLV.The MAC List TLV are used In specified MAC Address list, if the MAC Address list wherein specified is sky, deletes and disappear under this VPLS example except receiving this All other MAC Address outside the MAC Address acquired on the PW (Pseudo-Wire, pseudo-wire) of breath.
It is excellent with relearning that draft-ietf-l2vpn-vpls-ldp-mac-opt provides a kind of MAC Address refreshing Change mechanism, i.e., by having carried defined in MAC flush parameter TLV, the TLV bit in address withdraw message Position-N bit (Negative bit), for specifying the scope of mac refresh, one kind is N=0 (positive), represents to delete this On all other PW under VSI (Virtual Switch Instance, virtual switch instance) in addition to the PW for receiving this message The MAC Address learnt, this is consistent with the empty MAC List TLV of the carrying defined in RFC4762, and another kind is N=1 (Negative), represent only to delete to receive the MAC Address that learns on the PW of this message, greatly reduce address flush with again The scope newly learnt.
In summary, IETF mainly defines four kinds of MAC Address revocation message modes at present:The first message mode is The MAC Address revocation message of the MAC Address list of non-NULL is carried, with receiving the MAC that is carried in the knot removal message of the message Location;Second of message mode is the MAC Address revocation message for carrying empty MAC Address list, receives the knot removal of the message Removed under this VPLS example all other outside the MAC Address for receiving and being acquired on the PW (Pseudo-Wire, pseudo-wire) of this message MAC Address;The third message mode is that the MAC Address revocation for carrying radical (Positive) deletion instruction (i.e. N-bit=0) disappears Breath, receive all in addition to the MAC Address acquired on the PW for receiving this message under the knot removal of the message this VPLS example Other MAC Address, the 4th kind of message mode are to carry conservative (Negative) to delete instruction (i.e. N-bit=1)) MAC Address Revocation message, the node for receiving the message only delete the MAC Address learnt on the PW for receive this message.
So, (the MAC Address revocation that can support disappears the MAC Address revocation ability that different nodes are supported in existing network Breath mode and the ability that MAC Address deletion action is carried out according to the message) have nothing in common with each other, do not know Correspondent Node again between each other The MAC Address revocation message of which kind of ability is supported, so in VPLS network, some nodes are receiving the MAC Address do not supported During revocation message, it will have no idea to refresh MAC Address list, i.e., do not play the effect of revocation MAC Address.
We illustrate by taking Fig. 1 as an example, and in Fig. 1, AC1 (Attachment Circuit, accessing circuit) breaks down, PE1, which in the light of actual conditions sends other nodes into VPLS network, in VPLS network carries Negative deletion instructions MAC revocation messages (are represented) in Fig. 1 using dotted arrow.And actually PE2 and PE4 do not identify and handled carrying Negative deletes the MAC Address revocation message of instruction, then the two nodes can not cancel corresponding after this message is received MAC Address, so reaching the effect that cancels corresponding MAC Address.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of MAC Address cancelling method and the node for realizing this method, with Solve normally perform MAC Address because the message mode that sender uses mismatches with receiver equipment ability and delete behaviour The technical problem of work.
In order to solve the above-mentioned technical problem, the embodiments of the invention provide mutually notice MAC Address between a kind of node to remove The method of pin ability, this method include:
Pass through the local ability supported of label distribution protocol (LDP) capability negotiation mechanism interaction, the energy between node Power includes medium education (MAC) address revocation ability;
Present node determines alternative message mode according to peer node and locally-supported MAC Address revocation ability, should Alternative message mode is used to determine the MAC Address revocation message mode to be sent.
Further, when needing to send the event of MAC Address revocation message, the present node selection meets thing Part requirement and for the alternative message mode as the MAC Address revocation message mode to be sent.
Meeting event requirements and alternative message mode includes carrying conservative (Negative) deletion instruction and takes During MAC Address revocation message mode with non-NULL MAC Address list, selection carries the MAC that conservative (Negative) deletes instruction Address withdraw message mode is as the MAC Address revocation message mode to be sent;
Meeting event requirements and alternative message mode includes carrying radical (Positive) deletion instruction and takes During MAC Address revocation message mode with empty MAC Address list, selection carries the MAC Address revocation message of empty MAC Address list Mode is as the MAC Address revocation message mode to be sent.
Preferably, when the present node receives the MAC Address revocation message ability of the opposite end, the alternate message Mode is that described present node and the peer node support MAC Address revocation message corresponding to MAC Address revocation ability jointly Mode, when the present node does not receive the MAC Address revocation ability of the opposite end, using described in the determination of following either type Alternative message mode:
It is sent to from the peer node of record in the MAC Address revocation message mode of present node, selects a kind of MAC Address Revocation message mode;
Select the MAC Address revocation message mode of local default configuration;
Selection carries the MAC Address revocation message side that conservative (Negative) deletes instruction or the MAC Address list of sky Formula;
The priority of first two selection mode is set, and when former selection mode can not be realized, selection carries conservative (Negative) or empty MAC Address list MAC Address revocation message mode.
To solve above technical problem, present invention also offers a kind of node, the node includes:
Ability interactive module, it is local for being interacted by label distribution protocol (LDP) capability negotiation mechanism with other nodes The ability supported, the ability include medium education (MAC) address revocation ability;
Alternate ways determining module, it is alternative for being determined according to peer node and locally-supported MAC Address revocation ability Message mode, the alternative MAC Address revocation message mode be used for determine the MAC Address revocation message mode to be sent.
Preferably, the node also includes message mode determining module, when needing to send MAC Address revocation message During event, for selecting to meet event requirements and cancel and disappear as the MAC Address to be sent for the alternative message mode Breath mode.
Meeting event requirements and alternative message mode includes carrying conservative (Negative) deletion instruction and takes During MAC Address revocation message mode with non-NULL MAC Address list, the message mode determining module selection carries conservative (Negative) the MAC Address revocation message mode of instruction is deleted as the MAC Address revocation message mode to be sent;
Meeting event requirements and alternative message mode includes carrying radical (Positive) deletion instruction and takes During MAC Address revocation message mode with empty MAC Address list, the message mode determining module selection carries empty MAC Address The MAC Address revocation message mode of list is as the MAC Address revocation message mode to be sent.
The inventive method and node, it can effectively solve the problem that the MAC Address revocation message mode used due to transmitting terminal with connecing The problem of MAC Address can not be cancelled normally caused by the ability of receiving end mismatches, smaller, cost of implementation is changed to existing protocol It is relatively low.
Brief description of the drawings
Fig. 1 is the schematic diagram of current MAC Address revocation mechanism;
Fig. 2 is the schematic diagram of MAC Address cancelling method of the present invention;
Fig. 3 is the schematic diagram of the application example one of MAC Address cancelling method of the present invention;
Fig. 4 is the schematic diagram of the application example two of MAC Address cancelling method of the present invention;
Fig. 5-Fig. 7 is three modular structure schematic diagrams of the node that the present invention realizes MAC Address cancelling method.
Embodiment
As shown in Fig. 2 MAC Address cancelling method of the embodiment of the present invention includes:
Step 201:The local institute's tenability of interaction, the ability include medium education (MAC) address between node Revocation ability;
The node that MAC Address revocation ability described in the present invention refers to reception MAC Address revocation message identifies the message mode And perform the ability of the MAC deletion actions indicated by the message.
Exemplified by a manner of existing four kinds of MAC Address revocation messages, including following four MAC Address revocation ability:
The first MAC Address cancels ability:Identification and processing carry the MAC Address revocation message of non-NULL MAC Address list Ability
That is, the MAC Address revocation message for the MAC Address list for carrying non-NULL can be identified, and message is deleted according to the message The MAC Address of middle carrying;
Second of MAC Address cancels ability:Identification and processing carry the MAC Address revocation message of empty MAC Address list Ability
That is, the MAC Address revocation message for carrying empty MAC Address list can be identified, and this VPLS is deleted according to the message All other MAC Address under example outside the MAC Address for the PW (Pseudo-Wire, pseudo-wire) for receiving this message;
The third MAC Address cancels ability:The MAC Address that identification and processing carry radical (Positive) deletion instruction is removed Sell the ability of message
That is, it can identify and carry the MAC Address revocation message that radical (Positive) deletes instruction (i.e. N-bit=0), and root All other MAC Address under this VPLS example in addition to the PW MAC Address of this message is received is deleted according to the message;
4th kind of MAC Address cancels ability:The MAC Address that identification and processing carry conservative (Negative) deletion instruction is removed Sell the ability of message
That is, it can identify and carry the MAC Address revocation message that conservative (Negative) deletes instruction (i.e. N-bit=1), and root The MAC Address for receiving and learning on the PW of this message is deleted according to the message.
Handling capacity negotiation functionality message is in LDP sessions (Label Distribution Protocol between node Session, label distribution protocol session) establish during the supported ability of interaction, it is described that this hair is included by interactive ability Bright described MAC Address revocation ability.
Node for not supporting any MAC Address revocation ability, transmission is shown that it does not support any MAC Address to remove by it The capability negotiation feature message of pin ability.
Understandably, for the node for the MAC Address revocation ability interaction for not supporting the present invention, it is inevitable not to other sections Point sends the capability negotiation feature message for carrying its MAC Address revocation ability, for this situation, is improved according to the present invention program Node will be regarded as the node MAC addr revocation ability fail to understand.
Capability negotiation feature message described in the present invention refers to node its ability for supporting for notifying to receive the message, should Message is defined with the function of its realization, is not pointing at some or some specific message names.
Step 202:Present node determines alternative message according to peer node and locally-supported MAC Address revocation ability Mode, the alternative message mode are used to determine the MAC Address revocation message mode to be sent.
Understandably, the alternative message mode described in the present invention is the hair in the case where sending MAC Address revocation message The mode for the MAC Address revocation message sent must be one kind in the alternative message mode.
Preferably, when the peer node, which notices it, does not support any MAC Address revocation ability, the node can not select The mode of suitable MAC Address revocation message is selected out, therefore does not send MAC Address revocation message to the peer node.
When the present node receives the MAC Address revocation message ability of the opposite end, the alternate message mode is Described present node and the peer node support MAC Address revocation message mode, institute corresponding to MAC Address revocation ability jointly State present node do not receive the opposite end MAC Address revocation ability when, it is believed that the peer node ability fails to understand that use is following Either type determines the alternative message mode:
(1) present node is sent in the MAC Address revocation message mode of present node from the peer node of record, Select a kind of MAC Address revocation message mode;
Which requires the MAC Address revocation message mode that each other nodes of nodes records are sent, and is selected as evidence Select the MAC Address revocation message mode of peer node to be sent to.
(2) the MAC Address revocation message mode of local default configuration is selected;
(3) selection carries the MAC Address revocation that conservative (Negative) deletes instruction or with sky MAC Address list Message mode;
(4) priority of first two selection mode is set, and when former selection mode can not be realized, selection, which carries, to be protected Keep the MAC Address revocation message mode that (Negative) deletes instruction or empty MAC Address list.
Such as:Prioritizing selection peer node is sent to the MAC Address revocation message mode of present node, if peer node is not MAC Address revocation message is sent to present node, that is, the message mode recorded is sky, then with selecting the MAC of local default configuration Location revocation message mode, if local node is not provided with, selection carries the MAC Address revocation message side of empty MAC Address list Formula.
Or select the MAC Address revocation message mode being locally configured;When not configuring, sent from the peer node of record To in the MAC Address revocation message mode of present node, a kind of MAC Address revocation message mode is selected;The peer node of record The MAC Address revocation message mode for being sent to present node is space-time, selection carry conservative (Negative) delete instruction or The MAC Address revocation message mode of person's sky MAC Address list.
Any MAC Address is not supported to delete ability if peer node notices it, present node is with can not selecting any MAC The selection failure of location revocation message mode, i.e. message mode.
The above method is smaller to existing protocol change, and cost of implementation is relatively low.
Step 203:When needing to send the event of MAC Address revocation message, the present node selection meets thing Part requirement and for the alternative message mode as the MAC Address revocation message mode to be sent.
The message mode for meeting event requirements refers to according to standard (such as RFC4762 and draft-ietf-l2vpn-vpls- Ldp-mac-opt when) regulation learns needs to opposite end transmission MAC Address revocation message, can determine to send according to specific event Pessimistic class MAC Address revocation message or optimistic class MAC Address revocation message.
The pessimistic class MAC Address revocation message includes carrying the MAC Address revocation message of non-NULL MAC Address list and taken Band conservative (Negative) deletes the MAC Address revocation message of instruction (carrying N bit=1).
The optimistic class MAC Address revocation message includes carrying MAC Address revocation message and the carrying of empty MAC Address list Radical (Positive) deletes the MAC Address revocation message of instruction (namely N bit=0).
For example, as shown in figure 3, when the AC that is connected with PE1 equipment breaks down, what PE1 needed to send described meets thing The message mode of part requirement refers to pessimistic class MAC Address revocation message, if PE2 actively initiates MAC Address revocation message, then The described message mode for meeting event requirements that PE2 needs to send refers to optimistic class MAC Address revocation message.
For example, meet event requirements and alternative message mode include carrying conservative (Negative) delete instruction and When carrying the MAC Address revocation message mode of non-NULL MAC Address list, selection carries conservative (Negative) and deletes instruction MAC Address revocation message mode is as the MAC Address revocation message mode to be sent.
In another example meeting event requirements and alternative message mode includes carrying radical (Positive) and deleting referring to When showing and carrying the MAC Address revocation message mode of empty MAC Address list, the MAC Address that selection carries empty MAC Address list is removed Message mode is sold as the MAC Address revocation message mode to be sent.
Application example one:
As shown in figure 3, being the schematic diagram of the MAC Address revocation message mechanism of the embodiment of the present invention one, this method includes following Step:
Step 301, PE nodes configuration VPLS business, and other PE nodes establish target session with VPLS;
The VPLS business of PE1 configurations includes the configuration information such as VPLS examples and pseudo-wire.Specific same RFC4762, here not Introduce more.
As shown in figure 3, PE1 establishes target session with PE2, PE3 and PE4.
Its MAC Address locally supported is noticed mutually between PE nodes in step 302, VPLS by LDP agreements to remove Pin ability;
By LDP agreements noticing its mutually between PE nodes, locally MAC Address for being supported cancels ability, here can be with Noticed by LDP session.
As shown in figure 3, PE1 will notice PE2, PE3 and PE4 its locally-supported radical (Positive) revocation ability, guard (Negative) ability and non-NULL MAC Address list revocation ability are cancelled;PE2 notices PE1, PE3 and PE4, and its is locally-supported sharp Enter (Positive) revocation ability and non-NULL MAC Address list revocation ability;PE3 will notice PE1, PE2 and PE4 its this twelve Earthly Branches Hold radical (Positive) revocation ability, conservative (Negative) revocation ability;PE4 notices PE1, PE2 and PE3, and its is locally-supported Radical (Positive) cancels ability and non-NULL MAC Address list revocation ability;
All PE nodes in so VPLS have both known about the MAC Address revocation ability that other nodes are supported.
Step 303, when AC1 breaks down, PE1 according to peer node and locally-supported MAC Address cancel ability with And the MAC Address revocation message mode that existing regulation selection is sent, specifically, select to carry Negative and delete to refer to for PE3 The MAC Address revocation message shown, the MAC Address revocation message of non-NULL MAC lists is carried for PE2 and PE4 selections;
Specifically, the MAC Address revocation message mode selected in the step 303 belongs to local and peer node while propped up Message mode corresponding to the revocation ability held meets standard again, and to the event, (AC1 breaks down, and PE1 sends MAC Address revocation energy Power message) under the relevant regulations of message mode that send.The standard mentioned here that meets is to the message mode that is sent under the event Existing regulation, namely meet event requirements.
Specifically, existing regulation refer to according to standard draft-ietf-l2vpn-vpls-ldp-mac-opt and As defined in RFC4762 when AC1 breaks down, PE1, which needs to send, carries Negative deletions instruction or non-NULL MAC Address row The MAC Address revocation message mode of table.
Step 304:PE1 sends the MAC Address revocation message for carrying Negative deletion instructions to PE3 (using void in Fig. 3 Line arrow represents);The MAC Address revocation message that PE1 sends carrying non-NULL MAC lists to PE2 and PE4 (uses solid line arrow in Fig. 3 Head represents).
PE nodes in step 305, VPLS refresh mac address table according to corresponding MAC Address revocation message is received.
Embodiment two:
As shown in figure 4, be the schematic diagram of the MAC Address revocation message mechanism of the embodiment of the present invention two, in the present embodiment, PE4 does not support that sending MAC Address cancels ability, and this method comprises the following steps:
Step 401, PE nodes configuration VPLS business, and other PE nodes establish target session with VPLS;
The VPLS business of PE1 configurations includes the configuration information such as VPLS examples and pseudo-wire.Specific same RFC4762, here not Introduce more.
As shown in figure 4, PE1 establishes target session with PE2, PE3 and PE4.
Its MAC Address locally supported is noticed mutually between PE nodes in step 402, VPLS by LDP agreements to remove Pin ability;
By LDP agreements noticing its mutually between PE nodes, locally MAC Address for being supported cancels ability, here can be with Noticed by LDP session.
As shown in figure 4, PE1 will notice PE2, PE3 and PE4 its locally-supported radical (Positive) revocation ability, guard (Negative) ability and non-NULL MAC Address list revocation ability are cancelled;PE2 notices PE1, PE3 and PE4, and its is locally-supported sharp Enter (Positive) revocation ability and non-NULL MAC Address list revocation ability;PE3 will notice PE1, PE2 and PE4 its this twelve Earthly Branches Hold radical (Positive) revocation ability and non-NULL MAC Address list revocation ability;PE4 does not support MAC Address revocation ability to hand over Mutually, so its MAC Address revocation ability locally supported will not be noticed to other PE, but PE1, PE2 and PE3 think PE4 abilities are failed to understand, the mode of the MAC Address revocation message of oneself can be issued according to the PE4 of record, with selecting the MAC to be sent Location revocation message mode.
All PE nodes in so VPLS have both known about the MAC Address revocation ability that other nodes are supported.
Step 403, when AC1 breaks down, PE1 according to peer node and locally-supported MAC Address cancel ability with And the MAC Address revocation message mode that the selection of event requirements is sent, specifically, select to carry non-NULL MAC lists for PE3 MAC Address revocation message, select to carry the MAC Address revocation message of non-NULL MAC lists for PE2;For PE4 prioritizing selections its The transmitted MAC Address revocation message mode to come, as PE4 not yet sent MAC revocation messages, then select to give tacit consent on PE1 to match somebody with somebody The MAC Address revocation message mode put, such as not yet configuring, then selection carries the MAC Address revocation message of empty MAC Address list, In the present embodiment, PE4 is not transmitted across MAC Address revocation message, and the message mode of non-allocating default to PE1, so being directed to PE4 PE1 selections carry the MAC Address revocation message mode that conservative (Negative) deletes instruction.Mode
Specifically, the MAC Address revocation message mode selected in the step 303 belongs to local and peer node while propped up Message mode corresponding to the revocation ability held meets standard again, and to the event, (AC1 breaks down, and PE1 sends MAC Address revocation energy Power message) under the relevant regulations of message mode that send.
Specifically, existing regulation refer to according to standard draft-ietf-l2vpn-vpls-ldp-mac-opt and As defined in RFC4762 when AC1 breaks down, PE1, which needs to send, carries Negative deletions instruction or non-NULL MAC Address row The MAC Address revocation message mode of table.
Step 404:The MAC Address revocation message that PE1 sends aforesaid way to PE2, PE3 and PE4 respectively (uses in Fig. 4 Dotted arrow represents to carry the MAC Address revocation message of non-NULL MAC lists, represents to carry using solid arrow and guard (Negative) the MAC Address revocation message of instruction is deleted);
PE nodes in step 405, VPLS refresh mac address table according to corresponding MAC Address revocation message is received.
To realize above method, present invention also offers a kind of node, as shown in figure 5, the node includes:
Ability interactive module, for interacting the local ability supported with other nodes, the ability accesses including media Control (MAC) address revocation ability;
The ability interactive module handling capacity negotiation functionality message is during label distribution protocol (LDP) session establishment The supported ability of interaction.
Alternate ways determining module, it is alternative for being determined according to peer node and locally-supported MAC Address revocation ability Message mode, the alternative MAC Address revocation message mode be used for determine the MAC Address revocation message mode to be sent.
As it was previously stated, the MAC Address revocation ability includes identifying and handling respectively following MAC Address revocation message mode Ability:
Carry the MAC Address revocation message mode of non-NULL MAC Address list;
Carry the MAC Address revocation message mode of empty MAC Address list;
Carry the MAC Address revocation message mode that radical (Positive) deletes instruction;
Carry the MAC Address revocation message mode that conservative (Negative) deletes instruction.
Further, as shown in fig. 6, compared with Fig. 5, difference is, it is true that the node also includes message mode Cover half block, when need send MAC Address revocation message event when, for select meet event requirements message mode and It is the alternative message mode as the MAC Address revocation message mode to be sent.Alternatively, the message of event requirements is met Mode and alternative message mode include carrying conservative (Negative) deletion instruction and carry non-NULL MAC Address list During MAC Address revocation message mode, the message mode determining module selection carries the MAC that conservative (Negative) deletes instruction Address withdraw message mode is as the MAC Address revocation message mode to be sent.
Alternatively, message mode and the alternative message mode for meeting event requirements are radical including carrying (Positive) when deleting instruction and carrying the MAC Address revocation message mode of empty MAC Address list, the message mode determines Module selection carries the MAC Address revocation message mode of empty MAC Address list as the MAC Address revocation message side to be sent Formula.
Specifically, when the present node receives the MAC Address revocation message ability of the opposite end, the alternate ways Present node and the peer node support MAC Address corresponding to MAC Address revocation ability to remove jointly described in determining module determination Pin message mode is alternative message mode, when being not received by the MAC Address revocation ability of peer node, the alternate ways Determining module determines the alternative message mode according to following either type:
Select the MAC Address revocation message mode of local default configuration;
Selection carries the MAC Address revocation message that conservative (Negative) deletes instruction or empty MAC Address list Mode.
Alternatively, as shown in fig. 7, the node also includes message mode logging modle, sent for recording other nodes MAC Address revocation message mode;
When being not received by the MAC Address revocation ability of peer node, the alternate ways determine according to it is following either one Formula determines the alternative message mode:
It is sent to from the peer node of record in the MAC Address revocation message mode of present node, selects a kind of MAC Address Revocation message mode;
The MAC Address revocation message mode that the peer node of record is sent to present node is space-time, and selection is locally configured MAC Address revocation message mode, when not configuring, selection carries conservative (Negative) and deletes instruction or empty MAC Address The MAC Address revocation message mode of list;
Select the MAC Address revocation message mode being locally configured;When not configuring, it is sent to currently from the peer node of record In the MAC Address revocation message mode of node, a kind of MAC Address revocation message mode is selected;The peer node of record is sent to The MAC Address revocation message mode of present node is space-time, and selection carries conservative (Negative) and deletes instruction or empty MAC The MAC Address revocation message mode of address list.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program Related hardware is completed, and said procedure can be stored in computer-readable recording medium, such as read-only storage, disk or CD Deng.Alternatively, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Accordingly Ground, each module/unit in above-described embodiment can be realized in the form of hardware, can also use the shape of software function module Formula is realized.The present invention is not restricted to the combination of the hardware and software of any particular form.
The above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, reference only to preferred embodiment to this hair It is bright to be described in detail.It will be understood by those within the art that technical scheme can be modified Or equivalent substitution, without departing from the spirit and scope of technical solution of the present invention, the claim model in the present invention all should be covered Among enclosing.

Claims (11)

1. a kind of MAC Address cancelling method, it is characterised in that this method includes:
Included between node by the local ability supported of label distribution protocol LDP capability negotiations mechanism interaction, the ability MAC address cancels ability;
Present node determines alternative message mode according to peer node and locally-supported MAC Address revocation ability, and this is alternative Message mode be used for determine the MAC Address revocation message mode to be sent;
Wherein, the MAC Address revocation ability includes the ability for identifying and handling MAC Address revocation message mode.
2. the method as described in claim 1, it is characterised in that:The MAC Address revocation mode cancels including following MAC Address Message mode:
Carry the MAC Address revocation message mode of non-NULL MAC Address list;
Carry the MAC Address revocation message mode of empty MAC Address list;
Carry the MAC Address revocation message mode that radical (Positive) deletes instruction;
Carry the MAC Address revocation message mode that conservative (Negative) deletes instruction.
3. the method as described in claim 1, it is characterised in that:When needing to send the event of MAC Address revocation message, It is that present node selection meets event requirements and cancel and disappear as the MAC Address to be sent for the alternative message mode Breath mode.
4. method as claimed in claim 3, it is characterised in that:
Meeting event requirements and alternative message mode includes carrying conservative (Negative) deletion instruction and carries non- During the MAC Address revocation message mode of empty MAC Address list, selection carries the MAC Address that conservative (Negative) deletes instruction Revocation message mode is as the MAC Address revocation message mode to be sent;
Meeting event requirements and alternative message mode includes carrying radical (Positive) deletion instruction and carries empty During the MAC Address revocation message mode of MAC Address list, selection carries the MAC Address revocation message mode of empty MAC Address list As the MAC Address revocation message mode to be sent.
5. the method as described in claim 1, it is characterised in that:The MAC Address that the present node receives the opposite end is removed When selling message capability, the alternate message mode is that described present node and the peer node support MAC Address to cancel jointly MAC Address revocation message mode corresponding to ability, the present node do not receive the MAC Address revocation ability of the opposite end When, the alternative message mode is determined using following either type:
It is sent to from the peer node of record in the MAC Address revocation message mode of present node, selects a kind of MAC Address to cancel Message mode;
Select the MAC Address revocation message mode of local default configuration;
Selection carries the MAC Address revocation message mode that conservative (Negative) deletes instruction or the MAC Address list of sky;
The priority of first two selection mode is set, and when former selection mode can not be realized, selection carries conservative (Negative) or empty MAC Address list MAC Address revocation message mode.
6. a kind of node, it is characterised in that the node includes:
Ability interactive module, for interacting local supported with other nodes by label distribution protocol LDP capability negotiations mechanism Ability, the ability include MAC address revocation ability;
Alternate ways determining module, for determining alternative disappear according to peer node and locally-supported MAC Address revocation ability Breath mode, the alternative MAC Address revocation message mode are used to determine the MAC Address revocation message mode to be sent;
Wherein, the MAC Address revocation ability includes the ability for identifying and handling MAC Address revocation message mode.
7. node as claimed in claim 6, it is characterised in that:The MAC Address revocation mode cancels including following MAC Address Message mode:Carry the MAC Address revocation message mode of non-NULL MAC Address list;
Carry the MAC Address revocation message mode of empty MAC Address list;
Carry the MAC Address revocation message mode that radical (Positive) deletes instruction;
Carry the MAC Address revocation message mode that conservative (Negative) deletes instruction.
8. node as claimed in claim 6, it is characterised in that:The node also includes message mode determining module, works as generation When needing to send the event of MAC Address revocation message, for select to meet event requirements and for the alternative message mode As the MAC Address revocation message mode to be sent.
9. node as claimed in claim 8, it is characterised in that:
Meeting event requirements and alternative message mode includes carrying conservative (Negative) deletion instruction and carries non- During the MAC Address revocation message mode of empty MAC Address list, the message mode determining module selection carries conservative (Negative) the MAC Address revocation message mode of instruction is deleted as the MAC Address revocation message mode to be sent;
Meeting event requirements and alternative message mode includes carrying radical (Positive) deletion instruction and carries empty During the MAC Address revocation message mode of MAC Address list, the message mode determining module selection carries empty MAC Address list MAC Address revocation message mode as the MAC Address revocation message mode to be sent.
10. node as claimed in claim 6, it is characterised in that:The MAC Address that the present node receives the opposite end is removed When selling message capability, present node and the peer node described in the alternate ways determining module determination with supporting MAC jointly MAC Address revocation message mode corresponding to location revocation ability is alternative message mode;With being not received by the MAC of peer node When location cancels ability, the mode alternate ways determining module determines the alternative message mode according to following either type:
Select the MAC Address revocation message mode of local default configuration;
Selection carries the MAC Address revocation message mode that conservative (Negative) deletes instruction or the MAC Address list of sky.
11. node as claimed in claim 6, it is characterised in that:The node also includes message mode logging modle, for remembering Record other nodes and send MAC Address revocation message mode;
Be not received by peer node MAC Address revocation ability when, the alternate ways determination mode according to it is following either one Formula determines the alternative message mode:
It is sent to from the peer node of record in the MAC Address revocation message mode of present node, selects a kind of MAC Address to cancel Message mode;
The MAC Address revocation message mode that the peer node of record is sent to present node is space-time, selects the MAC being locally configured Address withdraw message mode, when not configuring, selection carries conservative (Negative) and deletes instruction or empty MAC Address list MAC Address revocation message mode;
Select the MAC Address revocation message mode being locally configured;When not configuring, present node is sent to from the peer node of record MAC Address revocation message mode in, select a kind of MAC Address revocation message mode;The peer node of record is sent to currently The MAC Address revocation message mode of node is space-time, and selection carries conservative (Negative) and deletes instruction or empty MAC Address row The MAC Address revocation message mode of table.
CN201210110970.8A 2012-04-16 2012-04-16 MAC Address cancelling method and node Active CN102647485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210110970.8A CN102647485B (en) 2012-04-16 2012-04-16 MAC Address cancelling method and node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210110970.8A CN102647485B (en) 2012-04-16 2012-04-16 MAC Address cancelling method and node

Publications (2)

Publication Number Publication Date
CN102647485A CN102647485A (en) 2012-08-22
CN102647485B true CN102647485B (en) 2017-11-10

Family

ID=46660058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210110970.8A Active CN102647485B (en) 2012-04-16 2012-04-16 MAC Address cancelling method and node

Country Status (1)

Country Link
CN (1) CN102647485B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110747A (en) * 2007-09-12 2008-01-23 华为技术有限公司 Method, device and system for eliminating medium accesses to control address
CN101572666A (en) * 2009-06-05 2009-11-04 杭州华三通信技术有限公司 Method and device for flow switching in Virtual Private LAN Service (VPLS) network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9063209B2 (en) * 2009-11-05 2015-06-23 Samsung Sds Co., Ltd. Location tracking system and method of wireless device using wireless LAN access point

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110747A (en) * 2007-09-12 2008-01-23 华为技术有限公司 Method, device and system for eliminating medium accesses to control address
CN101572666A (en) * 2009-06-05 2009-11-04 杭州华三通信技术有限公司 Method and device for flow switching in Virtual Private LAN Service (VPLS) network

Also Published As

Publication number Publication date
CN102647485A (en) 2012-08-22

Similar Documents

Publication Publication Date Title
CN107733793B (en) Forwarding table item maintenance method and device
Li et al. IS-IS extensions for Traffic Engineering
Smit et al. Intermediate system to intermediate system (IS-IS) extensions for traffic engineering (TE)
CN101815107B (en) Method, system and equipment for managing address in Ethernet ring
CN102223365B (en) User access method and device based on SSL (Secure Socket Layer) VPN (Virtual Private Network) gateway cluster
US20140219135A1 (en) Virtual Private Network Implementation Method and System Based on Traffic Engineering Tunnel
CN102349277B (en) The intrusion detection of virtual two layers of service
CN105591974B (en) Message processing method, apparatus and system
CN104219125B (en) The method, apparatus and system to be E-Packeted centered on information in network ICN
CN104518940A (en) Communication method and device for NVO3 (network virtualization over layer 3) network and MPLS (multi-protocol label switching) network
CN101651630A (en) Switching method and switching device based on link fault
CN102195822B (en) Fault detection method and business provider edge (PE) equipment
CN103118148A (en) Method and device for updating ARP (address resolution protocol) cache
CN102857418B (en) A kind of Quickly regroup changing method based on VPN and equipment
CN102064995A (en) Method and device for link protection in virtual private local area network
CN108023974A (en) A kind of address aging method and apparatus
CN103516612A (en) Method for generating routing table items in a distributed router, and distributed router
CN104333467B (en) A kind of gateway proxy method and apparatus of track traffic wireless network links failure
CN101860482A (en) Two-layer virtual private network fast re-route method and device
CN102546855B (en) MAC Address recovery method and PE equipment in VPLS network
CN101299723B (en) Method and apparatus for managing label switching route tunnel information
CN108418759A (en) A kind of MAC Address list item processing method and processing device
CN110417655A (en) A kind of method and device of data message forwarding
CN101217465A (en) A route selecting method for multi-exit server and router
Kocharians et al. CCIE Routing and Switching v5. 0 Official Cert Guide

Legal Events

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