CN104378245B - OAM method and device is realized on the AC mouths of L2VPN frameworks - Google Patents
OAM method and device is realized on the AC mouths of L2VPN frameworks Download PDFInfo
- Publication number
- CN104378245B CN104378245B CN201410745452.2A CN201410745452A CN104378245B CN 104378245 B CN104378245 B CN 104378245B CN 201410745452 A CN201410745452 A CN 201410745452A CN 104378245 B CN104378245 B CN 104378245B
- Authority
- CN
- China
- Prior art keywords
- message
- oam
- mouths
- l2vpn
- parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Included present invention is disclosed a kind of based on the method and device that OAM is realized on the AC mouths of L2VPN frameworks, methods described:MEP tables are added on all PE in L2VPN frameworks;The OAM(Operation Administration Maintenance) parameter of current PE corresponding A C mouths is stored in the MEP tables;On the up direction of AC mouths, message is received;The message includes:The common message of user data is carried, and carries the OAM message of OAM(Operation Administration Maintenance) parameter on AC mouths;The message is parsed, the acquisition of information carried according to the message corresponds to the forwarding port of the message;The information inquiry MEP tables carried according to the message, obtain the OAM(Operation Administration Maintenance) parameter on AC mouths;The OAM(Operation Administration Maintenance) parameter of acquisition is uploaded, or PW labels are encapsulated to the message, and follows the message to be forwarded by the forwarding port.The present invention realizes the OAM management to each VPN based on VPN ID configuration MEP;In this way, the demand for being service layer OAM on AC mouths to L2VPN can be met well to be monitored based on VPN ID to the OAM(Operation Administration Maintenance) of AC mouths.
Description
Technical field
The present invention relates to communication technical field, more particularly, to a kind of method that OAM is realized on the AC mouths of L2VPN frameworks
And device.
Background technology
According to being actually needed for carrier network operation, the management work of network is generally divided into 3 major classes:Operation
(Operation), management(Administration), safeguard(Maintenance), abbreviation OAM.In order to ensure the reliable of network
Property, OAM technologies have been widely used in the Access Layer of network, convergence-level, core layer.
OAM provides a series of function, for fault detect, failure proof, fault location, is linked with APS, Ke Yibao
Demonstrate,prove the requirement of switching in carrier class 50ms.Simultaneously, OAM can also carry out applied in network performance test, to packet loss, time delay, shake
Etc. being weighed, also include the statistics to all kinds of flows in network.
Important components of the L2VPN as network, needs also exist for OAM(Operation Administration Maintenance), and L2VPN is Layer 2 virtual private network
(The Virtual Private Network of Layer 2 abbreviation).
In the RFC6136 of prior art, L2VPN OAM framework is elaborated.
As shown in figure 1, the L2VPN OAM points are Internet and service layer, Internet refers to the core switching network of operator
Network(Typically MPLS network);Service layer refers to user network(Typically two layers of Ethernet).
With reference to shown in Fig. 2, each network node is divided on L2VPN frameworks, passes through different agreements between each network node
Realize its OAM(Operation Administration Maintenance).
Such as:In terms of the OAM of Internet, the general OAM demands that D and E is realized using TP Y1731 or TP BFD;And
In terms of service layer, the general OAM demands that figure A and C are realized using 802.1ag and Y1731, and the demand shown in B(I.e. on AC mouths
Service layer OAM), it is L2VPN access port, and there is presently no a kind of OAM of agreement support thereon.
The content of the invention
The mesh of the present invention is to provide a kind of method and device for realizing OAM on the AC mouths of L2VPN frameworks.
One of for achieving the above object, an embodiment of the present invention provides a kind of on the AC mouths of L2VPN frameworks
The method for realizing OAM, methods described include:
MEP tables are added on all PE in L2VPN frameworks;The OAM of current PE corresponding A C mouths is stored in the MEP tables
Functional parameter;
On the up direction of AC mouths,
Receive message;The message includes:The common message of user data is carried, and carries OAM(Operation Administration Maintenance) ginseng on AC mouths
Several OAM messages;
The message is parsed, the acquisition of information carried according to the message corresponds to the forwarding port of the message;
The information inquiry MEP tables carried according to the message, obtain the OAM(Operation Administration Maintenance) parameter on AC mouths;
The OAM(Operation Administration Maintenance) parameter of acquisition is uploaded,
Or PW labels are encapsulated to the message, and follow the message to be forwarded by the forwarding port.
As a further improvement on the present invention, described " parsing the message " specifically includes:
Whether the type of service for judging to transmit in the L2VPN frameworks is VPLS business;
If VPLS business,
The VSI ID of the message are mapped out according to the Vlan or Port of the common message and the OAM message;
And the MACDA addresses of message are obtained, the MACDA addresses of the message include:Common message and OAM message
MACDA addresses.
As a further improvement on the present invention, it is described " message to be corresponded to according to the acquisition of information that the message carries
Forward port;
The information inquiry MEP tables carried according to the message, obtain the OAM(Operation Administration Maintenance) parameter on AC mouths;" specifically include:
According to VSI ID, the message MACDA address lookup MPLS forward tables, turning for the corresponding message is obtained
Originator mouth;
According to the MEP tables on the Port address lookup AC mouths of the VSI ID and the AC mouths, obtain on AC mouths
OAM(Operation Administration Maintenance) parameter.
As a further improvement on the present invention, on the down direction of AC mouths, the message of encapsulation PW labels is received;
According to the PW label mappings VSI ID, and the MACDA address lookup forward tables of message are combined, obtain corresponding institute
State the forwarding port of message.
As a further improvement on the present invention, described " parsing the message " specifically includes:
Whether the type of service for judging to transmit in the L2VPN frameworks is VPWS business;
If VPWS business,
The VPWS ID of the message are mapped out according to the Vlan or Port of the common message and the OAM message.
As a further improvement on the present invention, it is described " message to be corresponded to according to the acquisition of information that the message carries
Forward port;The information inquiry MEP tables carried according to the message, obtain the OAM(Operation Administration Maintenance) parameter on AC mouths;" specifically include:
The forwarding port of the message is searched by the VPWS ID;
According to the MEP tables on the Port address lookup AC mouths of the VPWS ID and the AC mouths, obtain on AC mouths
OAM(Operation Administration Maintenance) parameter.
As a further improvement on the present invention, methods described is further comprising the steps of:
On the down direction of AC mouths, the message of encapsulation PW labels is received;
According to the PW label mappings VPWS ID, and the forwarding for corresponding to the message is directly obtained according to the VPWS ID
Port.
One of for achieving the above object, an embodiment of the present invention provides a kind of on the AC mouths of L2VPN frameworks
OAM device is realized, MEP tables are added on all PE in L2VPN frameworks;Current PE corresponding A C is stored in the MEP tables
The OAM(Operation Administration Maintenance) parameter of mouth;On the up direction of AC mouths, described device includes:Receive message module, for receiving message;Institute
Stating message includes:The common message of user data is carried, and carries the OAM message of OAM(Operation Administration Maintenance) parameter on AC mouths;
Packet parsing module, for parsing the message, the message is corresponded to according to the acquisition of information that the message carries
Forwarding port,
The information inquiry MEP tables carried according to the message, obtain the OAM(Operation Administration Maintenance) parameter on AC mouths;
Message processing module (MPM), for the OAM(Operation Administration Maintenance) parameter of acquisition to be uploaded,
Or for encapsulating PW labels to the message, and follow the message to be forwarded by the forwarding port.
As a further improvement on the present invention, the packet parsing module is additionally operable to:
Whether the type of service for judging to transmit in the L2VPN frameworks is VPLS business;
If VPLS business,
The VSI ID of the message are mapped out according to the Vlan or Port of the common message and the OAM message;
And the MACDA addresses of message are obtained, the MACDA addresses of the message include:Common message and OAM message
MACDA addresses.
As a further improvement on the present invention, the packet parsing module is specifically used for:
According to VSI ID, the message MACDA address lookup MPLS forward tables, turning for the corresponding message is obtained
Originator mouth;
According to the MEP tables on the Port address lookup AC mouths of the VSI ID and the AC mouths, obtain on AC mouths
OAM(Operation Administration Maintenance) parameter.
As a further improvement on the present invention, on the down direction of AC mouths,
The Receive message module is additionally operable to:Receive the message of encapsulation PW labels;
The packet parsing module is additionally operable to:According to the PW label mappings VSI ID, and with combining the MACDA of message
Forward table is inquired about in location, obtains the forwarding port of the corresponding message.
As a further improvement on the present invention, the packet parsing module is additionally operable to:
Whether the type of service for judging to transmit in the L2VPN frameworks is VPWS business;
If VPWS business,
The VPWS ID of the message are mapped out according to the Vlan or Port of the common message and the OAM message.
As a further improvement on the present invention, the packet parsing module is specifically used for:
The forwarding port of the message is searched by the VPWS ID;
According to the MEP tables on the Port address lookup AC mouths of the VPWS ID and the AC mouths, obtain on AC mouths
OAM(Operation Administration Maintenance) parameter.
As a further improvement on the present invention, on the down direction of AC mouths,
The Receive message module is additionally operable to:Receive the message of encapsulation PW labels;
The packet parsing module is additionally operable to:According to the PW label mappings VPWS ID, and it is straight according to the VPWS ID
Obtain the forwarding port for taking the corresponding message.
Compared with prior art, the beneficial effects of the invention are as follows:The a kind of of the present invention realizes on the AC mouths of L2VPN frameworks
OAM method and device, MEP is configured based on VPN ID, realize the OAM management to each VPN;In this way, can be with based on VPN
ID is monitored to the OAM(Operation Administration Maintenance) of AC mouths, meets the demand for being service layer OAM on AC mouths to L2VPN well.
Brief description of the drawings
Fig. 1 is the structural representation of the L2VPN network architectures;
Fig. 2 is the structural representation of OAM demands in the L2VPN network architectures;
Fig. 3 is the structural representation for transmitting VPLS business in first embodiment of the invention in the L2VPN network architectures;
Fig. 4 is the structural representation for transmitting VPWS business in first embodiment of the invention in the L2VPN network architectures;
Fig. 5 is the flow chart for the method for realizing OAM in an embodiment of the present invention on the AC mouths of L2VPN frameworks;
Fig. 6 is the module map for the device for realizing OAM in an embodiment of the present invention on the AC mouths of L2VPN frameworks.
Embodiment
Below with reference to embodiment shown in the drawings, the present invention will be described in detail.But these embodiments are simultaneously
The present invention is not limited, structure that one of ordinary skill in the art is made according to these embodiments, method or functionally
Conversion is all contained in protection scope of the present invention.
With reference to shown in Fig. 3, Fig. 5, provide and a kind of realized on the AC mouths of L2VPN frameworks in an embodiment of the present invention
OAM method.
In this example:CE is user's border networks equipment(Custom Edge abbreviation);
AC is access circuit(Attachment Circuit abbreviation);
PE is the operator edge network equipment(Provider Edge abbreviation);
PW is virtual link(Pseudo Wire abbreviation);
P is carrier network devices(Provider abbreviation).
In an embodiment of the present invention, the type of service transmitted in L2VPN frameworks is VPLS, and the VPLS is multiple spot pair
The L2VPN of multiple spot, it is Virtual Private LAN Service(Virtual Private LAN Service abbreviation).
In present embodiment, it the described method comprises the following steps:
MEP tables are added on all PE in L2VPN frameworks;The OAM of current PE corresponding A C mouths is stored in the MEP tables
Functional parameter;
The functional parameter includes but is not limited to correspond to the malfunction determination parameter of current AC mouths, failure proof parameter, failure
Positional parameter, packet loss parameter, jitter parameter, delay parameter, traffic statistics parameter etc..
In present embodiment, methods described also includes:
Message is received on the up direction of AC mouths;
The message includes:The common message of user data is carried, and carries the OAM reports of OAM(Operation Administration Maintenance) parameter on AC mouths
Text;
The message from VPN after producing, i.e., packed corresponding common message information, and is passing through L2VPN frameworks
In each node when, it is packed upper to should node OAM message information, the commonly message information includes:Commonly
Message Vlan, the MACDA addresses of common message and each node in the L2VPN frameworks of process needed for it forwarding end
Mouthful;The OAM message includes:The Vlan of OAM message, the MACDA addresses of OAM message, and by each in L2VPN frameworks
The forwarding port of node.In present embodiment, it is to be understood that common message and the OAM report that above-mentioned same message includes
The forwarding port that text carries is identical.Wherein, include in the forwarding port:The Port addresses of AC mouths.
In this way, according to selection needs, the message can also include other nodes in addition to AC mouths in L2VPN frameworks
OAM message, it is not described in detail herein.
Further, in present embodiment, methods described also includes:Parse the message.
In present embodiment, according to going out Vlan the or Port address of cache of the common message and the OAM message
The VSI ID of message;And obtain the MACDA addresses of message.
The MACDA addresses of the message include:The MACDA addresses of common message and OAM message.
VSI ID are virtual switch instance(Virtual Switch Instance ID abbreviation).
Further, in present embodiment, methods described also includes:Described in the acquisition of information carried according to the message corresponds to
The forwarding port of message.
According to VSI ID, the message MACDA address lookup forward tables, the forwarding end for corresponding to the message is obtained
Mouthful;
MPLS is multiprotocol label switching(Multi-protocol Label Switching abbreviation).
Further, in present embodiment, methods described also includes:According to the VSI ID and the AC obtained
The Port address lookup MEP tables of mouth, obtain the OAM(Operation Administration Maintenance) parameter on AC mouths.
Further, in present embodiment, methods described may also include:Determined according to the OAM(Operation Administration Maintenance) parameter of acquisition at its
Reason mode.
The processing mode includes two kinds:A kind of is to be uploaded in current AC mouths, and one kind is to follow the message to forward.
If judging, to be uploaded in current AC mouths, the OAM(Operation Administration Maintenance) parameter of acquisition is uploaded for its processing mode, and to uploading
As a result detected, recorded, handled, after OAM(Operation Administration Maintenance) parameter uploads, its processing mode with other nodes in L2VPN frameworks
It is roughly the same, it is not described in detail herein.
It is further, right if judging to following the message to forward described in the processing mode of the OAM(Operation Administration Maintenance) parameter
The message encapsulates PW labels, and message described in the OAM(Operation Administration Maintenance) parameter tracking for making to get is turned by the forwarding port
Hair.
It is understood that when receiving the message on the down direction of AC mouths, its method and the above method just phase
Instead, i.e., the message of encapsulation PW labels is received in PW mouths, the PW labels that the message carries is decapsulated on the PE, Zhi Hougen
According to the PW label mappings VSI ID, after recovering original message data, further according to the MACD addresses of the message and VSIID
Forward table is inquired about, obtains the forwarding port of the corresponding message;Meanwhile VSIID also according to acquisition and corresponding AC mouths
Port address lookup MEP tables, the OAM(Operation Administration Maintenance) parameter on AC mouths is obtained, afterwards, the OAM(Operation Administration Maintenance) parameter of acquisition is uploaded, by it simultaneously
Follow the message to be forwarded by the forwarding port, be not described in detail herein.
Further, with reference to shown in Fig. 4, Fig. 5, in the AC mouths in L2VPN frameworks shown in second embodiment of the invention
On realize OAM method, the described method comprises the following steps:
In second embodiment of the present invention, the type of service transmitted in L2VPN frameworks is VPWS, and the VPWS is a little
To the L2VPN of point, it is virtual dedicated line service(Virtual Private Wire Service abbreviation).
MEP tables are added on all PE in L2VPN frameworks;The OAM of current PE corresponding A C mouths is stored in the MEP tables
Functional parameter;
The functional parameter includes but is not limited to correspond to the malfunction determination parameter of current AC mouths, failure proof parameter, failure
Positional parameter, packet loss parameter, jitter parameter, delay parameter, traffic statistics parameter etc..
In present embodiment, methods described also includes:Message is received on the up direction of AC mouths.
The message includes:The common message of user data is carried, and carries the OAM reports of OAM(Operation Administration Maintenance) parameter on AC mouths
Text.
The message from VPN after producing, i.e., packed corresponding common message information, and is passing through L2VPN frameworks
In each node when, it is packed upper to should node OAM message information, the commonly message information includes:Commonly
Message Vlan, the MACDA addresses of common message and each node in the L2VPN frameworks of process needed for it forwarding end
Mouthful;The OAM message includes:The Vlan of OAM message, the MACDA addresses of OAM message, and by each in L2VPN frameworks
The forwarding port of node.In present embodiment, it is to be understood that common message and the OAM report that above-mentioned same message includes
The forwarding port that text carries is identical.Wherein, include in the forwarding port:The Port addresses of AC mouths.
In this way, according to selection needs, the message can also include other nodes in addition to AC mouths in L2VPN frameworks
OAM message, it is not described in detail herein.
Further, in present embodiment, methods described also includes:Parse the message.
In present embodiment, the Port addresses of the message corresponding A C mouths are obtained;According to the common message and the OAM
The Vlan or Port of message map out the VPWS ID of the message.
VPWS ID are VPWS virtual dedicated line examples(Virtual Private Wire Service ID abbreviation).
Further, in present embodiment, methods described also includes:Described in the acquisition of information carried according to the message corresponds to
The forwarding port of message.
Because in this example, the business of transmission is VPWS business, therefore need not inquire about MPLS forward tables, you can to pass through
State the forwarding port that VPWS ID directly search the message.
Further, in present embodiment, methods described also includes:According to the VPWS ID and the AC obtained
The Port address lookup MEP tables of mouth, obtain the OAM(Operation Administration Maintenance) parameter on AC mouths.
Further, in present embodiment, methods described may also include:Determined according to the OAM(Operation Administration Maintenance) parameter of acquisition at its
Reason mode.
The processing mode includes two kinds:A kind of is to be uploaded in current AC mouths, and one kind is to follow the message to forward.
If judging, to be uploaded in current AC mouths, the OAM(Operation Administration Maintenance) parameter of acquisition is uploaded for its processing mode, and to uploading
As a result detected, recorded, handled, after OAM(Operation Administration Maintenance) parameter uploads, its processing mode with other nodes in L2VPN frameworks
It is roughly the same, it is not described in detail herein.
It is further, right if judging to following the message to forward described in the processing mode of the OAM(Operation Administration Maintenance) parameter
The message encapsulates PW labels, and message described in the OAM(Operation Administration Maintenance) parameter tracking for making to get is turned by the forwarding port
Hair.
It is understood that when receiving the message on the down direction of AC mouths, its method and the above method just phase
Instead, i.e., the message of encapsulation PW labels is received in PW mouths, the PW labels that the message carries is decapsulated on the PE, Zhi Hougen
According to the PW label mappings VPWS ID, after recovering original message data, directly pass through the VPWS ID query messages
Forward port;Meanwhile VPWS ID and the Port address lookup MEP tables of corresponding AC mouths also according to acquisition, obtain on AC mouths
OAM(Operation Administration Maintenance) parameter, afterwards, the OAM(Operation Administration Maintenance) parameter of acquisition is uploaded, by it and follows the message to pass through the forwarding port
Forwarded, be not described in detail herein.
It should be noted that the VPI ID and VPWS ID are referred to as VPN ID in the present invention.
In summary, the method that the application realizes OAM on the AC mouths of L2VPN frameworks, MEP is configured based on VPN ID, it is real
Now each VPN OAM is managed;In this way, it can be met well with being monitored based on VPN ID to the OAM(Operation Administration Maintenance) of AC mouths
Service layer OAM demand is done on AC mouths to L2VPN.
With reference to shown in Fig. 6, a kind of dress that OAM is realized on the AC mouths of L2VPN frameworks of an embodiment of the present invention offer
Put.
Described device includes:Receive message module 100, packet parsing module 200, message processing module (MPM) 300.
, it is necessary in L2VPN frameworks before the device that OAM is realized on the AC mouths of the L2VPN frameworks startup of the present invention
MEP tables are added on all PE;The OAM(Operation Administration Maintenance) parameter of current PE corresponding A C mouths is stored in the MEP tables;
The functional parameter includes but is not limited to correspond to the malfunction determination parameter of current AC mouths, failure proof parameter, failure
Positional parameter, packet loss parameter, jitter parameter, delay parameter, traffic statistics parameter etc..
Further, Receive message module 100 is used to receive message on the up direction of AC mouths.
The message includes:The common message of user data is carried, and carries the OAM reports of OAM(Operation Administration Maintenance) parameter on AC mouths
Text;
The message from VPN after producing, i.e., packed corresponding common message information, and is passing through L2VPN frameworks
In each node when, it is packed upper to should node OAM message information, the commonly message information includes:Commonly
Message Vlan, the MACDA addresses of common message and each node in the L2VPN frameworks of process needed for it forwarding end
Mouthful;The OAM message includes:The Vlan of OAM message, the MACDA addresses of OAM message, and by each in L2VPN frameworks
The forwarding port of node.In present embodiment, it is to be understood that common message and the OAM report that above-mentioned same message includes
The forwarding port that text carries is identical.Wherein, include in the forwarding port:The Port addresses of AC mouths.
In this way, according to selection needs, the message can also include other nodes in addition to AC mouths in L2VPN frameworks
OAM message, it is not described in detail herein.
Further, packet parsing module 200 is used to parse the message.
In present embodiment, packet parsing module 200 parse content according to the type of service transmitted in L2VPN frameworks not
It is same and different, it will introduce respectively below.
In first embodiment of the invention, if the type of service transmitted in L2VPN frameworks is VPLS, the VPLS is more
The L2VPN of point-to-multipoint, it is Virtual Private LAN Service(Virtual Private LAN Service abbreviation).
Packet parsing module 200 is used for the Port addresses for obtaining the message corresponding A C mouths;According to the common message and
Vlan the or Port address of cache of the OAM message goes out the VSI ID of the message;And obtain the MACDA addresses of message.
The MACDA addresses of the message include:The MACDA addresses of common message and OAM message.
VSI ID are virtual switch instance(Virtual Switch Instance ID abbreviation).
Further, in present embodiment, the acquisition of information that packet parsing module 200 is used to be carried according to the message is corresponding
The forwarding port of the message.
According to VSI ID, common message MACDA address lookup MPLS forward tables, turning for the corresponding message is obtained
Originator mouth;
MPLS is multiprotocol label switching(Multi-protocol Label Switching abbreviation).
Further, in present embodiment, packet parsing module 200 is according to the VSI ID of the acquisition and AC
The Port address lookup MEP tables of mouth, obtain the OAM(Operation Administration Maintenance) parameter on AC mouths.
Further, in present embodiment, message processing module (MPM) 300 determines its processing according to the OAM(Operation Administration Maintenance) parameter of acquisition
Mode.
The processing mode includes two kinds:A kind of is to be uploaded in current AC mouths, and one kind is to follow the message to forward.
If packet parsing module 200 judges that its processing mode to be uploaded in current AC mouths, passes through message processing module (MPM)
300 upload the OAM(Operation Administration Maintenance) parameter of acquisition, and are detected, recorded, handled to uploading result, and OAM(Operation Administration Maintenance) parameter uploads
Afterwards, it is roughly the same with the processing mode of other nodes in L2VPN frameworks, is not described in detail herein.
If packet parsing module 200 is judged to following the message to turn described in the processing mode of the OAM(Operation Administration Maintenance) parameter
Hair, then further, message processing module (MPM) 300 encapsulate PW labels to the message, and make the OAM(Operation Administration Maintenance) parameter tracking got
The message is forwarded by the forwarding port.
It is understood that when receiving the message on the down direction of AC mouths, Receive message module 100, message solution
It is slightly different with above-mentioned embodiment to analyse its effect of the institute of module 200, i.e., Receive message module 100 is in PW mouths reception encapsulation PW labels
Message, packet parsing module 200 decapsulates the PW labels that the message carries on the PE, is marked afterwards according to the PW
Label mapping VSI ID, after recovering original message data, further according to the MACD addresses of the message and VSIID inquiry forwardings
Table, obtain the forwarding port of the corresponding message;.Meanwhile the VSIID also according to acquisition and the Port addresses of corresponding AC mouths
MEP tables are inquired about, the OAM(Operation Administration Maintenance) parameter on AC mouths is obtained, is handled afterwards by message processing module (MPM) 300, are not done herein in detail
Carefully repeat.
Further, in second embodiment of the invention, if the type of service transmitted in L2VPN frameworks is VPWS, institute
The L2VPN that VPWS is point-to-point is stated, it is virtual dedicated line service(Virtual Private Wire Service abbreviation).
Packet parsing module 200 is used to parse the message.
In present embodiment, packet parsing module 200 obtains the Port addresses of the message corresponding A C mouths, according to described general
The Vlan or Port for circulating a notice of literary and described OAM message map out the VPWS ID of the message.
VPWS ID are VPWS virtual dedicated line examples(Virtual Private Wire Service ID abbreviation).
Further, in present embodiment, packet parsing module 200 is according to the acquisition of information that the message carries is corresponding
The forwarding port of message.
Because in this example, the business of transmission is VPWS business, therefore packet parsing module 200 need not inquire about MPLS forwardings
Table, you can directly to search the forwarding port of the message by the VPWS ID.
In this example, the forwarding port of the message is the VPWS ID of message.
Further, in present embodiment, packet parsing module 200 is according to the VPWS ID of the acquisition and AC
The Port address lookup MEP tables of mouth, obtain the OAM(Operation Administration Maintenance) parameter on AC mouths.
Further, in present embodiment, packet parsing module 200 determines its processing according to the OAM(Operation Administration Maintenance) parameter of acquisition
Mode.
Receive message module 100 in second embodiment of the invention, and the role of message processing module (MPM) 200 and sheet
Receive message module 100 in invention first embodiment, and the role of message processing module (MPM) 200 are identical, do not do herein
It is described in detail.
It is understood that when receiving the message on the down direction of AC mouths, Receive message module 100, message solution
It is slightly different with second embodiment of the invention to analyse its effect of the institute of module 200, i.e., Receive message module 100 is in the reception encapsulation of PW mouths
The message of PW labels, packet parsing module 200 decapsulates the PW labels that the message carries on the PE, afterwards according to institute
PW label mapping VPWS ID are stated, after recovering original message data, directly pass through the forwarding of the VPWS ID query messages
Port;Meanwhile packet parsing module 200 is also according to the VPWS ID of the acquisition and Port address lookups MEP of corresponding AC mouths
Table, the OAM(Operation Administration Maintenance) parameter on AC mouths is obtained, is handled by message processing module (MPM) 300, is not described in detail herein afterwards.
It should be noted that the VPI ID and VPWS ID are referred to as VPN ID in the present invention.
In summary, the method and device that OAM is realized on the AC mouths of L2VPN frameworks of the application, is matched somebody with somebody based on VPN ID
MEP is put, realizes the OAM management to each VPN;In this way, can be to be monitored based on VPN ID to the OAM(Operation Administration Maintenance) of AC mouths, very
Good meets the demand for being service layer OAM on AC mouths to L2VPN.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
The specific work process of middle module, and the explanation to various technical terms, may be referred to pair in preceding method embodiment
Process is answered, will not be repeated here.
For convenience of description, it is divided into various modules during description apparatus above with function to describe respectively.Implementing the application
When be only limitted to the function of each module to be realized in asic chip.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can
Realized by the mode of general hardware platform.Based on such understanding, the technical scheme of the application is substantially in other words to existing
There is the part that technology contributes to be embodied in the form of asic chip product.
Device embodiments described above are only schematical, wherein the module illustrated as separating component
It can be or may not be physically separate, be logic module as the part that module is shown, you can with positioned at chip
In a module in logic, or it can also be distributed in multiple processing modules in chip.Can be according to the actual needs
Some or all of module therein is selected to realize the purpose of present embodiment scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The application can be used in numerous general or special purpose communication chips.Such as:Exchange chip, router chip, service
Device chip etc..
It should be appreciated that although the present specification is described in terms of embodiments, not each embodiment only includes one
Individual independent technical scheme, this narrating mode of specification is only that those skilled in the art will should say for clarity
For bright book as an entirety, the technical scheme in each embodiment may also be suitably combined to form those skilled in the art can
With the other embodiment of understanding.
Those listed above is a series of to be described in detail only for feasibility embodiment of the invention specifically
Bright, they simultaneously are not used to limit the scope of the invention, all equivalent implementations made without departing from skill spirit of the present invention
Or change should be included in the scope of the protection.
Claims (8)
- A kind of 1. method that OAM is realized on the AC mouths of L2VPN frameworks, it is characterised in that methods described includes:MEP tables are added on all PE in L2VPN frameworks;The OAM(Operation Administration Maintenance) of current PE corresponding A C mouths is stored in the MEP tables Parameter;On the up direction of AC mouths, message is received;The message includes:The common message of user data is carried, and is carried The OAM message of OAM(Operation Administration Maintenance) parameter on AC mouths;The message is parsed, whether the type of service for judging to transmit in the L2VPN frameworks is VPLS business;If VPLS business, the VSI of the message is mapped out according to the Vlan or Port of the common message and the OAM message ID;And the MACDA addresses of message are obtained, the MACDA addresses of the message include:The MACDA of common message and OAM message Address;According to the VSI ID and the message MACDA address lookup forward tables, the forwarding port for corresponding to the message is obtained; According to the MEP tables on the Port address lookup AC mouths of the VSI ID and the AC mouths, the OAM(Operation Administration Maintenance) ginseng on AC mouths is obtained Number;The OAM(Operation Administration Maintenance) parameter of acquisition is uploaded, or PW labels are encapsulated to the message, and follows the message to pass through the forwarding Port is forwarded.
- 2. the method according to claim 1 that OAM is realized on the AC mouths of L2VPN frameworks, it is characterised in that methods described It is further comprising the steps of:On the down direction of AC mouths, the message of encapsulation PW labels is received;According to the PW label mappings VSI ID, and the MACDA address lookup forward tables of message are combined, obtain the corresponding report The forwarding port of text.
- A kind of 3. method that OAM is realized on the AC mouths of L2VPN frameworks, it is characterised in that methods described includes:MEP tables are added on all PE in L2VPN frameworks;The OAM(Operation Administration Maintenance) of current PE corresponding A C mouths is stored in the MEP tables Parameter;On the up direction of AC mouths, message is received;The message includes:The common message of user data is carried, and is carried The OAM message of OAM(Operation Administration Maintenance) parameter on AC mouths;The message is parsed, whether the type of service for judging to transmit in the L2VPN frameworks is VPWS business;If VPWS business, the message is mapped out according to the Vlan or Port of the common message and the OAM message VPWS ID;The forwarding port of the message is searched by the VPWS ID;According to the VPWS ID and Port of the AC mouths MEP tables on address lookup AC mouths, obtain the OAM(Operation Administration Maintenance) parameter on AC mouths;The OAM(Operation Administration Maintenance) parameter of acquisition is uploaded, or PW labels are encapsulated to the message, and follows the message to pass through the forwarding Port is forwarded.
- 4. the method according to claim 3 that OAM is realized on the AC mouths of L2VPN frameworks, it is characterised in that methods described It is further comprising the steps of:On the down direction of AC mouths, the message of encapsulation PW labels is received;According to the PW label mappings VPWS ID, and the forwarding end for corresponding to the message is directly obtained according to the VPWS ID Mouthful.
- 5. a kind of device that OAM is realized on the AC mouths of L2VPN frameworks, it is characterised in that on all PE in L2VPN frameworks Add MEP tables;The OAM(Operation Administration Maintenance) parameter of current PE corresponding A C mouths is stored in the MEP tables;On the up direction of AC mouths, described device includes:Receive message module, for receiving message;The message includes:The common message of user data is carried, and carries AC The OAM message of OAM(Operation Administration Maintenance) parameter on mouth;Packet parsing module, for parsing the message, whether the type of service for judging to transmit in the L2VPN frameworks is VPLS Business;If VPLS business, the VSI of the message is mapped out according to the Vlan or Port of the common message and the OAM message ID;And the MACDA addresses of message are obtained, the MACDA addresses of the message include:The MACDA of common message and OAM message Address;According to VSI ID, the message MACDA address lookup forward tables, the forwarding port for corresponding to the message is obtained; According to the MEP tables on the Port address lookup AC mouths of the VSI ID and the AC mouths, the OAM(Operation Administration Maintenance) ginseng on AC mouths is obtained Number;Message processing module (MPM), for by the upload of the OAM(Operation Administration Maintenance) parameter of acquisition, or for encapsulating PW labels to the message, and with Forwarded with the message by the forwarding port.
- 6. the device according to claim 5 that OAM is realized on the AC mouths of L2VPN frameworks, it is characterised in thatOn the down direction of AC mouths,The Receive message module is additionally operable to:Receive the message of encapsulation PW labels;The packet parsing module is additionally operable to:Looked into according to the PW label mappings VSI ID, and combination message MACDA addresses Forward table is ask, obtains the forwarding port of the corresponding message.
- 7. a kind of device that OAM is realized on the AC mouths of L2VPN frameworks, it is characterised in that on all PE in L2VPN frameworks Add MEP tables;The OAM(Operation Administration Maintenance) parameter of current PE corresponding A C mouths is stored in the MEP tables;On the up direction of AC mouths, described device includes:Receive message module, for receiving message;The message includes:The common message of user data is carried, and carries AC The OAM message of OAM(Operation Administration Maintenance) parameter on mouth;Packet parsing module, for parsing the message, whether the type of service for judging to transmit in the L2VPN frameworks is VPWS Business;If VPWS business, the message is mapped out according to the Vlan or Port of the common message and the OAM message VPWS ID;The forwarding port of the message is searched by the VPWS ID;According to the VPWS ID and Port of the AC mouths MEP tables on address lookup AC mouths, obtain the OAM(Operation Administration Maintenance) parameter on AC mouths;Message processing module (MPM), for by the upload of the OAM(Operation Administration Maintenance) parameter of acquisition, or for encapsulating PW labels to the message, and with Forwarded with the message by the forwarding port.
- 8. the device according to claim 7 that OAM is realized on the AC mouths of L2VPN frameworks, it is characterised in thatOn the down direction of AC mouths,The Receive message module is additionally operable to:Receive the message of encapsulation PW labels;The packet parsing module is additionally operable to:Directly obtained according to the PW label mappings VPWS ID, and according to the VPWS ID Take the forwarding port of the corresponding message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410745452.2A CN104378245B (en) | 2014-12-09 | 2014-12-09 | OAM method and device is realized on the AC mouths of L2VPN frameworks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410745452.2A CN104378245B (en) | 2014-12-09 | 2014-12-09 | OAM method and device is realized on the AC mouths of L2VPN frameworks |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104378245A CN104378245A (en) | 2015-02-25 |
CN104378245B true CN104378245B (en) | 2018-01-05 |
Family
ID=52556923
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410745452.2A Active CN104378245B (en) | 2014-12-09 | 2014-12-09 | OAM method and device is realized on the AC mouths of L2VPN frameworks |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104378245B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106571970B (en) * | 2015-10-08 | 2019-07-26 | 中兴通讯股份有限公司 | The monitoring method and device of bearer network |
CN109743340B (en) * | 2019-04-04 | 2019-07-30 | 华为技术有限公司 | The method and network equipment of Message processing |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008089370A1 (en) * | 2007-01-17 | 2008-07-24 | Nortel Networks Limited | Method and apparatus for interworking ethernet and mpls networks |
WO2011057544A1 (en) * | 2009-11-11 | 2011-05-19 | 中兴通讯股份有限公司 | Method and system for implementing operation administration and maintenance (oam) from point to multi-points based on 802.3ah protocol |
CN102404180A (en) * | 2011-11-10 | 2012-04-04 | 神州数码网络(北京)有限公司 | Method and system for realizing Operation and Maintenance (OAM) based on Packet Based Networks (PBN) network |
CN103780420A (en) * | 2012-10-25 | 2014-05-07 | 中国电信股份有限公司 | Automatic configuration method and system of Ethernet connectivity detection in VPLS environment |
-
2014
- 2014-12-09 CN CN201410745452.2A patent/CN104378245B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008089370A1 (en) * | 2007-01-17 | 2008-07-24 | Nortel Networks Limited | Method and apparatus for interworking ethernet and mpls networks |
WO2011057544A1 (en) * | 2009-11-11 | 2011-05-19 | 中兴通讯股份有限公司 | Method and system for implementing operation administration and maintenance (oam) from point to multi-points based on 802.3ah protocol |
CN102404180A (en) * | 2011-11-10 | 2012-04-04 | 神州数码网络(北京)有限公司 | Method and system for realizing Operation and Maintenance (OAM) based on Packet Based Networks (PBN) network |
CN103780420A (en) * | 2012-10-25 | 2014-05-07 | 中国电信股份有限公司 | Automatic configuration method and system of Ethernet connectivity detection in VPLS environment |
Also Published As
Publication number | Publication date |
---|---|
CN104378245A (en) | 2015-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10666459B1 (en) | System and method to facilitate interoperability between virtual private LAN service (VPLS) and ethernet virtual private network (EVPN) with all-active multi-homing | |
US8509248B2 (en) | Routing frames in a computer network using bridge identifiers | |
CN102437931B (en) | Detection method and device of service path | |
CN102801625B (en) | A kind of method of heterogeneous network double layer intercommunication and equipment | |
US8730979B2 (en) | Method and system for increasing forwarding efficiency of virtual private LAN service network | |
US20100281106A1 (en) | Automatic Subnet Creation in Networks That Support Dynamic Ethernet-Local Area Network Services for Use by Operation, Administration, and Maintenance | |
CN102413060B (en) | User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network | |
US9853833B2 (en) | Individual virtual private local area network service conversion to a different virtual private network service | |
CN102185711B (en) | Method and equipment for detecting link failure in hybrid network | |
WO2008092357A1 (en) | A method and device for establishing a pseudo wire tunnel and transmitting message using it | |
CN104639470A (en) | Flow label encapsulating method and system | |
CN102075446A (en) | Interconnection method of transparent interconnection network of lots of links in different places and operator edge device | |
WO2016041379A1 (en) | Method and apparatus for implementing nni ping | |
EP3512164B1 (en) | Pseudo wire load sharing method and apparatus | |
WO2013097609A1 (en) | Spb based multicast forwarding method and spbm bridge | |
US20120224579A1 (en) | Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN) Over Routed Ethernet Backbone | |
Perlman et al. | Introduction to TRILL | |
CN104468162A (en) | Method and system for network management, virtual network entity, and network device | |
CN108270673A (en) | File transmitting method, device and system | |
WO2012122844A1 (en) | Method and system for domain-based interconnection of transparent interconnection over lots of links network | |
EP3113422B1 (en) | Method and system of enhancing multiple mac registration protocol (mmrp) for protocol internetworking | |
CN104219149B (en) | A kind of message transmitting method and equipment based on virtual connections | |
CN112822097B (en) | Message forwarding method, first network device and first device group | |
CN103200107B (en) | Message transmitting method and message transmitting equipment | |
CN104378245B (en) | OAM method and device is realized on the AC mouths of L2VPN frameworks |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 215000 unit 13 / 16, 4th floor, building B, No.5 Xinghan street, Suzhou Industrial Park, Jiangsu Province Patentee after: Suzhou Shengke Communication Co.,Ltd. Address before: Xinghan Street Industrial Park of Suzhou city in Jiangsu province 215021 B No. 5 Building 4 floor 13/16 unit Patentee before: CENTEC NETWORKS (SU ZHOU) Co.,Ltd. |