CN103634423A - Three-layered interface based MPLS-TP (multi-protocol label switching-transport profile) configuration method and device - Google Patents

Three-layered interface based MPLS-TP (multi-protocol label switching-transport profile) configuration method and device Download PDF

Info

Publication number
CN103634423A
CN103634423A CN201310647325.4A CN201310647325A CN103634423A CN 103634423 A CN103634423 A CN 103634423A CN 201310647325 A CN201310647325 A CN 201310647325A CN 103634423 A CN103634423 A CN 103634423A
Authority
CN
China
Prior art keywords
information
message
label
arp
outbound port
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
CN201310647325.4A
Other languages
Chinese (zh)
Other versions
CN103634423B (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.)
Kyland Technology Co Ltd
Original Assignee
Kyland Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyland Technology Co Ltd filed Critical Kyland Technology Co Ltd
Priority to CN201310647325.4A priority Critical patent/CN103634423B/en
Publication of CN103634423A publication Critical patent/CN103634423A/en
Application granted granted Critical
Publication of CN103634423B publication Critical patent/CN103634423B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

An embodiment of the invention provides a three-layered interface based MPLS-TP (multi-protocol label switching-transport profile) configuration method and device. The method includes: according to VLAN (virtual local area network) interface information in a self-stored label address table, sending an ARP (address resolution protocol) request message of label information through each VLAN interface; receiving a returned ARP reply message of the label information, comparing MAC (media access control) address information and out interface information carried in the ARP reply message with information in the label address table, and when destination MAC address information in the label address table is inconsistent with the out interface information, updating the label address table. Due to creation of a mapping list of the label information, next-hop IP (internet protocol) address information, the VLAN information, the out interface information and the destination MAC address information, when network topology changes, information for labeling next-hop nodes can be updated timely, and further flexibility in PTN (packet transport network) equipment configuration is improved greatly.

Description

A kind of MPLS-TP collocation method and device based on three layer interfaces
Technical field
The present invention relates to industrial network communication technique field, relate in particular to a kind of MPLS-TP collocation method and device based on three layer interfaces.
Background technology
The large-scale application of 3G transmission and data communication IPization, has enriched the develop rapidly based on packet technology.Based on multiprotocol label switching communication framework (Multi-Protocol Label Switching-Transport Profile, MPLS-TP) two-layer virtual private network (Virtual Private Network, VPN) solution has overcome in traditional ATM or FR network and has expanded complicated shortcoming, MPLS-TP VPN is by being used label stack technology, can provide program (Layered Service Provider a hierarchical service, LSP) multiplexing many virtual circuits in, Provider Edge (PE) is as long as safeguard a LSP information, therefore greatly improved the extensibility of system.MPLS-TP L2 VPN has reduced vpn service and has opened complexity, strengthened fail safe, while particularly increasing website in existing VPN, in most of the cases only provider edge router need be connected in new site, reduce accordingly the cycle that business provides.
By adopting MPLS-TP technology, can in the network of polynary fusion, move many business such as two-layer VPN, three-layer VPN, traffic engineering and Diffserv, layer 2-based MPLS-TP vpn solution provides the complete independence between carrier network and client's VPN network, that is to say, between the PE equipment of operator edge and customer edge (CE) equipment, do not carry out route switching, operator just simply provides some network functions based on two layers to client.From client's angle, see that operator also just simply provides simple two layers of connection.
And in the application of the PTN equipment based on the application of MPLS-TP technology, the MAC Address that needs to obtain opposite end between this node and the port of peer node, for encapsulating the target MAC (Media Access Control) address of MPLS message, opposite equip. receives whether the target MAC (Media Access Control) address of identifying in message after MPLS message is the MAC Address of this node, then just carry out the discriminating of service label, and G.8113.1 the OAM standard of MPLS-TP formally defines soon, corresponding product is ripe not enough, therefore, the OAM(Operation Administration Maintenance) compatibility of existing software platform and flexibility are all not fully up to expectations.
The application scheme of traditional employing three layer interfaces, needs specified network side ports, or adopts the scheme that does not realize three layer interfaces, by direct specified network side ports, manually writes opposite end MAC Address.Therefore, prior art scheme exists the configuration flexibility of PTN equipment poor, can not adapt to the problem of the variation of network topology.
Summary of the invention
The embodiment of the present invention provides a kind of MPLS-TP collocation method and device based on three layer interfaces, poor in order to solve the PTN equipment configuration flexibility of three layer interfaces in prior art, can not adapt to the problem of network topology change.
The embodiment of the present invention provides a kind of MPLS-TP collocation method based on three layer interfaces, and the method comprises:
Receive configuration enabled instruction and wake synchronizing signal amount up, in the tag addresses table of preserving at self according to label information and next-hop ip address information, search corresponding VLAN interface information, by described each VLAN interface finding, send the ARP request message of this label information, wherein, in described tag addresses table, preserve label information, next-hop ip address information, vlan information, outbound port information and target MAC (Media Access Control) address information;
The ARP of this label information that reception is returned replys message, obtain described ARP and reply target MAC (Media Access Control) address information, outbound port information and the vlan information carrying in message, according to the vlan information of this label information and described ARP reply message, in label protocol table, search corresponding target MAC (Media Access Control) address information and outbound port information;
Mac address information and the outbound port information of in this target MAC (Media Access Control) address information finding and outbound port information and described ARP reply message, carrying are compared, when determining with described ARP, reply and in message, carry target MAC (Media Access Control) address information and outbound port information when inconsistent, according to described ARP, reply target MAC (Media Access Control) address information and the outbound port information of carrying in message, tag addresses table is upgraded.
The embodiment of the present invention provides a kind of MPLS-TP inking device based on three layer interfaces, and this device comprises:
Search sending module, be used for receiving configuration enabled instruction and wake synchronizing signal amount up, in the tag addresses table of preserving at self according to label information and next-hop ip address information, search corresponding VLAN interface information, by described each VLAN interface finding, send the ARP request message of this label information, wherein, in described tag addresses table, preserve label information, next-hop ip address information, vlan information, outbound port information and target MAC (Media Access Control) address information;
ARP processing module, for receiving the ARP of this label information returning, reply message, obtain described ARP and reply target MAC (Media Access Control) address information, outbound port information and the vlan information carrying in message, according to the vlan information of this label information and described ARP reply message, in label protocol table, search corresponding target MAC (Media Access Control) address information and outbound port information;
Config update module, for this target MAC (Media Access Control) address information finding and outbound port information and mac address information and outbound port information that described ARP reply message carries are compared, when determining with described ARP, reply and in message, carry target MAC (Media Access Control) address information and outbound port information when inconsistent, according to described ARP, reply target MAC (Media Access Control) address information and the outbound port information of carrying in message, tag addresses table is upgraded.
The embodiment of the present invention provides a kind of MPLS-TP collocation method and device based on three layer interfaces, and the method comprises: the VLAN interface information in the tag addresses table of preserving according to self, sends the ARP request message of each label information by this each VLAN interface; The ARP of this label information that reception is returned replys message, the mac address information carrying in this ARP reply message and the information in outbound port information and tag addresses table are compared, when the target MAC (Media Access Control) address information in definite and tag addresses table and outbound port information are inconsistent, tag addresses table is upgraded.Due in embodiments of the present invention by setting up the map listing of label information, next-hop ip address information, VLAN information, outbound port information and target MAC (Media Access Control) address information, when network topology change, can upgrade in time and mark the information of next-hop node, thereby greatly improve the flexibility of PTN equipment configuration.
 
