CN102647485A - Media access control (MAC) address cancel method and node - Google Patents

Media access control (MAC) address cancel method and node Download PDF

Info

Publication number
CN102647485A
CN102647485A CN2012101109708A CN201210110970A CN102647485A CN 102647485 A CN102647485 A CN 102647485A CN 2012101109708 A CN2012101109708 A CN 2012101109708A CN 201210110970 A CN201210110970 A CN 201210110970A CN 102647485 A CN102647485 A CN 102647485A
Authority
CN
China
Prior art keywords
mac address
message mode
cancelled
node
message
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
CN2012101109708A
Other languages
Chinese (zh)
Other versions
CN102647485B (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

Images

Abstract

The invention provides a media access control (MAC) address cancel method and a node. The method comprises the following steps that: local supported capabilities are interacted among nodes through a label distribution protocol (LDP) capability consultation mechanism, and the capabilities comprise the MAC address cancel capability; and the current node determines standby message modes according to an opposite end node and the local supported MAC address cancel capabilities, and the standby message modes are used for determining the MAC address cancel message modes to be sent. The method and the node provided by the invention have the advantage that the normal execution of the sent MAC address cancel messages can be ensured.

Description

MAC Address cancelling method and node
Technical field
The present invention relates to the communications field, the node of especially a kind of MAC Address cancelling method and this method of realization.
Background technology
The Internet engineering duty group (The Internet Engineering Task Force; Be called for short IETF) Layer 2 virtual private network (Layer 2 Virtual Private Networks; Abbreviation L2VPN) VPLS (the Virtual Private Lan Service of working group's definition; Be called for short VPLS) be in IP/ multiprotocol label switching (mpls) network, for Ethernet provides the connection of multiple spot to multiple spot, the function of its simulation Ethernet switch; VPLS is through MAC (Media Access Control; The medium access control) address learning provides the accessibility of data message, and each PE (Provider Edge, Provider Edge) equipment can be safeguarded a mac address table.Dynamic learning to MAC Address the mechanism that refreshes and relearn must be arranged.In the relevant draft of VPLS: IETF RFC4762 and draft-ietf-l2vpn-vpls-ldp-mac-opt (title of the technical documentation on the IETF official website) provide multiple use MAC Address to cancel (MAC address withdrawal) message to make MAC Address on the far-end PE be able to the method for deletion (so that relearning).
Specified address is cancelled and is carried MAC List TLV (Type Length Value, type lengths values) in the message among the RFC4762, receives that the equipment of this message carries out the deletion of MAC Address according to designated parameters among the TLV.This MAC List TLV is used to specify the MAC Address tabulation, if wherein the tabulation of the MAC Address of appointment is for empty, then deletes to remove under this VPLS instance and receives all other MAC Addresss outside the MAC Address of acquiring on the PW (Pseudo-Wire, pseudo-line) of this message.
The optimization mechanism that draft-ietf-l2vpn-vpls-ldp-mac-opt provides a kind of MAC Address to refresh and relearn; Promptly through in address withdraw message, carrying MAC flush parameter TLV; Defined a bit position-N bit (Negative bit) among this TLV, be used to specify the scope of mac refresh, a kind of is N=0 (positive); This VSI of expression deletion (Virtual Switch Instance; Virtual switch instance) MAC Address of learning on all other PW under except that the PW that receives this message, this is consistent with the MAC List TLV that carries sky that defines among the RFC4762, another kind is N=1 (Negative); The MAC Address of learning on the PW of this message is received in expression only deletion, has significantly reduced address flush and the scope that relearns.
In sum, IETF has defined four kinds of MAC Addresss to cancel message mode at present: first kind of message mode is that the MAC Address that carries the MAC Address tabulation of non-NULL is cancelled message, receives the MAC Address that carries in the knot removal message of this message; Second kind of message mode is that the MAC Address that carries empty MAC Address tabulation is cancelled message, and this VPLS instance of knot removal that receives this message removes down receives all other MAC Addresss outside the MAC Address of acquiring on the PW (Pseudo-Wire, pseudo-line) of this message; The third message mode is that the MAC Address that carries radical (Positive) deletion indication (being N-bit=0) is cancelled message; Receive all other MAC Addresss the MAC Address of on the PW that receives this message, acquiring under this VPLS instance of knot removal of this message; The 4th kind of message mode is to carry conservative (Negative) deletion indication (being N-bit=1)) MAC Address cancel message, the node that receives this message is only deleted the MAC Address of learning on the PW that receives this message.
So; The MAC Address that different node is supported in the existing network is cancelled ability (MAC Address that promptly can support is cancelled message mode and carried out the ability of MAC Address deletion action according to this message) and is had nothing in common with each other; Do not know again that each other the MAC Address of which kind of ability of the other side's node support cancels message, in the VPLS network, the node that has is when receiving that unsupported MAC Address is cancelled message like this; To have no idea to refresh the MAC Address tabulation, promptly not play the effect of cancelling MAC Address.
We are that example describes with Fig. 1; Among Fig. 1; AC1 (Attachment Circuit; Place in circuit) break down, other nodes that PE1 in the light of actual conditions will be in the VPLS network in the VPLS network send the MAC that carries Negative deletion indication and cancel message (adopting dotted arrow to represent among Fig. 1).And in fact PE2 and PE4 can not discern and handle the MAC Address that carries Negative deletion indication and cancel message; These two nodes are after receiving this message so; Can not cancel corresponding M AC address, so do not reach the effect of cancelling corresponding MAC Address.
Summary of the invention
The technical problem that the present invention will solve provides a kind of MAC Address cancelling method and the node of realizing this method, can't normally carry out the technical problem of MAC Address deletion action because message mode that transmit leg uses and receiver equipment ability do not match to solve.
In order to solve the problems of the technologies described above, the embodiment of the invention provides announces the method that MAC Address is cancelled ability each other between a kind of node, and this method comprises:
Through the mutual local ability of being supported of label distribution protocol (LDP) capability negotiation mechanism, said ability comprises that medium access control (MAC) address cancels ability between the node;
Present node is cancelled ability according to peer node with the local MAC Address of supporting and is confirmed alternative message mode, and this alternative message mode is used for definite MAC Address that will send and cancels message mode.
Further, when generation needed the transmission MAC Address to cancel the incident of message, said present node was selected that coincident event requires and is that said alternative message mode is cancelled message mode as the MAC Address that will send.
Coincident event requires and alternative message mode includes the MAC Address that carries conservative (Negative) deletion indication and carry the tabulation of non-NULL MAC Address when cancelling message mode, and the MAC Address of selecting to carry conservative (Negative) deletion indication is cancelled message mode and cancelled message mode as the MAC Address that will send;
Coincident event requires and alternative message mode includes the MAC Address that carries radical (Positive) deletion indication and carry the tabulation of sky MAC Address when cancelling message mode, and the MAC Address of selecting to carry the tabulation of sky MAC Address is cancelled message mode and cancelled message mode as the MAC Address that will send.
Preferably; When the MAC Address that said present node receives said opposite end is cancelled message capability; Said alternate message mode is that the MAC Address that said present node and said peer node support MAC Address to cancel the ability correspondence is jointly cancelled message mode; When the MAC Address that said present node does not receive said opposite end was cancelled ability, arbitrary mode below the employing was confirmed said alternative message mode:
The MAC Address that sends to present node from the peer node that writes down is cancelled the message mode, selects a kind of MAC Address to cancel message mode;
Select the MAC Address of local default configuration to cancel message mode;
The MAC Address that deletion indication that selection is carried conservative (Negative) or empty MAC Address are tabulated is cancelled message mode;
The priority of preceding two kinds of selection modes is set, and when preceding a kind of selection mode can't be realized, the MAC Address of selecting to carry conservative (Negative) perhaps empty MAC Address tabulation was cancelled message mode.
For solving above technical problem, the present invention also provides a kind of node, and this node comprises:
The ability interactive module is used for through the mutual local ability of being supported of label distribution protocol (LDP) capability negotiation mechanism and other nodes, and said ability comprises that medium access control (MAC) address cancels ability;
The alternate ways determination module is used for cancelling ability according to peer node with the local MAC Address of supporting and confirms alternative message mode, and this alternative MAC Address is cancelled message mode and is used for confirming that the MAC Address that will send cancels message mode.
Preferably, said node also comprises the message mode determination module, when generation need to be sent MAC Address and cancelled the incident of message, is used to select that coincident event requires and cancels message mode as the MAC Address that will send for said alternative message mode.
Coincident event requires and alternative message mode includes the MAC Address that carries conservative (Negative) deletion indication and carry the tabulation of non-NULL MAC Address when cancelling message mode, and the MAC Address that said message mode determination module selects to carry conservative (Negative) deletion indication is cancelled message mode and cancelled message mode as the MAC Address that will send;
Coincident event requires and alternative message mode includes the MAC Address that carries radical (Positive) deletion indication and carry the tabulation of sky MAC Address when cancelling message mode, and the MAC Address that said message mode determination module selects to carry the tabulation of sky MAC Address is cancelled message mode and cancelled message mode as the MAC Address that will send.
The inventive method and node can effectively solve the MAC Address that uses owing to transmitting terminal and cancel the ability of message mode and the receiving terminal problem that the MAC Address that causes can't normally cancel that do not match, and existing protocol are changed less, and the realization cost is lower.
Description of drawings
Fig. 1 is the sketch map of present MAC Address revocation mechanism;
Fig. 2 is the sketch map of MAC Address cancelling method of the present invention;
Fig. 3 is the sketch map of the application example one of MAC Address cancelling method of the present invention;
Fig. 4 is the sketch map of the application example two of MAC Address cancelling method of the present invention;
Fig. 5-Fig. 7 is three modular structure sketch mapes of the present invention's node of realizing the MAC Address cancelling method.
Embodiment
As shown in Figure 2, embodiment of the invention MAC Address cancelling method comprises:
Step 201: mutual local institute tenability between the node, said ability comprise that medium access control (MAC) address cancels ability;
The said MAC Address of the present invention is cancelled ability finger receipts MAC Address and is cancelled node this message mode of identification of message and the ability of carrying out the indicated MAC deletion action of this message.
Cancelling message mode with existing four kinds of MAC Addresss is example, comprises that following four kinds of MAC Addresss cancel ability:
First kind of MAC Address cancelled ability: discern and handle the ability that the MAC Address that carries the tabulation of non-NULL MAC Address is cancelled message
That is, can discern the MAC Address of the MAC Address tabulation of carrying non-NULL and cancel message, and according to the MAC Address that carries in this message deletion message;
Second kind of MAC Address cancelled ability: discern and handle the ability that the MAC Address that carries the tabulation of sky MAC Address is cancelled message
That is, can discern the MAC Address that carries empty MAC Address tabulation and cancel message, and according to all other MAC Addresss outside the MAC Address that removes the PW (Pseudo-Wire, pseudo-line) that receives this message under this this VPLS instance of message deletion;
The third MAC Address is cancelled ability: identification and processing are carried radical (Positive) and are deleted the ability that the MAC Address of indicating is cancelled message
That is, can discern the MAC Address that carries radical (Positive) deletion indication (being N-bit=0) and cancel message, and according to all other MAC Addresss except that the MAC Address of the PW that receives this message under this this VPLS instance of message deletion;
The 4th kind of MAC Address cancelled ability: identification and processing are carried conservative (Negative) and are deleted the ability that the MAC Address of indicating is cancelled message
That is, can discern the MAC Address that carries conservative (Negative) deletion indication (being N-bit=1) and cancel message, and receive the MAC Address of learning on the PW of this message according to this message deletion.
Handling capacity negotiation functionality message is at LDP session (Label Distribution Protocol session between the node; The label distribution protocol session) set up the mutual ability of supporting in the process, the mutual ability of said quilt comprises that the said MAC Address of the present invention cancels ability.
For not supporting any MAC Address to cancel the node of ability, it shows it with transmission and does not support any MAC Address to cancel the capability negotiation feature message of ability.
Understandably; Cancel the mutual node of ability for not supporting MAC Address of the present invention; Its inevitable transmission to other nodes is carried the capability negotiation feature message that its MAC Address is cancelled ability; For this situation, will being regarded as this node M AC address according to the improved node of the present invention program, to cancel ability not clear.
The said capability negotiation feature message of the present invention refers to be used for notify the ability of its support of node that receives this message, and this message is that the function with its realization defines, and does not point to certain or some specific message name.
Step 202: present node is cancelled ability according to peer node with the local MAC Address of supporting and is confirmed alternative message mode, and this alternative message mode is used for definite MAC Address that will send and cancels message mode.
Understandably, the said alternative message mode of the present invention is to cancel under the situation of message sending MAC Address, and the mode that the MAC Address of transmission is cancelled message must be a kind of in this alternative message mode.
Preferably, when it did not support that any MAC Address is cancelled ability when said peer node announcement, said node can't be selected the mode that suitable MAC Address is cancelled message, does not therefore send MAC Address to said peer node and cancels message.
When the MAC Address that said present node receives said opposite end is cancelled message capability; Said alternate message mode is that the MAC Address that said present node and said peer node support MAC Address to cancel the ability correspondence is jointly cancelled message mode; When the MAC Address that said present node does not receive said opposite end is cancelled ability; Think that this peer node ability is not clear, arbitrary mode below the employing is confirmed said alternative message mode:
(1) said present node is cancelled the message mode from the MAC Address that the peer node that writes down sends to present node, selects a kind of MAC Address to cancel message mode;
The MAC Address that this mode requires other nodes of each nodes records to send is cancelled message mode, as cancelling message mode according to the MAC Address of selecting to send to peer node.
(2) select the MAC Address of local default configuration to cancel message mode;
(3) MAC Address of selecting to carry MAC Address tabulation conservative (Negative) deletion indication or that band is empty is cancelled message mode;
(4) priority of preceding two kinds of selection modes is set, and when preceding a kind of selection mode can't be realized, the MAC Address of selecting to carry conservative (Negative) deletion MAC Address tabulation indication or empty was cancelled message mode.
For example: the MAC Address of preferentially selecting peer node to send to present node is cancelled message mode; If peer node does not send MAC Address to present node and cancels message; Promptly the message mode of record is empty; Then select the MAC Address of local default configuration to cancel message mode, if local node is not provided with, the MAC Address of then selecting to carry empty MAC Address tabulation is cancelled message mode.
Perhaps, select the MAC Address of local configuration to cancel message mode; When not disposing, the MAC Address that sends to present node from the peer node that writes down is cancelled the message mode, selects a kind of MAC Address to cancel message mode; The MAC Address that the peer node of record sends to present node is cancelled message mode when empty, selects to carry MAC Address conservative (Negative) deletion indication or empty MAC Address tabulation and cancels message mode.
If it does not support any MAC Address delete capability the peer node announcement, then present node can not select any MAC Address to cancel message mode, and promptly message mode is selected failure.
Said method is changed less to existing protocol, realize that cost is lower.
Step 203: when generation needed the transmission MAC Address to cancel the incident of message, said present node was selected that coincident event requires and is that said alternative message mode is cancelled message mode as the MAC Address that will send.
The message mode that coincident event requires is meant that learn according to standard (like RFC4762 and draft-ietf-l2vpn-vpls-ldp-mac-opt) regulation need be when the opposite end be sent MAC Address and cancelled message, can confirm to send that a pessimistic type MAC Address is cancelled message or an optimistic type MAC Address is cancelled message according to concrete incident.
Said pessimistic type of MAC Address cancelled the MAC Address that message comprises that the MAC Address that carries the tabulation of non-NULL MAC Address is cancelled message and carried conservative (Negative) deletion indication (promptly carrying N bit=1) and cancelled message.
Said optimistic type of MAC Address cancelled the MAC Address that message comprises that the MAC Address that carries the tabulation of sky MAC Address is cancelled message and carried radical (Positive) deletion indication (also being N bit=0) and cancelled message.
For example; As shown in Figure 3; When the AC that links to each other with PE1 equipment breaks down; The message mode that the said coincident event that PE1 need send requires is meant that a pessimistic type MAC Address cancels message, cancels message if PE2 initiatively initiates MAC Address, and the message mode that requires of the described coincident event that need send of PE2 is meant that an optimistic type MAC Address cancels message so.
For example; Coincident event requires and alternative message mode when including the MAC Address that carries conservative (Negative) deletion indication and carry the tabulation of non-NULL MAC Address and cancelling message mode, and the MAC Address of selecting to carry conservative (Negative) deletion indication is cancelled message mode and cancelled message mode as the MAC Address that will send.
Again for example; Coincident event requires and alternative message mode includes the MAC Address that carries radical (Positive) deletion indication and carry the tabulation of sky MAC Address when cancelling message mode, and the MAC Address of selecting to carry the tabulation of sky MAC Address is cancelled message mode and cancelled message mode as the MAC Address that will send.
Application example one:
As shown in Figure 3, be the sketch map that the embodiment of the invention one MAC Address is cancelled message mechanism, this method may further comprise the steps:
Step 301, PE node configuration VPLS are professional, and set up target session with other PE nodes of VPLS;
The VPLS business of PE1 configuration comprises information such as configuration VPLS instance and pseudo-line.Concrete same RFC4762 seldom does introduction here.
As shown in Figure 3, PE1 and PE2, PE3 and PE4 set up target session.
Announce its local MAC Address of being supported mutually through the LDP agreement between the PE node among step 302, the VPLS and cancel ability;
Announce its local MAC Address of being supported mutually through the LDP agreement between the PE node and cancel ability, can announce here through LDP session.
As shown in Figure 3, PE1 will announce its this locality of PE2, PE3 and PE4 and support that radical (Positive) cancels ability, conservative (Negative) cancels ability and ability is cancelled in the tabulation of non-NULL MAC Address; PE2 announcement PE1, PE3 and PE4 it locally support radical (Positive) to cancel ability and ability is cancelled in the tabulation of non-NULL MAC Address; PE3 will announce PE1, PE2 and PE4 its local support radical (Positive) to cancel ability, conservative (Negative) cancels ability; PE4 announcement PE1, PE2 and PE3 it locally support radical (Positive) to cancel ability and ability is cancelled in the tabulation of non-NULL MAC Address;
All PE nodes among the VPLS have known that all the MAC Address that other nodes are supported cancels ability like this.
Step 303, when AC1 breaks down; PE1 cancels ability according to peer node and the local MAC Address of supporting and existing regulation selects the MAC Address of transmission to cancel message mode; Particularly; MAC Address to PE3 selects to carry Negative deletion indication is cancelled message, selects to carry the MAC Address that non-NULL MAC tabulates to PE2 and PE4 and cancels message;
Particularly; The MAC Address of selecting in this step 303 cancel message mode promptly belong to the corresponding message mode of the ability of cancelling that local and peer node support simultaneously again conformance with standard to this incident (AC1 breaks down, and PE1 sends MAC Address and cancels capabilities message) relevant regulations of the message mode of transmission down.Here said conformance with standard also is the coincident event requirement to the existing regulation of the message mode that sends under this incident.
Particularly; Existing regulation be meant according to standard draft-ietf-l2vpn-vpls-ldp-mac-opt and RFC4762 regulation when AC1 breaks down, PE1 need send and carry the MAC Address that Negative deletion indication or non-NULL MAC Address tabulate and cancel message mode.
Step 304:PE1 sends the MAC Address that carries Negative deletion indication to PE3 and cancels message (adopting dotted arrow to represent among Fig. 3); PE1 sends the MAC Address that carries non-NULL MAC tabulation to PE2 and PE4 and cancels message (adopting solid arrow to represent among Fig. 3).
PE node among step 305, the VPLS is according to receiving that corresponding M AC address withdraw message refreshes mac address table.
Embodiment two:
As shown in Figure 4, be the sketch map that the embodiment of the invention two MAC Addresss are cancelled message mechanism, in the present embodiment, PE4 does not support that sending MAC Address cancels ability, this method may further comprise the steps:
Step 401, PE node configuration VPLS are professional, and set up target session with other PE nodes of VPLS;
The VPLS business of PE1 configuration comprises information such as configuration VPLS instance and pseudo-line.Concrete same RFC4762 seldom does introduction here.
As shown in Figure 4, PE1 and PE2, PE3 and PE4 set up target session.
Announce its local MAC Address of being supported mutually through the LDP agreement between the PE node among step 402, the VPLS and cancel ability;
Announce its local MAC Address of being supported mutually through the LDP agreement between the PE node and cancel ability, can announce here through LDP session.
As shown in Figure 4, PE1 will announce its this locality of PE2, PE3 and PE4 and support that radical (Positive) cancels ability, conservative (Negative) cancels ability and ability is cancelled in the tabulation of non-NULL MAC Address; PE2 announcement PE1, PE3 and PE4 it locally support radical (Positive) to cancel ability and ability is cancelled in the tabulation of non-NULL MAC Address; PE3 will announce PE1, PE2 and PE4, and it local supports radical (Positive) to cancel ability to tabulate with the non-NULL MAC Address and cancel ability; It is mutual that PE4 does not support MAC Address to cancel ability; So will can not cancel ability to its local MAC Address of being supported of other PE announcements; But PE1, PE2 and PE3 think that the PE4 ability is not clear; The MAC Address that can issue oneself according to the PE4 of record is cancelled the mode of message, and the MAC Address that selection will be sent is cancelled message mode.
All PE nodes among the VPLS have known that all the MAC Address that other nodes are supported cancels ability like this.
Step 403, when AC1 breaks down; PE1 cancels message mode according to the MAC Address that peer node and the local MAC Address of supporting are cancelled the selection transmission of ability and incident requirement; Particularly; MAC Address to PE3 selects to carry non-NULL MAC tabulation is cancelled message, cancels message to the MAC Address that PE2 selects to carry non-NULL MAC tabulation; Preferentially select the MAC Address that it sended over to cancel message mode to PE4; Do not send MAC as yet like PE4 and cancelled message; The MAC Address of then selecting PE1 to go up default configuration is cancelled message mode, and like not configuration as yet, the MAC Address of then selecting to carry the tabulation of sky MAC Address is cancelled message; In the present embodiment; PE4 did not send MAC Address to PE1 and cancelled message, and the message mode of allocating default not, so the MAC Address of selecting to carry conservative (Negative) deletion indication to PE4 PE1 is cancelled message mode.Mode
Particularly; The MAC Address of selecting in this step 303 cancel message mode promptly belong to the corresponding message mode of the ability of cancelling that local and peer node support simultaneously again conformance with standard to this incident (AC1 breaks down, and PE1 sends MAC Address and cancels capabilities message) relevant regulations of the message mode of transmission down.
Particularly; Existing regulation be meant according to standard draft-ietf-l2vpn-vpls-ldp-mac-opt and RFC4762 regulation when AC1 breaks down, PE1 need send and carry the MAC Address that Negative deletion indication or non-NULL MAC Address tabulate and cancel message mode.
The MAC Address that step 404:PE1 sends aforesaid way respectively to PE2, PE3 and PE4 is cancelled message (adopt dotted arrow to represent that the MAC Address that carries non-NULL MAC tabulation cancels message among Fig. 4, adopt solid arrow to represent that the MAC Address that carries conservative (Negative) deletion indication cancels message);
PE node among step 405, the VPLS is according to receiving that corresponding M AC address withdraw message refreshes mac address table.
For realizing above method, the present invention also provides a kind of node, and is as shown in Figure 5, and this node comprises:
The ability interactive module is used for and the mutual local ability of being supported of other nodes, and said ability comprises that medium access control (MAC) address cancels ability;
Said ability interactive module handling capacity negotiation functionality message is set up the mutual ability of supporting in the process in label distribution protocol (LDP) session.
The alternate ways determination module is used for cancelling ability according to peer node with the local MAC Address of supporting and confirms alternative message mode, and this alternative MAC Address is cancelled message mode and is used for confirming that the MAC Address that will send cancels message mode.
As previously mentioned, said MAC Address is cancelled ability and is comprised and discern and handle the ability that following MAC Address is cancelled message mode respectively:
Carry the MAC Address of non-NULL MAC Address tabulation and cancel message mode;
Carry the MAC Address of sky MAC Address tabulation and cancel message mode;
Carry the MAC Address of radical (Positive) deletion indication and cancel message mode;
Carry the MAC Address of conservative (Negative) deletion indication and cancel message mode.
Further; As shown in Figure 6; Compare with Fig. 5, difference is that said node also comprises the message mode determination module; When generation need to be sent MAC Address and cancelled the incident of message, be used to select message mode that coincident event requires and cancel message mode as the MAC Address that will send for said alternative message mode.Alternatively; Message mode that coincident event requires and alternative message mode include the MAC Address that carries conservative (Negative) deletion indication and carry the tabulation of non-NULL MAC Address when cancelling message mode, and the MAC Address that said message mode determination module selects to carry conservative (Negative) deletion indication is cancelled message mode and cancelled message mode as the MAC Address that will send.
Alternatively; Message mode that coincident event requires and alternative message mode include the MAC Address that carries radical (Positive) deletion indication and carry the tabulation of sky MAC Address when cancelling message mode, and the MAC Address that said message mode determination module selects to carry the tabulation of sky MAC Address is cancelled message mode and cancelled message mode as the MAC Address that will send.
Particularly; When the MAC Address that said present node receives said opposite end is cancelled message capability; Said alternate ways determination module confirms said present node and said peer node to support to cancel the corresponding MAC Address of ability by MAC Address jointly, and to cancel message mode be alternative message mode; When the MAC Address that does not receive peer node is cancelled ability, said alternate ways determination module according to below arbitrary mode confirm said alternative message mode:
Select the MAC Address of local default configuration to cancel message mode;
The MAC Address of the MAC Address tabulation deletion indication or empty that selection is carried conservative (Negative) is cancelled message mode.
Alternatively, as shown in Figure 7, said node also comprises the message mode logging modle, is used to write down other nodes transmission MAC Addresss and cancels message mode;
When the MAC Address that does not receive peer node is cancelled ability, said alternate ways confirm according to below arbitrary mode confirm said alternative message mode:
The MAC Address that sends to present node from the peer node that writes down is cancelled the message mode, selects a kind of MAC Address to cancel message mode;
The MAC Address that the peer node of record sends to present node is cancelled message mode when empty; Select the MAC Address of local configuration to cancel message mode; When not disposing, select to carry MAC Address conservative (Negative) deletion indication or empty MAC Address tabulation and cancel message mode;
Select the MAC Address of local configuration to cancel message mode; When not disposing, the MAC Address that sends to present node from the peer node that writes down is cancelled the message mode, selects a kind of MAC Address to cancel message mode; The MAC Address that the peer node of record sends to present node is cancelled message mode when empty, selects to carry MAC Address conservative (Negative) deletion indication or empty MAC Address tabulation and cancels message mode.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to accomplish through program, said procedure can be stored in the computer-readable recording medium, like read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, only with reference to preferred embodiment the present invention is specified.Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and the scope of technical scheme of the present invention, all should be encompassed in the middle of the claim scope of the present invention.

Claims (11)

1. a MAC Address cancelling method is characterized in that, this method comprises:
Through the mutual local ability of being supported of label distribution protocol (LDP) capability negotiation mechanism, said ability comprises that medium access control (MAC) address cancels ability between the node;
Present node is cancelled ability according to peer node with the local MAC Address of supporting and is confirmed alternative message mode, and this alternative message mode is used for definite MAC Address that will send and cancels message mode.
2. the method for claim 1 is characterized in that: said MAC Address is cancelled ability and is comprised and discern and handle the ability that following MAC Address is cancelled message mode respectively:
Carry the MAC Address of non-NULL MAC Address tabulation and cancel message mode;
Carry the MAC Address of sky MAC Address tabulation and cancel message mode;
Carry the MAC Address of radical (Positive) deletion indication and cancel message mode;
Carry the MAC Address of conservative (Negative) deletion indication and cancel message mode.
3. the method for claim 1 is characterized in that: when needs taking place send MAC Address and cancel the incident of message, said present node selects MAC Address that coincident event requires and that will send for said alternative message mode conduct to cancel message mode.
4. method as claimed in claim 3 is characterized in that:
Coincident event requires and alternative message mode includes the MAC Address that carries conservative (Negative) deletion indication and carry the tabulation of non-NULL MAC Address when cancelling message mode, and the MAC Address of selecting to carry conservative (Negative) deletion indication is cancelled message mode and cancelled message mode as the MAC Address that will send;
Coincident event requires and alternative message mode includes the MAC Address that carries radical (Positive) deletion indication and carry the tabulation of sky MAC Address when cancelling message mode, and the MAC Address of selecting to carry the tabulation of sky MAC Address is cancelled message mode and cancelled message mode as the MAC Address that will send.
5. the method for claim 1; It is characterized in that: when the MAC Address that said present node receives said opposite end is cancelled message capability; Said alternate message mode is that the MAC Address that said present node and said peer node support MAC Address to cancel the ability correspondence is jointly cancelled message mode; When the MAC Address that said present node does not receive said opposite end was cancelled ability, arbitrary mode below the employing was confirmed said alternative message mode:
The MAC Address that sends to present node from the peer node that writes down is cancelled the message mode, selects a kind of MAC Address to cancel message mode;
Select the MAC Address of local default configuration to cancel message mode;
The MAC Address that deletion indication that selection is carried conservative (Negative) or empty MAC Address are tabulated is cancelled message mode;
The priority of preceding two kinds of selection modes is set, and when preceding a kind of selection mode can't be realized, the MAC Address of selecting to carry conservative (Negative) perhaps empty MAC Address tabulation was cancelled message mode.
6. a node is characterized in that, this node comprises:
The ability interactive module is used for through the mutual local ability of being supported of label distribution protocol (LDP) capability negotiation mechanism and other nodes, and said ability comprises that medium access control (MAC) address cancels ability;
The alternate ways determination module is used for cancelling ability according to peer node with the local MAC Address of supporting and confirms alternative message mode, and this alternative MAC Address is cancelled message mode and is used for confirming that the MAC Address that will send cancels message mode.
7. node as claimed in claim 6 is characterized in that: said MAC Address is cancelled ability and comprised and discern and handle the ability that following MAC Address is cancelled message mode respectively: the MAC Address that carries the tabulation of non-NULL MAC Address is cancelled message mode;
Carry the MAC Address of sky MAC Address tabulation and cancel message mode;
Carry the MAC Address of radical (Positive) deletion indication and cancel message mode;
Carry the MAC Address of conservative (Negative) deletion indication and cancel message mode.
8. node as claimed in claim 6; It is characterized in that: said node also comprises the message mode determination module; When generation need to be sent MAC Address and cancelled the incident of message, be used to select that coincident event requires and cancel message mode as the MAC Address that will send for said alternative message mode.
9. node as claimed in claim 8 is characterized in that:
Coincident event requires and alternative message mode includes the MAC Address that carries conservative (Negative) deletion indication and carry the tabulation of non-NULL MAC Address when cancelling message mode, and the MAC Address that said message mode determination module selects to carry conservative (Negative) deletion indication is cancelled message mode and cancelled message mode as the MAC Address that will send;
Coincident event requires and alternative message mode includes the MAC Address that carries radical (Positive) deletion indication and carry the tabulation of sky MAC Address when cancelling message mode, and the MAC Address that said message mode determination module selects to carry the tabulation of sky MAC Address is cancelled message mode and cancelled message mode as the MAC Address that will send.
10. node as claimed in claim 6; It is characterized in that: when the MAC Address that said present node receives said opposite end was cancelled message capability, said alternate ways determination module confirms said present node and said peer node to support to cancel the corresponding MAC Address of ability by MAC Address jointly, and to cancel message mode be alternative message mode; When the MAC Address that does not receive peer node is cancelled ability, said mode alternate ways determination module according to below arbitrary mode confirm said alternative message mode:
Select the MAC Address of local default configuration to cancel message mode;
The MAC Address that deletion indication that selection is carried conservative (Negative) or empty MAC Address are tabulated is cancelled message mode.
11. node as claimed in claim 6 is characterized in that: said node also comprises the message mode logging modle, is used to write down other nodes transmission MAC Addresss and cancels message mode;
When the MAC Address that does not receive peer node is cancelled ability, said alternate ways confirm mode according to below arbitrary mode confirm said alternative message mode:
The MAC Address that sends to present node from the peer node that writes down is cancelled the message mode, selects a kind of MAC Address to cancel message mode;
The MAC Address that the peer node of record sends to present node is cancelled message mode when empty; Select the MAC Address of local configuration to cancel message mode; When not disposing, the MAC Address of selecting to carry conservative (Negative) deletion indication or the tabulation of empty MAC Address is cancelled message mode;
Select the MAC Address of local configuration to cancel message mode; When not disposing, the MAC Address that sends to present node from the peer node that writes down is cancelled the message mode, selects a kind of MAC Address to cancel message mode; The MAC Address that the peer node of record sends to present node is cancelled message mode when empty, and the MAC Address of selecting to carry conservative (Negative) deletion indication or the tabulation of empty MAC Address is cancelled message mode.
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 true CN102647485A (en) 2012-08-22
CN102647485B 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 (3)

* 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
US20110103360A1 (en) * 2009-11-05 2011-05-05 Samsung Sds Co., Ltd. Location tracking system and method of wireless device using wireless lan access point

Patent Citations (3)

* 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
US20110103360A1 (en) * 2009-11-05 2011-05-05 Samsung Sds Co., Ltd. Location tracking system and method of wireless device using wireless lan access point

Also Published As

Publication number Publication date
CN102647485B (en) 2017-11-10

Similar Documents

Publication Publication Date Title
CN102291455B (en) Distributed cluster processing system and message processing method thereof
CN102571587B (en) Method and equipment for forwarding messages
CN103516612B (en) Distribution router generates method and the distribution router of route table items
CN103118148A (en) Method and device for updating ARP (address resolution protocol) cache
CN107786450A (en) A kind of data message transmission method, device and machinable medium
CN107580079A (en) A kind of message transmitting method and device
TWI500295B (en) Link state identifier collision handling
CN101562576B (en) Route distribution method and equipment thereof
US20130034047A1 (en) Method and system for communicating with web services using peer-to-peer technology
KR100825735B1 (en) Method for Address Space Management about nodes incapable of communication over ZigBee Network
CN104754070A (en) Method and device for learning address resolution protocol table entries and network device
CN113542099B (en) Data transmission method, device, electronic equipment, medium and product
WO2011077609A1 (en) Network location recognition system and terminal location recognition device
CN102638396B (en) Load balancing method and device
CN103220217A (en) Route generating method and equipment
CN101414979B (en) Method for processing label distribution message and label exchange router
CN112448876B (en) Method and device for realizing message transmission
US9998807B2 (en) Method and apparatus for establishing trail network
CN103051484A (en) Method and system for processing session service and session border controller
CN102647485A (en) Media access control (MAC) address cancel method and node
CN105991629B (en) TCP connection method for building up and device
JP2007251537A (en) Route controller and route control method
CN109921989B (en) BGP logical topology generation method and equipment
CN102882785B (en) Area border router and node protection method based on border gateway protocol
CN102984067A (en) Method and chip for message processing of layer 3 next-hop independent of layer 2 forwarding table

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