CN103220220A - Method and device for pseudowire establishment - Google Patents

Method and device for pseudowire establishment Download PDF

Info

Publication number
CN103220220A
CN103220220A CN2012100191781A CN201210019178A CN103220220A CN 103220220 A CN103220220 A CN 103220220A CN 2012100191781 A CN2012100191781 A CN 2012100191781A CN 201210019178 A CN201210019178 A CN 201210019178A CN 103220220 A CN103220220 A CN 103220220A
Authority
CN
China
Prior art keywords
pseudo
parameter
wire parameter
line
pseudo wire
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
CN2012100191781A
Other languages
Chinese (zh)
Other versions
CN103220220B (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 CN201210019178.1A priority Critical patent/CN103220220B/en
Publication of CN103220220A publication Critical patent/CN103220220A/en
Application granted granted Critical
Publication of CN103220220B publication Critical patent/CN103220220B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for pseudowire establishment. The method comprises the steps that a node notifies an opposite terminal node of a local pseudowire parameter through news based on G-Ach when pseudowire service is allocated, and the node acquires the pseudowire parameter of the opposite terminal node and checks and/or negotiates the local pseudowire parameter and the opposite terminal pseudowire parameter. The device is located in the node and comprises a notification module, an acquisition module and a checking negotiation module, the notification module is used for notifying the opposite terminal node of the local pseudowire parameter through the new based on G-Ach, the acquisition module is used for acquiring the pseudowire parameter of the opposite terminal node, and the checking negotiation moduel is used for checking and/or negotiating the local pseudowire parameter and the opposite terminal pseudowire parameter. The method and the device for pseudowire establishment can check or negotiate the pseudowire parameters, and have the advantages of being simple, low in cost and small in modification on an existing protocol.

Description

The method and apparatus that a kind of pseudo-line is set up
Technical field
The present invention relates to pseudo-line technology, relate in particular to the method and apparatus that a kind of pseudo-line is set up.
Background technology
Pseudo-line (Pseudo Wire is called for short PW) technology is the solution that proposes at following converged communication network, is the technology that 1 layer of simulation tradition and 2 layer network business are provided on the packet network basis.Pseudo-line technology almost is applicable to all-network, can make multiple label switching technology (Multi-Protocol Label Switch is called for short MPLS) realize Access Network and real the converging of metropolitan area network.Pseudo-line is a point-to-point connection between provider edge equipment (Provider Edge Device is called for short PE) node.At the Internet engineering duty group (Internet Engineering Task Force, be called for short IETF) defined two kinds of modes of setting up pseudo-line at present: a kind of is the static configuration pattern, it is the manual static configuration label, also having a kind of is by the control plane pattern, be tag distribution protocol (Label Distribute Protocol, be called for short LDP) come distributing labels to set up pseudo-line as signaling mechanism, particularly, can consult creating a mechanism of the pseudo-line that defines among the RFC4447 of IETF.
When prior art uses the pattern of static configuration to set up pseudo-line, there is not the pseudo line tag coupling, pseudo-line type matching, the interface parameters coupling, the parameter negotiation of control word, and virtual circuit connectivity is confirmed (Virtual Circuit Connectivity Verification, be called for short VCCV) mechanism such as parameter negotiation, particularly, pseudo line tag when pseudo-line two ends, when inconsistent the or interface parameters of type configuration does not match, will influence message forwarding on the pseudo-line, and in this case, misarrangement is difficulty relatively, can only be by artificial misarrangement, and after reconfiguring, can on this pseudo-line, transmit packet.When the VCCV parameter that two ends disposed of pseudo-line does not have common term, can't use the testing mechanism of pseudo-line so.
Summary of the invention
The technical problem to be solved in the present invention provides the method and apparatus that a kind of pseudo-line is set up, and can carry out verification or negotiation to pseudo wire parameter.
In order to solve the problems of the technologies described above, the invention provides the method that a kind of pseudo-line is set up, comprising:
Node is when the configuration pseudo-line service, by announcing local pseudo wire parameter to peer node based on the message of generic associative channel (G-Ach), described node obtains the pseudo wire parameter of peer node, and local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification and/or negotiation.
Further, described method also comprises: described node is when the configuration pseudo-line service, by static configuration pattern configurations pseudo line tag.
Further, described pseudo wire parameter comprises one or more of following parameter: pseudo-line sign (ID), pseudo-line type, interface parameters; Described local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification, comprising:, then think verification succeeds if judge the pseudo wire parameter coupling of local pseudo wire parameter and the peer node that obtains.
Further, described method also comprises: by based on the message of G-Ach when peer node is announced local pseudo wire parameter, also to the pseudo line tag of opposite end announcement static configuration; When local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification, also pseudo line tag is carried out verification.
Further, described method also comprises: by based on the message of G-Ach when peer node is announced local pseudo wire parameter, in described message, carry pseudo line tag.
Further, described pseudo wire parameter comprises one or more of following parameter: pseudo-line sign (ID), pseudo-line type, interface parameters; Described local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification, comprising:, then think verification succeeds if judge the pseudo wire parameter coupling of local pseudo wire parameter and the peer node that obtains.
Further, described pseudo wire parameter comprises one or more of following parameter: control word, virtual circuit connectivity are confirmed (VCCV) parameter; Described local pseudo wire parameter and opposite end pseudo wire parameter are held consultation, comprising:, negotiate the pseudo wire parameter that described pseudo-line is supported according to the pseudo wire parameter of local pseudo wire parameter with the peer node that gets access to.
Further, described message based on G-Ach comprises: generic associative channel distribution protocol message or pseudo-line states are upgraded and are reduced message.
In order to solve the problems of the technologies described above, the device that the present invention also provides a kind of pseudo-line to set up is arranged in node, comprises announcement module, acquisition module, and the verification negotiation module, wherein:
Described announcement module is used for when this node configuration pseudo-line service, by announcing local pseudo wire parameter based on the message of generic associative channel (G-Ach) to peer node;
Described acquisition module is used to obtain the pseudo wire parameter of peer node;
Described verification negotiation module is used for local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification and/or negotiation.
Further, described node is when the configuration pseudo-line service, by static configuration pattern configurations pseudo line tag; Described pseudo wire parameter comprises one or more of following parameter: pseudo-line sign (ID), pseudo-line type, interface parameters; Described verification negotiation module is to be used in the following ways local pseudo wire parameter and opposite end pseudo wire parameter being carried out verification: if judge the pseudo wire parameter coupling of local pseudo wire parameter and the peer node that obtains, then think verification succeeds.
Further, described announcement module also is used for: by based on the message of G-Ach when peer node is announced local pseudo wire parameter, also to the pseudo line tag of opposite end announcement static configuration; Described acquisition module also is used for: the pseudo line tag that obtains the static configuration of peer node announcement; Described verification negotiation module also is used for when local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification, and also the pseudo line tag of the static configuration of the peer node announcement that described acquisition module is obtained carries out verification.
Further, described announcement module also is used for: by based on the message of G-Ach when peer node is announced local pseudo wire parameter, in described message, carry the pseudo line tag that this node distributes; Described acquisition module also is used for: obtain the pseudo line tag that peer node distributes.
Further, described pseudo wire parameter comprises one or more of following parameter: pseudo-line sign (ID), pseudo-line type, interface parameters; Described verification negotiation module is to be used in the following ways local pseudo wire parameter and opposite end pseudo wire parameter being carried out verification: if judge the pseudo wire parameter coupling of local pseudo wire parameter and the peer node that obtains, then think verification succeeds.
Further, described pseudo wire parameter comprises one or more of following parameter: control word, virtual circuit connectivity are confirmed (VCCV) parameter; Described verification negotiation module is to be used in the following ways local pseudo wire parameter and opposite end pseudo wire parameter being held consultation: according to the pseudo wire parameter of local pseudo wire parameter with the peer node that gets access to, negotiate the pseudo wire parameter that described pseudo-line is supported.
Further, described message based on G-Ach comprises: generic associative channel distribution protocol message or pseudo-line states are upgraded and are reduced message.
The embodiment of the invention provides carries out verification or negotiation method to pseudo wire parameter, has solved to use the pattern of static configuration to set up under the scene of pseudo-line, and the configuration that brings makes mistakes easily, and problems such as misarrangement difficulty provide a kind of dynamic-configuration pattern in addition.Technical solution of the present invention realizes simple, cost is low, change less to existing protocol, be not only applicable to multiple label switching technology (Multi-Protocol Label Switch, be called for short MPLS) packet switching network (Packet Switched Network, be called for short PSN), equally also be applicable to multiprotocol label switching transmission technology (MPLS Transport is called for short MPLS-TP) PSN network.
Description of drawings
Fig. 1 is the embodiment of the invention one pseudo wire parameter checking process schematic diagram when setting up pseudo-line;
Fig. 2 is the embodiment of the invention two pseudo wire parameter checking process schematic diagram when setting up pseudo-line;
Fig. 3 is the embodiment of the invention three pseudo wire parameter checking process schematic diagram when setting up pseudo-line;
Fig. 4 is the embodiment of the invention four VCCV parameter negotiation schematic flow sheet when setting up pseudo-line;
Fig. 5 is the embodiment of the invention five control word attribute negotiation schematic flow sheet when setting up pseudo-line;
Fig. 6 is the embodiment of the invention six apparatus structure schematic diagrames.
Embodiment
Pseudo line establishing method provided herein is as follows:
Node is when the configuration pseudo-line service, by announcing local pseudo wire parameter to peer node based on the message of generic associative channel (G-Ach), described node obtains the pseudo wire parameter of peer node, and local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification and/or negotiation.
Such scheme is not only applicable to static schema configuration pseudo line tag, and also adopting the dynamic-configuration mode is that node distributes pseudo line tag, and for example node can carry pseudo line tag in based on G-Ach message sending this in message, sends to peer node.
The pseudo wire parameter that carries out verification comprises one or more of following parameter: pseudo-line sign (ID), pseudo-line type, interface parameters.The purpose of verification is to judge whether this node and the parameter of peer node mate, if coupling, then verification succeeds.Under the static configuration pattern, also can carry out verification to pseudo line tag, at this moment, this label will be sent to peer node in the lump with pseudo wire parameter.
The pseudo wire parameter of holding consultation comprises one or more of following parameter: control word, virtual circuit connectivity are confirmed (VCCV) parameter.Find out the pseudo wire parameter that this puppet line is supported through consultation.
Above-mentioned message based on G-Ach comprises: generic associative channel distribution agreement (G-ACh Advertisement Protocol is called for short GAP) message or pseudo-line states are upgraded and are reduced (PW status refresh reduction) message.
For making the purpose, technical solutions and advantages of the present invention clearer, hereinafter will be elaborated to embodiments of the invention in conjunction with the accompanying drawings.Need to prove that under the situation of not conflicting, embodiment among the application and the feature among the embodiment be combination in any mutually.
Embodiment one
As shown in Figure 1, by the static configuration label, by based on generic associative channel (MPLS Generic Associated Channel, G-Ach) generic associative channel distribution agreement (the G-ACh Advertisement Protocol of message, abbreviation GAP) whether message comes the pseudo-line of verification two ends parameter to mate, if the then pseudo-line of coupling is set up successfully (or claiming pseudo-line to use), otherwise sets up failure.The form of concrete GAP message is referring to the draft-fbb-mpls-gach-adv of IETF.As shown in Figure 1, the method for calibration of the pseudo wire parameter of present embodiment may further comprise the steps:
Step 101, PE1 disposes pseudo-line service, and is this pseudo-line service label allocation;
Particularly, on PE1, dispose pseudo-line service, comprise being configured to down parameter: the information such as ID of pseudo line tag (comprise outgoing label and go into label), pseudo-line ID (sign), pseudo-line type, peer node.Wherein, pseudo-line ID is used for the relation of identification (RFID) tag and pseudo-line.
Step 102, PE1 sends the GAP message of carrying pseudo wire parameter to PE2;
The pseudo wire parameter that carries comprises one or more of following parameter: pseudo-line ID, pseudo-line type, interface parameters.In addition, go back the portability pseudo line tag.
Step 103, PE2 disposes pseudo-line service, and is this pseudo-line service label allocation;
Particularly, on PE2, dispose pseudo-line service, comprise being configured to down parameter: the information such as ID of pseudo line tag (comprise outgoing label and go into label), pseudo-line ID, pseudo-line type, peer node.
Step 104, PE2 sends the GAP message of carrying pseudo wire parameter to PE1;
The pseudo wire parameter that carries comprises one or more of following parameter: pseudo-line ID, pseudo-line type, interface parameters.In addition, go back the portability pseudo line tag.
Above-mentioned steps 101 and step 103 do not have inevitable precedence relationship.
Step 105, after PE2 receives the GAP message of carrying pseudo wire parameter of PE1 transmission, respond acknowledge message, and the parameter of the local configuration of verification whether with this GAP message in the parameter of carrying be complementary, if coupling, the PW of PE2 end sets up successfully, otherwise PW foundation is unsuccessful, and this message content is only preserved in this locality;
The parameter of above-mentioned verification is except pseudo wire parameter, if the parameter of carrying in the GAP message also comprises pseudo line tag, then can continue verification to this pseudo line tag.The parameter that is verification comprises: pseudo wire parameter and/or pseudo line tag.
Here, PE2 can respond acknowledge message after receiving the GAP message of carrying pseudo wire parameter, if do not support to respond acknowledge message mechanism, then PE1 can periodically send GAP message and guarantees that PE2 receives this message.
Step 106, after PE1 receives the GAP message of carrying pseudo wire parameter of PE2 transmission, respond acknowledge message, and the parameter of checking local configuration whether with this GAP message in the parameter of carrying be complementary, if coupling, the PW of PE1 end sets up successfully, otherwise PW foundation is unsuccessful, and this message content is only preserved in this locality.
The parameter of verification comprises: pseudo wire parameter and/or pseudo line tag.
Here, PE1 can respond acknowledge message after receiving the GAP message of carrying pseudo wire parameter, if do not support to respond acknowledge message mechanism, then PE2 can periodically send GAP message and guarantees that PE1 receives this message.
Embodiment two
As shown in Figure 2, by based on generic associative channel (MPLS Generic Associated Channel, G-Ach) pseudo-line states renewal minimizing (PW status refresh reduction) message of message is come distributing labels, thereby set up pseudo-line, the form of concrete PW status refresh reduction message is referring to the draft-ietf-pwe3-status-reduction of IETF.As shown in Figure 2, the method for the pseudo-line of the foundation that provides of present embodiment may further comprise the steps:
Step 201, PE1 disposes pseudo-line service, and appointment far-end PE 2 is its opposite end;
On PE1, dispose pseudo-line service, comprise being configured to down parameter: the information such as ID of pseudo-line ID, pseudo-line type, peer node.
Step 202, PE1 sends the PW status refresh reduction message of carrying pseudo line tag to PE2;
Except pseudo line tag, PW status refresh reduction message also can be carried one or more of following parameter: pseudo-line ID, pseudo-line type, interface parameters wherein should puppet line ID be used for the relation of identification (RFID) tag and PW.
In the present embodiment, pseudo line tag adopts the dynamic-configuration pattern.
Step 203, PE2 disposes pseudo-line service, and appointment far-end PE 1 is its opposite end;
On PE2, dispose pseudo-line service, comprise being configured to down parameter: the information such as ID of pseudo-line ID, pseudo-line type, peer node.
Step 204, PE2 sends the PW status refresh reduction message of carrying pseudo line tag to PE1;
Except pseudo line tag, PW status refresh reduction message also can be carried one or more of following parameter: pseudo-line ID, pseudo-line type, interface parameters.
Above-mentioned steps 201 and step 203 do not have inevitable precedence relationship.
Step 205, after PE2 receives the PW status refresh reduction message of carrying label of PE1 transmission, respond acknowledge message, and the parameter of the local configuration of verification whether with this PW status refresh reduction message in the parameter of carrying be complementary, if coupling writes label in the label list, the PW of PE2 end sets up successfully, otherwise PW sets up failure, and this message content is only preserved in this locality;
The parameter of verification comprises: pseudo wire parameter.Under the dynamic-configuration pattern, need not pseudo line tag is carried out verification.
After PE2 receives the PW status refresh reduction message of carrying label, can respond acknowledge message, if do not support to respond acknowledge message mechanism, PE1 can periodically send PW status refresh reduction message and guarantee that PE2 receives this message.
Step 206, after PE1 receives the PW status refresh reduction message of carrying label of PE2 transmission, respond acknowledge message, and whether the parameter of checking local configuration be complementary with the parameter that this PW status refresh reduction message is carried, if coupling writes label in the label list, the PW of PE1 end sets up successfully, otherwise PW sets up failure, and this message content is only preserved in this locality.
After PE1 receives the PW status refresh reduction message of carrying label, can respond acknowledge message, if do not support to respond acknowledge message mechanism, PE2 can periodically send PW status refresh reduction message and guarantee that PE1 receives this message.
Embodiment three
As shown in Figure 3, by based on generic associative channel (MPLS Generic Associated Channel, G-Ach) the GAP message of message is come distributing labels, thereby sets up pseudo-line, and the form of concrete GAP message is referring to the draft-fbb-mpls-gach-adv of IETF.As shown in Figure 3, the method for the pseudo-line of the foundation of present embodiment may further comprise the steps:
Step 301, PE1 disposes pseudo-line service, and appointment far-end PE 2 is its opposite end;
On PE1, dispose pseudo-line service, comprise being configured to down parameter: the information such as ID of pseudo-line ID, pseudo-line type, peer node.
Step 302, PE1 sends the GAP message of carrying pseudo line tag to PE2;
Except pseudo line tag, GAP message also can be carried one or more of following parameter: pseudo-line ID, pseudo-line type, interface parameters.
Step 303, PE2 disposes pseudo-line service, and appointment far-end PE 1 is its opposite end;
On PE2, dispose pseudo-line service, comprise being configured to down parameter: the information such as ID of pseudo-line ID, pseudo-line type, peer node.
Step 304, PE2 sends the GAP message of carrying pseudo line tag to PE1;
Except pseudo line tag, GAP message also can be carried one or more of following parameter: pseudo-line ID, pseudo-line type, interface parameters.
Above-mentioned steps 301 and step 303 do not have inevitable precedence relationship.
Step 305, after PE2 receives the GAP message of carrying label of PE1 transmission, respond acknowledge message, and whether the parameter of the local configuration of verification is complementary with the parameter that this GAP message is carried, if coupling, label is write in the label list, and the PW of PE2 end sets up successfully, otherwise this message content is only preserved in this locality;
The parameter of verification comprises: pseudo wire parameter.Under the dynamic-configuration pattern, need not pseudo line tag is carried out verification.
Here, PE2 can respond acknowledge message after receiving the GAP message of carrying label, if do not support to respond acknowledge message mechanism, PE1 can periodically send GAP message and guarantee that PE2 receives this message.
Step 306, after PE1 receives the GAP message of carrying label of PE2 transmission, respond acknowledge message, and whether the parameter of checking local configuration is complementary with the parameter that this GAP message is carried, if coupling writes label in the label list, the PW of PE1 end sets up successfully, otherwise this message content is only preserved in this locality.
Here, PE1 can respond acknowledge message after receiving the GAP message of carrying label, if do not support to respond acknowledge message mechanism, PE2 can periodically send GAP message and guarantee that PE1 receives this message.
Embodiment four
As shown in Figure 4, announce the local VCCV parameter that disposes by GAP message, thus the VCCV parameter type of selecting a kind of two ends PE all to support, and the form of concrete GAP message is referring to the draft-fbb-mpls-gach-adv of IETF.
Present embodiment is an example to consult the VCCV parameter, operation VCCV mechanism between PE1 and the PE2, be used for detecting the connectedness of PW1 and PW2, but when using VCCV, at first PE1 and PE2 need know CC and the CV type that the other side disposes, and can select CC and CV type that a kind of both sides all support like this.
As shown in Figure 4, the method for the VCCV parameter of this example announcement may further comprise the steps:
Step 401, PE1 disposes local VCCV parameter;
In the present embodiment, suppose, the local configuration of PE1 CV type LSP PING, the CC type is VCCV type (Class1) and a band outer VCCV type (type 2) in the band, promptly the CC type of PE1 is not only supported Class1 but also support type 2.
Step 402, PE1 sends the GAP message of having carried local configuration VCCV parameter to PE2;
In the present embodiment, PE1 carries the CV type in the GAP message that PE2 sends be LSP PING, and the CC type is a VCCV type (Class1) in the band, and band outer VCCV type (type 2).
Step 403, PE2 disposes local VCCV parameter;
In the present embodiment, suppose that the local configuration of PE2 CV type is LSP PING, the CC type is VCCV type (Class1) and a TTL termination VCCV type (type 3) in the band.
Step 404, PE2 sends the GAP message of having carried local configuration VCCV parameter to PE1;
In the present embodiment, PE2 carries the CV type in the GAP message that PE1 sends be LSP PING, and the CC type is a VCCV type (Class1) in the band, and TTL stops VCCV type (type 3).
Above-mentioned steps 401 and the no sequencing of step 403, step 403 might only provide an example here prior to step 401.
Step 405 after PE2 receives GAP message, is responded acknowledge message;
If PE2 does not support to respond acknowledge message mechanism, PE1 can periodically send the GAP message of having carried the VCCV parameter and guarantees that PE2 receives this message so.
Step 406, after PE2 is known the VCCV parameter of the local configuration of PE1, CC and the CV type of selecting a kind of PE2 and PE1 all to support;
For example, local selection result is: CV type LSP PING, the CC type is a VCCV type (Class1) in the band.
Step 407 after PE1 receives GAP message, is responded acknowledge message;
If PE1 does not support to respond acknowledge message mechanism, PE2 can periodically send the GAP message of having carried the VCCV parameter and guarantees that PE1 receives this message so.
Step 408, after PE1 is known the VCCV parameter of the local configuration of PE2, CC and the CV type of selecting a kind of PE1 and PE2 all to support;
For example, local selection result is: CV type LSP PING, the CC type is a VCCV type (Class1) in the band.
Step 409, whenever, PE1 has revised the VCCV parameter of local configuration;
For example PE1 is revised as VCCV type (Class1) in the band with the CC type, and promptly the CC type of PE1 is only supported Class1.
Step 410, PE1 sends the GAP message of having carried the VCCV parameter of upgrading to PE2;
Notice that GAP message is not only carried updated parameters, the configuration parameter that other do not have renewal also needs to carry, such as information such as pseudo-line type, control word information and interface parameterss.Because this enforcement is example with the VCCV parameter only, so this step only indicates the VCCV parameter that GAP message is carried renewal.
Step 411 after PE2 receives GAP message, is responded acknowledge message.
If PE2 does not support to respond acknowledge message mechanism here, PE1 can periodically send the GAP message of having carried the VCCV parameter of upgrading and guarantees that PE2 receives this message so.
Step 412, after PE2 was known the VCCV parameter of the local configuration of PE1, CC and the CV type of selecting a kind of PE2 and PE1 all to support: the CV type was LSP PING, the CC type is the VCCV Class1.
In the present embodiment, only be to have expanded GAP message to make it can carry the VCCV parameter information, in other embodiments, equally also can expand PW status refresh reduction message and make it can carry the VCCV parameter information, and reach the effect of the two ends negotiation VCCV parameter of PW.
Embodiment five
It is a kind of in the pseudo wire parameter negotiation that control word is consulted, and the control word negotiation result comprises: this PW supports control word, or does not support control word.Have only the PW two ends all to support the control word negotiation result to be only this PW and support control word.
Fig. 5 has illustrated the schematic diagram that control word is consulted.Method among Fig. 5 is to announce the local control word (Cbit) that disposes by two nodes of PW mutually by GAP message, negotiates the result whether PW supports control word with this, and the form of concrete GAP message is referring to the draft-fbb-mpls-gach-adv of IETF.As shown in Figure 5, the pseudo-line traffic control word negotiation method of present embodiment may further comprise the steps:
Step 501, PE1 disposes local control word attribute, and sends the control word attribute of its local configuration of GAP message announcement to PE2;
In the present embodiment, suppose that local this puppet line of configuration of PE1 supports control word, then sending one to PE2, to carry CBit be 1 GAP message.
Step 502, PE2 disposes local control word attribute, and sends the control word attribute of its local configuration of GAP message announcement to PE1;
In the present embodiment, suppose that this PW of the local configuration of PE2 does not support control word, send to PE1 then that to carry CBit be 0 GAP message.
Step 503 after PE2 receives the GAP message of PE1 transmission, is responded acknowledge message, and PE2 is unsupported mode at this PW control word negotiation result;
If PE2 does not support to respond acknowledge message mechanism, PE1 can periodically send the GAP message of having carried control word information and guarantees that PE2 receives this message so.
Step 504 after PE1 receives the GAP message of PE2 transmission, is responded acknowledge message, and PE1 is unsupported mode at this PW control word negotiation result;
If PE1 does not support to respond acknowledge message mechanism, PE2 can periodically send the GAP message of having carried control word information and guarantees that PE1 receives this message so.
At this moment, PW control word negotiation result is: support mode not.
Step 505, whenever, PE2 has revised the control word value of local configuration;
In the present embodiment, for example PE2 is revised as the local control word of supporting.The local negotiation result of PE2 is updated to the support control word simultaneously.
Step 506, the local control word of PE2 is consulted the mode for supporting, and PE2 sends the control word attribute of the local new configuration of this PE1 of GAP message announcement to PE1 simultaneously;
In the present embodiment, PE2 sends to PE1 that to carry CBit be 1 GAP message.
Notice that GAP message is not only carried updated parameters, the configuration parameter that other do not have renewal also needs to carry, such as information such as pseudo-line type, control word information and interface parameterss.Because this enforcement is example with the VCCV parameter only, so this step only indicates the VCCV parameter that GAP message is carried renewal.
Step 507 after PE1 receives GAP message, is responded acknowledge message, and PE1 is at the mode of this PW control word negotiation result for supporting.
If PE1 does not support to respond acknowledge message mechanism, PE2 can periodically send the GAP message of having carried control word information and guarantees that PE1 receives this message so.
At this moment, PW control word negotiation result is: support mode.
In the present embodiment, we have expanded GAP message to make it can carry control word information, in other embodiments, equally also can expand PW status refresh reduction message and make it can carry control word information, and the effect of control word can be consulted in the two ends that reach PW.
Set up pseudo-line if adopt the mode of the foregoing description two or embodiment three, when one or more the changing in pseudo-line ID, pseudo-line type, the interface parameters, both sides' node still can be by (MPLS Generic Associated Channel, G-Ach) message (as GAP or status refresh reduction message) announces pseudo wire parameter to the opposite end based on the generic associative channel.Detailed process can repeat no more referring to the foregoing description herein.
Embodiment six
Present embodiment is described the pseudo-line apparatus for establishing of realizing said method, and this device is arranged in node, as shown in Figure 6, comprises announcement module, acquisition module, and the verification negotiation module, wherein:
Described announcement module is used for announcing local pseudo wire parameter by the message based on G-Ach to peer node when this node configuration pseudo-line service;
Described acquisition module is used to obtain the pseudo wire parameter of peer node;
Described verification negotiation module is used for local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification and/or negotiation, and the pseudo-line in success back is set up successfully.
Preferably, when adopting the static configuration pseudo line tag, this announcement module also be used for by based on the message of G-Ach when peer node is announced local pseudo wire parameter, also to the pseudo line tag of opposite end announcement static configuration.This moment, this acquisition module also was used to obtain the pseudo line tag of the static configuration of peer node announcement.The verification negotiation module also is used for when local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification, and the pseudo line tag of the static configuration of the peer node announcement that acquisition module is obtained carries out verification.
When adopting the dynamic-configuration pseudo line tag, this announcement module also is used for: by based on the message of G-Ach when peer node is announced local pseudo wire parameter, carry the pseudo line tag that this node distributes in described message, this moment, this acquisition module also was used to obtain the pseudo line tag that peer node distributes.
No matter adopt static configuration or pass through the message announcement pseudo line tag, this verification negotiation module all can be carried out verification to local pseudo wire parameter and opposite end pseudo wire parameter in the following ways: if judge the pseudo wire parameter coupling of local pseudo wire parameter and the peer node that obtains, then think verification succeeds.The pseudo wire parameter of verification this moment comprises one or more of following parameter: pseudo-line ID, pseudo-line type, interface parameters.But,, as previously mentioned, when this verification negotiation module also is used in local pseudo wire parameter and opposite end pseudo wire parameter carried out verification, the pseudo line tag of static configuration is carried out verification if node adopts the static configuration pseudo line tag.
No matter adopt static configuration or pass through the message announcement pseudo line tag, this verification negotiation module all can be held consultation to local pseudo wire parameter and opposite end pseudo wire parameter in the following ways: according to the pseudo wire parameter of local pseudo wire parameter with the peer node that gets access to, negotiate the pseudo wire parameter that described pseudo-line is supported.The pseudo wire parameter of consulting this moment comprises one or more of following parameter: control word, VCCV parameter.
Above-mentioned message based on generic associative channel (G-Ach) comprises: generic associative channel distribution protocol message or pseudo-line states are upgraded and are reduced message.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to finish by program, described program can be stored in the computer-readable recording medium, as 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.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (15)

1. method that pseudo-line is set up comprises:
Node is when the configuration pseudo-line service, by announcing local pseudo wire parameter to peer node based on the message of generic associative channel (G-Ach), described node obtains the pseudo wire parameter of peer node, and local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification and/or negotiation.
2. the method for claim 1 is characterized in that:
Described method also comprises: described node is when the configuration pseudo-line service, by static configuration pattern configurations pseudo line tag.
3. method as claimed in claim 2 is characterized in that:
Described pseudo wire parameter comprises one or more of following parameter: pseudo-line sign (ID), pseudo-line type, interface parameters;
Described local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification, comprising:, then think verification succeeds if judge the pseudo wire parameter coupling of local pseudo wire parameter and the peer node that obtains.
4. as claim 2 or 3 described methods, it is characterized in that:
Described method also comprises: by based on the message of G-Ach when peer node is announced local pseudo wire parameter, also to the pseudo line tag of opposite end announcement static configuration; When local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification, also pseudo line tag is carried out verification.
5. the method for claim 1 is characterized in that:
Described method also comprises: by based on the message of G-Ach when peer node is announced local pseudo wire parameter, in described message, carry pseudo line tag.
6. method as claimed in claim 5 is characterized in that:
Described pseudo wire parameter comprises one or more of following parameter: pseudo-line sign (ID), pseudo-line type, interface parameters;
Described local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification, comprising:, then think verification succeeds if judge the pseudo wire parameter coupling of local pseudo wire parameter and the peer node that obtains.
7. as the described method of arbitrary claim among claim 1-3, the 4-6, it is characterized in that:
Described pseudo wire parameter comprises one or more of following parameter: control word, virtual circuit connectivity are confirmed (VCCV) parameter;
Described local pseudo wire parameter and opposite end pseudo wire parameter are held consultation, comprising:, negotiate the pseudo wire parameter that described pseudo-line is supported according to the pseudo wire parameter of local pseudo wire parameter with the peer node that gets access to.
8. as the described method of arbitrary claim among claim 1-3, the 4-6, it is characterized in that:
Described message based on G-Ach comprises: generic associative channel distribution protocol message or pseudo-line states are upgraded and are reduced message.
9. a pseudo-line apparatus for establishing is arranged in node, comprises announcement module, acquisition module, and the verification negotiation module, wherein:
Described announcement module is used for when this node configuration pseudo-line service, by announcing local pseudo wire parameter based on the message of generic associative channel (G-Ach) to peer node;
Described acquisition module is used to obtain the pseudo wire parameter of peer node;
Described verification negotiation module is used for local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification and/or negotiation.
10. device as claimed in claim 9 is characterized in that:
Described node is when the configuration pseudo-line service, by static configuration pattern configurations pseudo line tag;
Described pseudo wire parameter comprises one or more of following parameter: pseudo-line sign (ID), pseudo-line type, interface parameters;
Described verification negotiation module is to be used in the following ways local pseudo wire parameter and opposite end pseudo wire parameter being carried out verification: if judge the pseudo wire parameter coupling of local pseudo wire parameter and the peer node that obtains, then think verification succeeds.
11., it is characterized in that as claim 9 or 10 described devices:
Described announcement module also is used for: by based on the message of G-Ach when peer node is announced local pseudo wire parameter, also to the pseudo line tag of opposite end announcement static configuration; Described acquisition module also is used for: the pseudo line tag that obtains the static configuration of peer node announcement; Described verification negotiation module also is used for when local pseudo wire parameter and opposite end pseudo wire parameter are carried out verification, and also the pseudo line tag of the static configuration of the peer node announcement that described acquisition module is obtained carries out verification.
12. device as claimed in claim 9 is characterized in that:
Described announcement module also is used for: by based on the message of G-Ach when peer node is announced local pseudo wire parameter, in described message, carry the pseudo line tag that this node distributes; Described acquisition module also is used for: obtain the pseudo line tag that peer node distributes.
13. device as claimed in claim 12 is characterized in that:
Described pseudo wire parameter comprises one or more of following parameter: pseudo-line sign (ID), pseudo-line type, interface parameters;
Described verification negotiation module is to be used in the following ways local pseudo wire parameter and opposite end pseudo wire parameter being carried out verification: if judge the pseudo wire parameter coupling of local pseudo wire parameter and the peer node that obtains, then think verification succeeds.
14., it is characterized in that as the described device of arbitrary claim among claim 9-10, the 12-13:
Described pseudo wire parameter comprises one or more of following parameter: control word, virtual circuit connectivity are confirmed (VCCV) parameter;
Described verification negotiation module is to be used in the following ways local pseudo wire parameter and opposite end pseudo wire parameter being held consultation: according to the pseudo wire parameter of local pseudo wire parameter with the peer node that gets access to, negotiate the pseudo wire parameter that described pseudo-line is supported.
15., it is characterized in that as the described device of arbitrary claim among claim 9-10, the 12-13:
Described message based on G-Ach comprises: generic associative channel distribution protocol message or pseudo-line states are upgraded and are reduced message.
CN201210019178.1A 2012-01-20 2012-01-20 The method and apparatus that a kind of pseudo-wire is established Expired - Fee Related CN103220220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210019178.1A CN103220220B (en) 2012-01-20 2012-01-20 The method and apparatus that a kind of pseudo-wire is established

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210019178.1A CN103220220B (en) 2012-01-20 2012-01-20 The method and apparatus that a kind of pseudo-wire is established

Publications (2)

Publication Number Publication Date
CN103220220A true CN103220220A (en) 2013-07-24
CN103220220B CN103220220B (en) 2018-06-19

Family

ID=48817701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210019178.1A Expired - Fee Related CN103220220B (en) 2012-01-20 2012-01-20 The method and apparatus that a kind of pseudo-wire is established

Country Status (1)

Country Link
CN (1) CN103220220B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588367A (en) * 2009-07-07 2009-11-25 北京邮电大学 OAM component communication mechanism based on MPLS-TP signing label
CN101631069A (en) * 2008-07-18 2010-01-20 华为技术有限公司 Method, system and equipment for pseudo wire parameter negotiation
CN101924676A (en) * 2010-08-20 2010-12-22 中兴通讯股份有限公司 Consultation method of control word ability and pseudowire establishing equipment
CN102170390A (en) * 2010-02-26 2011-08-31 中兴通讯股份有限公司 Method and system for parameter negotiation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631069A (en) * 2008-07-18 2010-01-20 华为技术有限公司 Method, system and equipment for pseudo wire parameter negotiation
CN101588367A (en) * 2009-07-07 2009-11-25 北京邮电大学 OAM component communication mechanism based on MPLS-TP signing label
CN102170390A (en) * 2010-02-26 2011-08-31 中兴通讯股份有限公司 Method and system for parameter negotiation
CN101924676A (en) * 2010-08-20 2010-12-22 中兴通讯股份有限公司 Consultation method of control word ability and pseudowire establishing equipment

Also Published As

Publication number Publication date
CN103220220B (en) 2018-06-19

Similar Documents

Publication Publication Date Title
US8018952B1 (en) Automatic LSP stitching with protocol signaling
US9838221B2 (en) Base station deployment configuration method for base station, base station, and server
CN101771577B (en) Method, system and equipment for establishing bidirectional forwarding detection (BFD) for bidirectional LSP
CN102281199B (en) Route equipment, route reflector and route information processing method and system
US9191312B2 (en) Method and system for implementing PW control bit capability negotiation
WO2011091696A1 (en) Method, device and system for establishing connection between neighbouring base stations
CN102647304A (en) Synchronizing method of address resolution protocols and device
CN101252528B (en) Method and apparatus for detecting malfunction
CN105340226A (en) Primary and secondary system handover method for dynamic route device, and apparatus thereof
CN101505277B (en) Method, equipment and system for withdrawing from elegant restart
WO2018059290A1 (en) Parameter notification and obtaining methods and devices, and storage medium
CN103457820A (en) Method and device for achieving layering virtual special local area network service
CN103297338A (en) Virtual private network (VPN) router advertisement method and device
CN108234305A (en) A kind of control method and equipment of across machine frame link redundancy protection
CN101656740A (en) Method and routing equipment for controlling label sending
CN103139040A (en) Extensional virtual private network (VPN) false refused rate (FRR) implement method and equipment
EP2573987A1 (en) Method for label distribution in multi-topology
CN104205747A (en) Pseudowire groups in packet switched network
CN103220220A (en) Method and device for pseudowire establishment
CN104253752B (en) The method and system that LSP takes over seamlessly are realized in LDP agreements
CN101820393B (en) Method, nodes and system for differentially processing label forwarding path
CN102769540B (en) A kind of overall label management method and equipment
WO2020103718A1 (en) Connection establishment method, packet transmission method, device, and storage medium
CN102136945B (en) Method for establishing label switch path (LSP) protection and node
CN102957614A (en) Method and device for realizing dynamic routing

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180619

Termination date: 20210120

CF01 Termination of patent right due to non-payment of annual fee