Accompanying drawing explanation
A kind of MPLS-TP layoutprocedure schematic diagram based on three layer interfaces that Fig. 1 provides for the embodiment of the present invention;
The MPLS-TP layoutprocedure schematic diagram based on three layer interfaces that the port UP event of the access first that Fig. 2 embodiment of the present invention provides triggers;
The specific implementation process schematic diagram that a kind of MPLS-TP based on three layer interfaces that Fig. 3 provides for the embodiment of the present invention configures;
The system configuration schematic diagram of realizing OAM processing capacity that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of MPLS-TP inking device based on three layer interfaces that Fig. 5 provides for the embodiment of the present invention;
Embodiment
The present invention is in order effectively to reduce the maintenance cost of PTN equipment, and saving resource, improves the flexibility configuring, and a kind of MPLS-TP collocation method and device based on three layer interfaces is provided.
Below in conjunction with Figure of description, the present invention is described in detail.
A kind of MPLS-TP layoutprocedure schematic diagram based on three layer interfaces that Fig. 1 provides for the embodiment of the present invention, this process comprises the following steps:
S101: receive configuration enabled instruction and wake synchronizing signal amount up, in the tag addresses table of preserving at self according to label information and next-hop ip address information, search corresponding VLAN interface information, by described each VLAN interface finding, send the ARP request message of this label information, wherein, in tag addresses table, preserve label information, next-hop ip address information, vlan information, outbound port information and target MAC (Media Access Control) address information.
The configuration of PE equipment is saved in host CPU, and host CPU is controlled the ARP processing module in exchange module by PCIE interface, and the next-hop ip address information of each port of storage devices node and control On/Off MPLS function.
When receiving configuration enabled instruction, from label station, choose a label code, by this label code and be kept at the next-hop ip address information in local tag addresses table, search corresponding vlan information, and send ARP request message to each VLAN interface corresponding to this label code, then, choose another label code in label stack and repeat above-mentioned flow process, until each label code in label stack is sent once, wherein, from label stack, choosing label code can be to choose successively, can be also to choose at random.
S102: the ARP that receives this label information returning replys message, obtain described ARP and reply target MAC (Media Access Control) address information, outbound port information and the vlan information carrying in message, according to the vlan information of this label information and described ARP reply message, in label protocol table, search corresponding target MAC (Media Access Control) address information and outbound port information.
In the time of host CPU configuration next-hop ip address information, wake synchronizing signal amount up, then the VALN under searching by next-hop IP, send successively next-hop IP and VLAN configuration information to ARP processing module, vlan information and this ARP that the ARP that ARP processing module is returned according to each replys message reply label code corresponding to message, search corresponding list item in label protocol table.
In the present invention in order to solve the problem that does not receive ARP reply message former because of packet loss, Network Abnormal etc. thereby that cause, after sending the ARP request message of each label code, start a timer, timer expiry determines that the ARP of this label code replys message and do not receive.
S103: mac address information and the outbound port information of carrying in this target MAC (Media Access Control) address information finding and outbound port information and described ARP reply message are compared.
Each ARP replys target MAC (Media Access Control) address information and the outbound port information that all comprises the down hop of the label that this ARP reply message is corresponding in message, judge that whether the target MAC (Media Access Control) address information of carrying in this ARP reply message is consistent with the target MAC (Media Access Control) address information in label protocol table, when comparative result is consistent, judge that whether the outbound port information of carrying in this ARP reply message is consistent with the outbound port information in label protocol table
Wherein, this target MAC (Media Access Control) address information and outbound port information change along with the change of network topology structure.
S104: reply and carry target MAC (Media Access Control) address information and outbound port information in message when inconsistent when determining with described ARP, reply target MAC (Media Access Control) address information and the outbound port information of carrying in message according to described ARP, tag addresses table is upgraded.
Concrete, the ARP that obtains each label code replys target MAC (Media Access Control) address information and the outbound port information in message, judge that whether the target MAC (Media Access Control) address information of carrying in this ARP reply message is consistent with the target MAC (Media Access Control) address information in label protocol table, when definite target MAC (Media Access Control) address information is inconsistent, by the target MAC (Media Access Control) address information in label protocol table and outbound port information updating, be that ARP replys target MAC (Media Access Control) address information and the port information carrying in message;
When target MAC (Media Access Control) address information is consistent, judge that whether the outbound port information of carrying in this ARP reply message is consistent with the outbound port information in label protocol table, when determining port information when inconsistent, by the outbound port information updating in label protocol table, be that ARP replys the port information carrying in message, wherein, the order more in no particular order of target MAC (Media Access Control) address information and outbound port information.
Owing to monitoring by the target MAC (Media Access Control) address information to down hop and outbound port information in the embodiment of the present invention, when there is network topology change, can upgrade timely the list item in local label protocol table, thereby avoided because network topology change needs human configuration information, and the wasting of resources problem causing has improved the flexibility configuring.
In order to gather timely target MAC (Media Access Control) address information and the outbound port information of down hop, trigger condition open configuration of the present invention enabled instruction comprises:
By user command, configure and open MPLS and enable, during the IP address of configuration down hop, wake synchronizing signal amount up; Or,
By the UP event of port, trigger network side ports sends ARP request message; Or,
By the ARP at three layer interfaces, more during new events, trigger hardware and download tag configurations.
Concrete, when network architecture completes while carrying out initial configuration, according to the topological structure of current network, user opens MPLS by command configuration and enables, when the list item that carries out initial label protocol is set up, trigger, and user can, as required at reserved physical interface, configure next-hop ip address and VLAN interface that each label code is corresponding in advance, when reserved physical interface is connected to equipment or network topology and changes, also trigger network side ports is sent to ARP request message; Or when user is upgraded the ARP of three layer interfaces, by hardware, download tag configurations, also will trigger this operation.
In addition, when tag addresses table changes, for the new multiprotocol label switching tunnel of fast run-up, guarantee MPLS-TP message energy normal transmission in the present invention, after the described tag addresses table that self is preserved upgrades, method also comprises:
Remove the interconnection AC business of having set up, according to described ARP, reply in message and carry vlan information, target MAC (Media Access Control) address information, outbound port information and this label information, upgrade all virtual circuit interfaces that carry on Ji Gai tunnel, multiprotocol label switching tunnel, and create new interconnection AC business.
Concrete, when certain list item in the label protocol table that preserve this locality changes, according to the label code of this list item, target MAC (Media Access Control) address information and outbound port information, AC forwarding module is deleted the interconnection AC business of setting up before this presentation, destroys this presentation and sets up all virtual circuit interfaces that carry on Ji Gai tunnel, multiprotocol label switching tunnel before; According to the label code of this performance after upgrading, target MAC (Media Access Control) address information, outbound port information and local vlan information and next-hop ip address information of preserving, set up new multiprotocol label switching tunnel, and on this tunnel, set up all virtual circuit interfaces of carrying, finally set up new interconnection AC business.
While having physical port access new equipment in network, by port UP event, start configuration-direct, this new equipment is carried out to the configuration of down hop, according to ARP corresponding to each label code, reply the vlan information of message, in label protocol table, set up new list item, the described vlan information according to this label information and described ARP reply message, in label protocol table, search corresponding target MAC (Media Access Control) address information and outbound port information and comprise:
According to described ARP, reply vlan information and this label information in message, in tag addresses table, search, judge in tag addresses table, whether to preserve corresponding target MAC (Media Access Control) address information and outbound port information;
While not preserving corresponding target MAC (Media Access Control) address information and outbound port information in determining described tag addresses table, according to described ARP, reply VLAN information, target MAC (Media Access Control) address information, outbound port information and this label information in message, create the interface of all virtual circuits that carry on Ji Gai tunnel, multiprotocol label tunnel, and create interconnection AC business.
Concrete, when the network topology of networking changes, when new node equipment is used reserved physical port to be connected to this network, trigger network side ports sends ARP request message, PE equipment is by label code and next-hop ip address in label stack, in the label protocol table of preserving in this locality, search corresponding vlan information, by this VLAN interface, to new node equipment, send ARP request message, new node equipment receives after this ARP request message, the mac address information of self and outbound port information exchange are crossed to ARP replys message and returns to PE equipment, PE equipment obtains the target MAC (Media Access Control) address information that this ARP replys message, outbound port information and vlan information, and according to this ARP of this vlan information, reply label code corresponding to message and search in label protocol table, owing to not finding corresponding target MAC (Media Access Control) address information and outbound port information in label protocol table, therefore the target MAC (Media Access Control) address information and the outbound port information that are defined as learning first, according to this ARP, reply the target MAC (Media Access Control) address information that message comprises, outbound port information, vlan information and local next-hop ip address information and the label code of preserving are set up new list item in label protocol table, and reply VLAN information in message according to described ARP, target MAC (Media Access Control) address information, outbound port information and this label information, create the interface of all virtual circuits that carry on Ji Gai tunnel, multiprotocol label tunnel, and create interconnection AC business.
The MPLS-TP layoutprocedure schematic diagram based on three layer interfaces that the port UP event accessing first that Fig. 2 provides for the embodiment of the present invention triggers, this process comprises the following steps:
S201: port UP event triggers configuration enabled instruction and wakes synchronizing signal amount up, searches corresponding VLAN interface information in the tag addresses table of preserving according to label information and next-hop ip address information at self.
S202: the ARP request message that sends this label information by described each VLAN interface finding.
S203: the ARP that receives this label information returning replys message, obtains described ARP and replys target MAC (Media Access Control) address information, outbound port information and the vlan information carrying in message.
S204: according to the vlan information of this label information and described ARP reply message, search corresponding target MAC (Media Access Control) address information and outbound port information in label protocol table.
S205: judge in tag addresses table, whether to preserve corresponding target MAC (Media Access Control) address information or outbound port information, when judgment result is that while being, carry out step S206, otherwise, carry out step S207.
S206: whether this target MAC (Media Access Control) address information of finding of judgement and outbound port information and described ARP reply mac address information and the outbound port information of carrying in message consistent, when result of determination is when being, maintenance tag addresses table is constant, otherwise, carry out step S207.。
S207: reply target MAC (Media Access Control) address information and the outbound port information of carrying in message according to described ARP, tag addresses table is upgraded.
S208: remove the interconnection AC business of having set up, according to described ARP, reply in message and carry vlan information, target MAC (Media Access Control) address information, outbound port information and this label information, upgrade all virtual circuit interfaces that carry on Ji Gai tunnel, multiprotocol label switching tunnel, and create new interconnection AC business.
Concrete, in embodiments of the present invention, support user's configure reserved port as required when networking, by configure next-hop ip address, vlan information and the corresponding label information of this reserved port in label protocol table, can make the node device that newly connects network only need be connected to reserved physical port, just can realize the proper communication of MPLS message.
In addition, in the present invention in order to improve the compatibility of OAM message, realize flexibly the G.8113.1 characteristic expanded function of standard, the processing of the OAM message of VLAN and UNTAG is carried in support, after setting up new interconnection AC business according to the list item in the label protocol table after changing, described method also comprises:
According to the interface of the virtual circuit carrying on multiprotocol label switching tunnel interface and this tunnel, create local terminal maintenance point and remote maintenance point, the CCM message that mirror image exchange chip receives arrives from CPU, and the redirected CCM message sending from CPU is to the outbound port of exchange chip;
The loopback message that mirror image exchange chip receives, to host CPU, is redirected the loopback message of host CPU transmission to the outbound port of exchange chip.
Concrete, FP control module is redirected with mirror image OAM message repeating to host CPU with from CPU, can support with VLAN and the reception of not carrying the message of VLAN, OAM message receives task hook sub-interface in connecing packet interrupting, after AC forwarding module is set up new interconnection AC business according to amended list item in label protocol table, notice OAM processing module is carried out OAM processing, OAM processing module is according to each the virtual circuit interface carrying on multiprotocol label switching tunnel interface and this tunnel, create local terminal maintenance point (MEP) and remote maintenance point, CCM message mirror is arrived from CPU simultaneously, and by the CCM message redirecting sending from CPU the outbound port to exchange chip, then by loopback LB message mirror to host CPU, and the loopback message redirecting that host CPU is sent is to the outbound port of exchange chip.
The specific implementation process schematic diagram that a kind of MPLS-TP based on three layer interfaces that Fig. 3 provides for the embodiment of the present invention configures, this process comprises the following steps:
S301: receive configuration enabled instruction and wake synchronizing signal amount up, search corresponding VLAN interface information in the tag addresses table of preserving at self according to label information and next-hop ip address information.
S302: the ARP request message that sends this label information by described each VLAN interface finding.
S303: the ARP that receives this label information returning replys message, obtains this ARP and replys target MAC (Media Access Control) address information, outbound port information and the vlan information carrying in message.
S304: according to the vlan information of this label information and described ARP reply message, search corresponding target MAC (Media Access Control) address information and outbound port information in label protocol table.
S305: whether this target MAC (Media Access Control) address information of finding of judgement and outbound port information and described ARP reply mac address information and the outbound port information of carrying in message consistent, when result of determination is when being, maintenance tag addresses table is constant, otherwise, carry out step S306.
S306: reply target MAC (Media Access Control) address information and the outbound port information of carrying in message according to described ARP, tag addresses table is upgraded.
S307: remove the interconnection AC business of having set up, according to described ARP, reply in message and carry vlan information, target MAC (Media Access Control) address information, outbound port information and this label information, upgrade all virtual circuit interfaces that carry on Ji Gai tunnel, multiprotocol label switching tunnel, and create new interconnection AC business.
S308: according to the interface of the virtual circuit carrying on multiprotocol label switching tunnel interface and this tunnel, create local terminal maintenance point and remote maintenance point.
S309: the CCM message that mirror image exchange chip receives arrives from CPU, the redirected CCM message sending from CPU is to the outbound port of exchange chip.
S310: the loopback message that mirror image exchange chip receives, to host CPU, is redirected the loopback message of host CPU transmission to the outbound port of exchange chip.
Pass through in the present invention configuration MEG ID, section layer port, tunnel ID and the virtual circuit ID of binding, this locality/far-end MEP ID, the transmission cycle of CCM message.By the MPLS-TP OAM section of being divided into layer, LSP layer and PW layer, OAM entity is based upon on different layer interfaces, corresponding is to set up 3 data database storings with it.By adopting balanced binary tree algorithm, accelerate traversal speed, improved the configuration flexibility of the OAM of MPLS-TP, also increased the compatibility of OAM message.
Fig. 4, for the system configuration schematic diagram of realizing OAM processing capacity that the embodiment of the present invention provides, comprises ARP study module, FP processing module, CCM processing module and LB processing module in this system.Wherein, ARP study module is set up neighbours' ARP address table, and whether retrieval has bound OAM(Operation Administration Maintenance) at the MPLS-TP OAM interface of section layer port, tunnel (TUNNEL) ID and virtual circuit PW ID.According to OAM interface more target MAC (Media Access Control) address (DMAC) and port and the ectonexine label of the next-hop device in new database, by RPC interface, upgrade the database from CPU simultaneously.FP processing module receives MPLS-TP OAM message for being redirected with mirror image host CPU with from CPU, and the mapping of setting up CCM message and network-side port according to ARP study module.CCM processing module sends and receives CCM message, looks into MEP table and alarming processing in database according to OAM interface.LB processing module sends and receives LB/LT message, looks into MEP table and alarming processing in database according to OAM interface.
Concrete, when system starts, FP control module is redirected with mirror image OAM message repeating to host CPU with from CPU.Can support with VLAN and the reception of not carrying the message of VLAN.OAM message receives task hook sub-interface in connecing packet interrupting.
User command configuration task configures the information such as OAM interface and MEG ID, LEVEL by Subscriber Interface Module SIM, then configure local terminal/far-end MEP and CCM parameter.A plurality of MEG ID can bind (different ranks) on same OAM interface, to realize the business nesting of OAM.Database adopts the data structure that balanced binary tree algorithm stores MEG ID is index, finally sets up to take the MEP look-up table that OAM interface (section layer port/TUNNEL ID/PW ID) and LEVEL be index.
When creating MEP look-up table, next hop information determines whether create according to MPLS network-side port connection status.Next hop information comprises the information such as MPLS label of section layer port/TUNNEL ID/PW ID that down hop DMAC, physical port and OAM interface are corresponding.The establishment of next hop information is the UP Event triggered ARP study module by physical port, take out label data and dynamically update database from the configuration of MPLS, upgrades to complete from the database of CPU simultaneously.The physical port UP Event triggered ARP study module study next hop information that during device start, MPLS is corresponding, and be saved in database.Prevent that host CPU from, prior to starting from CPU, causing the asynchronous of database.
The present invention is the function that two CPU realize MPLS-TP OAM.By the FP function of exchange chip, controlled from CPU and processed CCM message, host CPU is used for processing the OAM message of other type.From CPU, be connected to the fixed port of exchange chip for transmitting and receiving service message.Change by the completion status machine of communicating by letter with the RPC of host CPU realizes OAM(Operation Administration Maintenance), and active reporting OAM warning message.
The structural representation of a kind of MPLS-TP inking device based on three layer interfaces that Fig. 5 provides for the embodiment of the present invention, described device comprises:
Search sending module 51, be used for receiving configuration enabled instruction and wake synchronizing signal amount up, in the tag addresses table of preserving at self according to label information and next-hop ip address information, search corresponding VLAN interface information, by described each VLAN interface finding, send the ARP request message of this label information, wherein, in described tag addresses table, preserve label information, next-hop ip address information, vlan information, outbound port information and target MAC (Media Access Control) address information;
ARP processing module 52, for receiving the ARP of this label information returning, reply message, obtain described ARP and reply target MAC (Media Access Control) address information, outbound port information and the vlan information carrying in message, according to the vlan information of this label information and described ARP reply message, in label protocol table, search corresponding target MAC (Media Access Control) address information and outbound port information;
Config update module 53, for this target MAC (Media Access Control) address information finding and outbound port information and mac address information and outbound port information that described ARP reply message carries are compared, when determining with described ARP, reply and in message, carry target MAC (Media Access Control) address information and outbound port information when inconsistent, according to described ARP, reply target MAC (Media Access Control) address information and the outbound port information of carrying in message, tag addresses table is upgraded.
Described device also comprises:
Configuration starts module 54, for configure by user command, opens MPLS and enables, and wakes synchronizing signal amount while configuring the IP address of down hop up; Or by the UP event of port, trigger network side ports sends ARP request message; Or, by the ARP at three layer interfaces, more during new events, trigger hardware and download tag configurations.
Described device also comprises:
ARP processing module 52 also, for reply vlan information and this label information of message according to described ARP, is searched in tag addresses table, judges in tag addresses table, whether to preserve corresponding target MAC (Media Access Control) address information and outbound port information;
AC forwarding module 55, for when definite described tag addresses table is not preserved corresponding target MAC (Media Access Control) address information and outbound port information, according to described ARP, reply VLAN information, target MAC (Media Access Control) address information, outbound port information and this label information in message, create the interface of all virtual circuits that carry on Ji Gai tunnel, multiprotocol label tunnel, and create interconnection AC business.
Described AC forwarding module 55, also for removing the interconnection AC business of having set up, according to described ARP, reply in message and carry vlan information, target MAC (Media Access Control) address information, outbound port information and this label information, upgrade all virtual circuit interfaces that carry on Ji Gai tunnel, multiprotocol label switching tunnel, and create new interconnection AC business.
Described device also comprises:
OAM processing module 56, be used for according to the interface of the virtual circuit carrying on multiprotocol label switching tunnel interface and this tunnel, create local terminal maintenance point and remote maintenance point, the CCM message that mirror image exchange chip receives arrives from CPU, and the redirected CCM message sending from CPU is to the outbound port of exchange chip; The loopback message that mirror image exchange chip receives, to host CPU, is redirected the loopback message of host CPU transmission to the outbound port of exchange chip.
The embodiment of the present invention provides a kind of MPLS-TP collocation method and device based on three layer interfaces, and the method comprises: the VLAN interface information in the tag addresses table of preserving according to self, sends the ARP request message of each label information by this each VLAN interface; The ARP of this label information that reception is returned replys message, the mac address information carrying in this ARP reply message and the information in outbound port information and tag addresses table are compared, when the target MAC (Media Access Control) address information in definite and tag addresses table and outbound port information are inconsistent, tag addresses table is upgraded.Due in embodiments of the present invention by setting up the map listing of label information, next-hop ip address information, VLAN information, outbound port information and target MAC (Media Access Control) address information, when network topology change, can upgrade in time and mark the information of next-hop node, thereby greatly improve the flexibility of PTN equipment configuration.
Those skilled in the art should understand, the application's embodiment can be provided as method, system or computer program.Therefore, the application can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the application can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code one or more.
The application is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present application, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computer or other programmable data processing device is produced for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame on computer or other programmable devices.
Although described the application's preferred embodiment, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the application's scope.
Obviously, those skilled in the art can carry out various changes and modification and the spirit and scope that do not depart from the application to the application.Like this, if within these of the application are revised and modification belongs to the scope of the application's claim and equivalent technologies thereof, the application is also intended to comprise these changes and modification interior.

Claims (10)

1. the MPLS-TP collocation method based on three layer interfaces, is characterized in that, described method comprises:
Receive configuration enabled instruction and wake synchronizing signal amount up, in the tag addresses table of preserving at self according to label information and next-hop ip address information, search corresponding VLAN interface information, by described each VLAN interface finding, send the ARP request message of this label information, wherein, in described tag addresses table, preserve label information, next-hop ip address information, vlan information, outbound port information and target MAC (Media Access Control) address information;
The ARP of this label information that reception is returned replys message, obtain described ARP and reply target MAC (Media Access Control) address information, outbound port information and the vlan information carrying in message, according to the vlan information of this label information and described ARP reply message, in label protocol table, search corresponding target MAC (Media Access Control) address information and outbound port information;
Mac address information and the outbound port information of in this target MAC (Media Access Control) address information finding and outbound port information and described ARP reply message, carrying are compared, when determining with described ARP, reply and in message, carry target MAC (Media Access Control) address information and outbound port information when inconsistent, according to described ARP, reply target MAC (Media Access Control) address information and the outbound port information of carrying in message, tag addresses table is upgraded.
2. the method for claim 1, is characterized in that, described configuration enabled instruction comprises:
By user command, configure and open MPLS and enable, during the IP address of configuration down hop, wake synchronizing signal amount up; Or,
By the UP event of port, trigger network side ports sends ARP request message; Or,
By the ARP at three layer interfaces, more during new events, trigger hardware and download tag configurations.
3. the method for claim 1, is characterized in that, the described vlan information according to this label information and described ARP reply message is searched corresponding target MAC (Media Access Control) address information and outbound port information and comprised in label protocol table:
According to described ARP, reply vlan information and this label information in message, in tag addresses table, search, judge in tag addresses table, whether to preserve corresponding target MAC (Media Access Control) address information and outbound port information;
While not preserving corresponding target MAC (Media Access Control) address information and outbound port information in determining described tag addresses table, according to described ARP, reply VLAN information, target MAC (Media Access Control) address information, outbound port information and this label information in message, create the interface of all virtual circuits that carry on Ji Gai tunnel, multiprotocol label tunnel, and create interconnection AC business.
4. the method for claim 1, is characterized in that, after the described tag addresses table that self is preserved upgrades, method also comprises:
Remove the interconnection AC business of having set up, according to described ARP, reply in message and carry vlan information, target MAC (Media Access Control) address information, outbound port information and this label information, upgrade all virtual circuit interfaces that carry on Ji Gai tunnel, multiprotocol label switching tunnel, and create new interconnection AC business.
5. the method as described in claim 3 or 4, is characterized in that, describedly also comprises:
According to the interface of the virtual circuit carrying on multiprotocol label switching tunnel interface and this tunnel, create local terminal maintenance point and remote maintenance point, the CCM message that mirror image exchange chip receives arrives from CPU, and the redirected CCM message sending from CPU is to the outbound port of exchange chip;
The loopback message that mirror image exchange chip receives, to host CPU, is redirected the loopback message of host CPU transmission to the outbound port of exchange chip.
6. the MPLS-TP inking device based on three layer interfaces, is characterized in that, described device comprises:
Search sending module, be used for receiving configuration enabled instruction and wake synchronizing signal amount up, in the tag addresses table of preserving at self according to label information and next-hop ip address information, search corresponding VLAN interface information, by described each VLAN interface finding, send the ARP request message of this label information, wherein, in described tag addresses table, preserve label information, next-hop ip address information, vlan information, outbound port information and target MAC (Media Access Control) address information;
ARP processing module, for receiving the ARP of this label information returning, reply message, obtain described ARP and reply target MAC (Media Access Control) address information, outbound port information and the vlan information carrying in message, according to the vlan information of this label information and described ARP reply message, in label protocol table, search corresponding target MAC (Media Access Control) address information and outbound port information;
Config update module, for this target MAC (Media Access Control) address information finding and outbound port information and mac address information and outbound port information that described ARP reply message carries are compared, when determining with described ARP, reply and in message, carry target MAC (Media Access Control) address information and outbound port information when inconsistent, according to described ARP, reply target MAC (Media Access Control) address information and the outbound port information of carrying in message, tag addresses table is upgraded.
7. device as claimed in claim 6, is characterized in that, described device also comprises:
Configuration starts module, for configure by user command, opens MPLS and enables, and wakes synchronizing signal amount while configuring the IP address of down hop up; Or by the UP event of port, trigger network side ports sends ARP request message; Or, by the ARP at three layer interfaces, more during new events, trigger hardware and download tag configurations.
8. device as claimed in claim 6, is characterized in that, described device also comprises:
ARP processing module also, for reply vlan information and this label information of message according to described ARP, is searched in tag addresses table, judges in tag addresses table, whether to preserve corresponding target MAC (Media Access Control) address information and outbound port information;
AC forwarding module, for when definite described tag addresses table is not preserved corresponding target MAC (Media Access Control) address information and outbound port information, according to described ARP, reply VLAN information, target MAC (Media Access Control) address information, outbound port information and this label information in message, create the interface of all virtual circuits that carry on Ji Gai tunnel, multiprotocol label tunnel, and create interconnection AC business.
9. device as claimed in claim 6, it is characterized in that, described AC forwarding module, also for removing the interconnection AC business of having set up, according to described ARP, reply in message and carry vlan information, target MAC (Media Access Control) address information, outbound port information and this label information, upgrade all virtual circuit interfaces that carry on Ji Gai tunnel, multiprotocol label switching tunnel, and create new interconnection AC business.
10. install as claimed in claim 8 or 9, it is characterized in that, described device also comprises:
OAM processing module, be used for according to the interface of the virtual circuit carrying on multiprotocol label switching tunnel interface and this tunnel, create local terminal maintenance point and remote maintenance point, the CCM message that mirror image exchange chip receives arrives from CPU, and the redirected CCM message sending from CPU is to the outbound port of exchange chip; The loopback message that mirror image exchange chip receives, to host CPU, is redirected the loopback message of host CPU transmission to the outbound port of exchange chip.
CN201310647325.4A 2013-12-06 2013-12-06 Three-layered interface based MPLS-TP (multi-protocol label switching-transport profile) configuration method and device Active CN103634423B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310647325.4A CN103634423B (en) 2013-12-06 2013-12-06 Three-layered interface based MPLS-TP (multi-protocol label switching-transport profile) configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310647325.4A CN103634423B (en) 2013-12-06 2013-12-06 Three-layered interface based MPLS-TP (multi-protocol label switching-transport profile) configuration method and device

Publications (2)

Publication Number Publication Date
CN103634423A true CN103634423A (en) 2014-03-12
CN103634423B CN103634423B (en) 2017-01-18

Family

ID=50215038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310647325.4A Active CN103634423B (en) 2013-12-06 2013-12-06 Three-layered interface based MPLS-TP (multi-protocol label switching-transport profile) configuration method and device

Country Status (1)

Country Link
CN (1) CN103634423B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104283983A (en) * 2014-10-27 2015-01-14 杭州华三通信技术有限公司 Method and device for allocating IP addresses to virtual machines in software defined network
CN105812163A (en) * 2014-12-31 2016-07-27 北京东土科技股份有限公司 Method and system used for preventing port Vlan configuration errors
CN107920007A (en) * 2016-10-07 2018-04-17 现代自动车株式会社 The first communication node and its operating method of multiple communication nodes in vehicle network
CN108092860A (en) * 2017-12-07 2018-05-29 中盈优创资讯科技有限公司 Two etale topology topology discovery method, apparatus, storage medium and the equipment of Metropolitan Area Network (MAN)
CN106790757B (en) * 2016-12-29 2019-09-20 迈普通信技术股份有限公司 A kind of method and device that ARP entry updates
CN110457228A (en) * 2019-08-22 2019-11-15 携程计算机技术(上海)有限公司 The comparison method and system of interface returned packet
CN111435948A (en) * 2019-01-12 2020-07-21 华为技术有限公司 Method for transmitting message in network and network equipment
CN111970201A (en) * 2020-08-28 2020-11-20 迈普通信技术股份有限公司 Multi-chip cascade forwarding system and forwarding control method
CN112180817A (en) * 2019-07-02 2021-01-05 北京东土科技股份有限公司 Method, device, equipment and storage medium for transforming ladder diagram into binary tree

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581818A (en) * 2003-07-31 2005-02-16 华为技术有限公司 Method for supporting multi-port virtual LAN by multi-protocol label swtich
CN1980177A (en) * 2005-12-02 2007-06-13 中兴通讯股份有限公司 Method for realizing virtual special local network service broadcast
US20090135833A1 (en) * 2007-11-26 2009-05-28 Won-Kyoung Lee Ingress node and egress node with improved packet transfer rate on multi-protocol label switching (MPLS) network, and method of improving packet transfer rate in MPLS network system
US20090175280A1 (en) * 2006-05-04 2009-07-09 Nokia Siemens Networks Gmbh & Co.Kg Automatic packet protection forwarding to an mpls network by a dual-homed ethernet bridge
CN102035740A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Multi-protocol label switching layer-3 virtual private network fast reroute (MPLSL3VPNFRR) method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581818A (en) * 2003-07-31 2005-02-16 华为技术有限公司 Method for supporting multi-port virtual LAN by multi-protocol label swtich
CN1980177A (en) * 2005-12-02 2007-06-13 中兴通讯股份有限公司 Method for realizing virtual special local network service broadcast
US20090175280A1 (en) * 2006-05-04 2009-07-09 Nokia Siemens Networks Gmbh & Co.Kg Automatic packet protection forwarding to an mpls network by a dual-homed ethernet bridge
US20090135833A1 (en) * 2007-11-26 2009-05-28 Won-Kyoung Lee Ingress node and egress node with improved packet transfer rate on multi-protocol label switching (MPLS) network, and method of improving packet transfer rate in MPLS network system
CN102035740A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Multi-protocol label switching layer-3 virtual private network fast reroute (MPLSL3VPNFRR) method and system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104283983A (en) * 2014-10-27 2015-01-14 杭州华三通信技术有限公司 Method and device for allocating IP addresses to virtual machines in software defined network
CN104283983B (en) * 2014-10-27 2018-01-09 新华三技术有限公司 Virtual machine IP address distribution method and device in a kind of software defined network
CN105812163A (en) * 2014-12-31 2016-07-27 北京东土科技股份有限公司 Method and system used for preventing port Vlan configuration errors
CN105812163B (en) * 2014-12-31 2019-02-12 北京东土科技股份有限公司 A kind of method and system preventing port Vlan configuration error
CN107920007A (en) * 2016-10-07 2018-04-17 现代自动车株式会社 The first communication node and its operating method of multiple communication nodes in vehicle network
CN106790757B (en) * 2016-12-29 2019-09-20 迈普通信技术股份有限公司 A kind of method and device that ARP entry updates
CN108092860B (en) * 2017-12-07 2019-09-10 中盈优创资讯科技有限公司 Two etale topology topology discovery method, apparatus, storage medium and the equipment of Metropolitan Area Network (MAN)
CN108092860A (en) * 2017-12-07 2018-05-29 中盈优创资讯科技有限公司 Two etale topology topology discovery method, apparatus, storage medium and the equipment of Metropolitan Area Network (MAN)
CN111435948A (en) * 2019-01-12 2020-07-21 华为技术有限公司 Method for transmitting message in network and network equipment
CN111435948B (en) * 2019-01-12 2021-11-19 华为技术有限公司 Method for transmitting message in network and network equipment
CN112180817A (en) * 2019-07-02 2021-01-05 北京东土科技股份有限公司 Method, device, equipment and storage medium for transforming ladder diagram into binary tree
CN110457228A (en) * 2019-08-22 2019-11-15 携程计算机技术(上海)有限公司 The comparison method and system of interface returned packet
CN110457228B (en) * 2019-08-22 2022-12-20 携程计算机技术(上海)有限公司 Method and system for comparing interface return messages
CN111970201A (en) * 2020-08-28 2020-11-20 迈普通信技术股份有限公司 Multi-chip cascade forwarding system and forwarding control method

Also Published As

Publication number Publication date
CN103634423B (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN103634423A (en) Three-layered interface based MPLS-TP (multi-protocol label switching-transport profile) configuration method and device
CN102291320B (en) MAC (media access control) address learning method and edge device
US10454711B2 (en) Method for obtaining port path and apparatus
CN111092801B (en) Data transmission method and device
US20170180456A1 (en) Method, device, and system for controlling network device auto-provisioning
CN105323136A (en) Information processing method and device
CN107113241B (en) Route determining method, network configuration method and related device
CN102137024B (en) Message processing method, exit routing device and border routing device
US20170331641A1 (en) Deployment Of Virtual Extensible Local Area Network
CN108632145B (en) Message forwarding method and leaf node equipment
CN110430076B (en) Route management method and device
CN103259726A (en) Method, device and system for storing and sending MAC address table entries
CN105162704A (en) Multicast replication method and device in Overlay network
CN111147372B (en) Downlink message sending and forwarding method and device
CN108540386B (en) Method and device for preventing service flow interruption
US10581669B2 (en) Restoring control-plane connectivity with a network management entity
CN104113609A (en) MAC address distributing method and apparatus
JP2019519146A (en) Routing establishment, packet transmission
CN106911549B (en) Data message processing method and device
CN106911547B (en) Message forwarding method and device
CN103490968A (en) Method and device for interconnecting across data centers in FCoE network
CN103428252B (en) A kind of method, equipment and the system of cloud computing virtual machine (vm) migration
CN107911495B (en) MAC address synchronization method and VTEP
CN107733727B (en) Zero configuration method, device and equipment
CN102457435B (en) Message transmission method in FC (Fiber Channel) network as well as FC system and FC equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant