WO2016176842A1 - 一种mpls-tp隧道中的以太接口寻址方法、装置、控制器和网元 - Google Patents
一种mpls-tp隧道中的以太接口寻址方法、装置、控制器和网元 Download PDFInfo
- Publication number
- WO2016176842A1 WO2016176842A1 PCT/CN2015/078398 CN2015078398W WO2016176842A1 WO 2016176842 A1 WO2016176842 A1 WO 2016176842A1 CN 2015078398 W CN2015078398 W CN 2015078398W WO 2016176842 A1 WO2016176842 A1 WO 2016176842A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network element
- mac address
- interface
- inbound interface
- inbound
- Prior art date
Links
Images
Definitions
- the present invention relates to the field of communication technologies, and in particular, to an Ethernet interface addressing method, apparatus, controller, and network element in a MPLS-TP (Multi-Protocol Label Switching Transport Profile) tunnel.
- MPLS-TP Multi-Protocol Label Switching Transport Profile
- MPLS-TP is a transmission technology that combines the characteristics of MPLS packet switching and traditional transport network.
- MPLS-TP provides an MPLS-TP tunnel for data packet transmission.
- An MPLS-TP tunnel consists of two or more network elements and connections between different network elements. Data packets can be transmitted between these network elements.
- the network element in the MPLS-TP tunnel sends the MPLS packet, and the network element acquires the inbound interface of the next hop network element in the MPLS-TP tunnel.
- a MAC (Media Access Control) address the MAC address is encapsulated in the MPLS packet, and the encapsulated MPLS packet is sent to the next hop network element, and the next hop network element is The MPLS packet continues to be sent downstream.
- MAC Media Access Control
- the prior art provides an Ethernet interface addressing method for the next hop network element in the MPLS-TP tunnel, which may be: the network element obtains the IP of the inbound interface of the next hop network element (Internet Protocol) The address of the protocol is based on the IP address of the inbound interface of the next hop. The MAC address of the inbound interface of the next hop NE is obtained through the ARP (Address Resolution Protocol) protocol.
- ARP Address Resolution Protocol
- the present invention provides an Ethernet interface addressing method, apparatus, controller, and network element in an MPLS-TP tunnel.
- the technical solutions are as follows:
- an embodiment of the present invention provides an Ethernet interface addressing method in an MPLS-TP tunnel, where the method includes:
- the controller Obtaining, by the controller, the inbound interface information of the first network element to the second network element in the MPLS-TP tunnel path of the transmission subset based on the multi-protocol label switching, where the second network is in the MPLS-TP tunnel path
- the element is a next hop network element of the first network element
- the controller acquires a media access control MAC address of the inbound interface of the first network element to the second network element according to the inbound interface information of the first network element to the second network element;
- the controller obtains a MAC address of an inbound interface of a next hop network element of the first network element according to a MAC address of the inbound interface of the first network element to the second network element, where the first network is The MAC address of the inbound interface of the next hop element of the element is sent to the first network element.
- the inbound interface information of the first network element to the second network element includes an inbound interface identifier of the second network element.
- the inbound interface information of the first network element to the second network element includes The network element identifier of the second network element and the inbound interface identifier of the second network element.
- the controller is configured according to the first network element Before the inbound interface information of the second network element is obtained, before the media access control MAC address of the inbound interface of the first network element to the second network element is obtained, the method further includes:
- the controller receives and saves interface information of the second network element and a MAC address of the interface
- the interface information of the second network element includes an inbound interface identifier of the second network element and a network element identifier of the second network element, where a MAC address of the interface of the second network element includes the second network element MAC address of the inbound interface.
- the method further includes:
- the controller receives a MAC address modification request of the inbound interface of the second network element, where the MAC address modification request of the inbound interface carries the MAC address of the inbound interface modified by the second network element;
- the controller updates the MAC address of the inbound interface of the second network element according to the MAC address of the inbound interface modified by the second network element;
- the controller updates the MAC address of the inbound interface of the next hop network element of the first network element according to the MAC address of the inbound interface of the second network element.
- an embodiment of the present invention provides an Ethernet interface addressing method in an MPLS-TP tunnel, where the method includes:
- the network element acquires an MPLS packet based on a multi-protocol label exchange
- the network element encapsulates the MAC address of the inbound interface of the next hop network element of the network element into the MPLS packet.
- the network element before the acquiring, by the network element, the MPLS packet, the network element further includes:
- the network element sends the interface information of the network element and the MAC address of the interface to the controller, so that the controller saves the interface information of the network element and the MAC address of the interface;
- the interface information of the network element includes an inbound interface identifier of the network element and a network element identifier of the network element, and a MAC address of the interface of the network element includes a MAC address of an inbound interface of the network element.
- the method further includes:
- the MAC address of the inbound interface of the meta-modified device updates the MAC address of the inbound interface of the network element.
- an embodiment of the present invention provides an Ethernet interface addressing device in an MPLS-TP tunnel, where the device includes:
- a first acquiring module configured to acquire inbound interface information of the first network element to the second network element in the MPLS-TP tunnel path of the transmission subset based on the multi-protocol label switching, in the MPLS-TP tunnel path
- the second network element is a next hop network element of the first network element
- a second obtaining module configured to acquire, according to the inbound interface information of the first network element to the second network element, a media access control MAC address of the inbound interface of the first network element to the second network element;
- An addressing module configured to: according to the MAC address of the inbound interface of the first network element to the second network element And obtaining a MAC address of the inbound interface of the next hop network element of the first network element, and sending the MAC address of the inbound interface of the next hop network element of the first network element to the first network element.
- the inbound interface information of the first network element to the second network element includes an inbound interface identifier of the second network element.
- the inbound interface information of the first network element to the second network element includes The network element identifier of the second network element and the inbound interface identifier of the second network element.
- the device further includes:
- a storage module configured to receive and save interface information of the second network element and a MAC address of the interface
- the interface information of the second network element includes an inbound interface identifier of the second network element and a network element identifier of the second network element, where a MAC address of the interface of the second network element includes the second network element MAC address of the inbound interface.
- the device further includes:
- the first receiving module is configured to receive a MAC address modification request of the inbound interface of the second network element, where the MAC address modification request of the inbound interface carries the MAC address of the inbound interface modified by the second network element;
- a first update module configured to update, according to the MAC address of the inbound interface that is modified by the second network element, a MAC address of the inbound interface of the second network element;
- a second update module configured to update, according to the MAC address of the inbound interface of the second network element, the MAC address of the inbound interface of the next hop element of the first network element.
- an embodiment of the present invention provides an Ethernet interface addressing device in an MPLS-TP tunnel, where the device includes:
- a third acquiring module configured to acquire an MPLS packet based on a multi-protocol label exchange
- a second receiving module configured to receive a media access control MAC address of an inbound interface of a next hop network element of the network element
- the encapsulating module is configured to encapsulate the MAC address of the inbound interface of the next hop network element of the network element into the MPLS packet.
- the device in conjunction with the implementation of the fourth aspect, in a first possible implementation manner of the fourth aspect, also includes:
- the first sending module is configured to send the interface information of the network element and the MAC address of the interface to the controller, so that the controller saves the interface information of the network element and the MAC address of the interface;
- the interface information of the network element includes an inbound interface identifier of the network element and a network element identifier of the network element, and a MAC address of the interface of the network element includes a MAC address of an inbound interface of the network element.
- the device further includes:
- a second sending module configured to send a MAC address modification request of the inbound interface to the controller, where the MAC address modification request of the inbound interface carries the MAC address of the inbound interface modified by the network element, so that the controller is configured according to the The MAC address of the inbound interface of the network element is updated to update the MAC address of the inbound interface of the network element.
- an embodiment of the present invention provides a controller, where the controller includes: a first processor and a first transmitter;
- the first processor is configured to acquire inbound interface information of the first network element to the second network element in the MPLS-TP tunnel path of the multi-protocol label switching based on the multi-protocol label switching, in the MPLS-TP tunnel
- the second network element in the path is a next hop network element of the first network element
- the first processor is further configured to acquire media access control of the inbound interface of the first network element to the second network element according to the inbound interface information of the first network element to the second network element.
- the first processor is further configured to obtain, according to a MAC address of the inbound interface of the first network element to the second network element, a MAC address of an inbound interface of a next hop network element of the first network element;
- the first transmitter is configured to send, to the first network element, a MAC address of an inbound interface of a next hop network element of the first network element.
- the inbound interface information of the first network element to the second network element includes an inbound interface identifier of the second network element.
- the inbound interface information of the first network element to the second network element includes The network element identifier of the second network element and the inbound interface identifier of the second network element.
- the first processor is further configured to receive and save The interface information of the second network element and the MAC address of the interface;
- the interface information of the second network element includes an inbound interface identifier of the second network element and a network element identifier of the second network element, where a MAC address of the interface of the second network element includes the second network element MAC address of the inbound interface.
- the controller further includes: a first receiver;
- the first receiver is configured to receive a MAC address modification request of the inbound interface of the second network element, where the MAC address modification request of the inbound interface carries the MAC address of the inbound interface modified by the second network element ;
- the first processor is further configured to: update, according to the MAC address of the inbound interface that is modified by the second network element, a MAC address of the inbound interface of the second network element;
- the first processor is further configured to update, according to the MAC address of the inbound interface of the second network element, a MAC address of an inbound interface of the next hop element of the first network element.
- an embodiment of the present invention provides a network element, where the network element includes: a second processor and a second receiver;
- the second processor is configured to acquire an MPLS packet based on a multi-protocol label exchange
- the second receiver is configured to receive a media access control MAC address of an inbound interface of a next hop network element of the network element;
- the second processor is further configured to encapsulate a MAC address of an inbound interface of a next hop network element of the network element into the MPLS packet.
- the network element further includes: a second transmitter
- the second transmitter is configured to send the interface information of the network element and the MAC address of the interface to the controller, so that the controller saves the interface information of the network element and the MAC address of the interface;
- the interface information of the network element includes an inbound interface identifier of the network element and a network element identifier of the network element, and a MAC address of the interface of the network element includes a MAC address of an inbound interface of the network element.
- the network element further includes: a second transmitter
- the second transmitter is further configured to send a MAC address modification request of the inbound interface to the controller, where the MAC address modification request of the inbound interface carries the MAC address of the inbound interface modified by the network element, so as to facilitate the Updating, by the controller, the network element according to the MAC address of the inbound interface modified by the network element MAC address of the inbound interface.
- the controller obtains the MAC address of the inbound interface of the next hop element of the first network element in the MPLS-TP tunnel path to be established, and the next hop element of the first network element
- the MAC address of the inbound interface is sent to the first network element, so that the first network element directly receives the MAC address of the inbound interface of the next hop network element of the next hop element of the first network element, and does not need to be the inbound interface of the network element.
- the IP address is configured to implement IP-free planning and configuration. This solves the problem of troubleshooting error correction when the IP address configuration error occurs. This greatly reduces the workload of network maintenance.
- the ARP protocol does not need to be run on the NE. Improve the processing speed of network elements.
- FIG. 1-1 is a flowchart of an Ethernet interface addressing method in an MPLS-TP tunnel according to Embodiment 1 of the present invention
- FIG. 1-2 is a flowchart of an Ethernet interface addressing method in another MPLS-TP tunnel according to Embodiment 1 of the present invention
- Embodiment 2 of the present invention is a schematic diagram of an MPLS-TP tunnel provided by Embodiment 2 of the present invention.
- FIG. 3 is a flowchart of an Ethernet interface addressing method in an MPLS-TP tunnel according to Embodiment 3 of the present invention.
- FIG. 4 is a flowchart of a method for updating a crosstab of an MPLS-TP tunnel according to Embodiment 4 of the present invention
- FIG. 5 is a schematic structural diagram of an Ethernet interface addressing device in an MPLS-TP tunnel according to Embodiment 5 of the present invention.
- FIG. 6 is a schematic structural diagram of an Ethernet interface addressing device in an MPLS-TP tunnel according to Embodiment 6 of the present invention.
- FIG. 7 is a schematic structural diagram of a controller according to Embodiment 7 of the present invention.
- FIG. 8 is a schematic structural diagram of a network element according to Embodiment 8 of the present invention.
- the embodiment of the invention provides an Ethernet interface addressing method in an MPLS-TP tunnel.
- the execution body of the method is a controller, and the controller can centrally control the network and deploy the system on the independent server; For computers or servers, etc.
- the method includes:
- Step 101a The controller acquires inbound interface information of the first network element to the second network element in the MPLS-TP tunnel path of the transmission subset based on the multi-protocol label switching, and the second network in the MPLS-TP tunnel path.
- the element is the next hop network element of the first network element;
- Step 102a The controller acquires a media access control MAC address of the inbound interface of the first network element to the second network element according to the inbound interface information of the first network element to the second network element.
- Step 103a The controller obtains the MAC address of the inbound interface of the next hop element of the first network element according to the MAC address of the inbound interface of the first network element to the second network element, and the next hop element of the first network element The MAC address of the inbound interface is sent to the first network element.
- the embodiment of the present invention provides an Ethernet interface addressing method in an MPLS-TP tunnel.
- the method is implemented by a network element, and the network element may be a router or the like. Referring to Figure 1-2, the method includes:
- Step 101b The network element acquires an MPLS packet based on a multi-protocol label exchange.
- Step 102b The network element receives the media access control MAC address of the inbound interface of the next hop network element of the network element.
- Step 103b The network element encapsulates the MAC address of the inbound interface of the next hop network element of the network element into the MPLS packet.
- the controller obtains the MAC address of the inbound interface of the next hop element of the first network element in the MPLS-TP tunnel path to be established, and the next hop of the first network element
- the MAC address of the inbound interface of the element is sent to the first network element, so that the first network element directly receives the MAC address of the inbound interface of the next hop element of the next hop element of the first network element, and does not need to be the network element.
- the IP address of the inbound interface is configured to implement IP-free planning and configuration. This solves the problem of troubleshooting error correction when the IP address configuration error occurs. This greatly reduces the workload of network maintenance. Moreover, the ARP protocol does not need to be run on the NE. , thereby improving the processing speed of the network element.
- the embodiment of the invention provides an Ethernet interface addressing method in an MPLS-TP tunnel.
- the execution body of the method is a controller, and the controller can centrally control the network and deploy on a separate server.
- the system; the controller can be a computer or a server. See Figure 2-1, where the method includes:
- Step 201 The controller receives a tunnel establishment request, where the tunnel establishment request carries parameters of the source node, the destination node, and the tunnel.
- the MPLS-TP tunnel is set up in the MPLS-TP network.
- the MPLS-TP tunnel is used to send the tunnel request to the controller through the client device or the first node.
- the source node, the destination node, and the parameters of the tunnel, the parameters of the tunnel may be the bandwidth of the tunnel, and the like; the controller receives the tunnel establishment request, and performs step 202.
- Step 202 The controller calculates an MPLS-TP tunnel path to be established according to the tunnel establishment request.
- the controller calculates an MPLS-TP tunnel path from the source node to the destination node and satisfying the parameters of the tunnel according to the parameters of the source node, the destination node, and the tunnel.
- the MPLS-TP tunnel path includes at least each of the passed NE identifiers and the inbound interface identifiers.
- the MPLS-TP tunnel path may further include an outbound interface identifier, an inbound label, and an outgoing label.
- the MPLS-TP tunnel path generated by the controller is shown in Figure 2-2.
- the network element identifier of the network element 1 is NE1
- the outbound interface identifier of the network element 1 is P1
- the outgoing interface label is 201
- the network element identifier of the network element 2 is NE2
- the network element 2 is The inbound interface ID is P2
- the MAC address of the inbound interface is MAC2
- the inbound interface label is 201
- the outbound interface ID is P3
- the outbound interface MAC address is MAC3
- the outbound interface label is 202
- the NE label of the NE 3 is NE3.
- the inbound interface of the network element 3 is identified as P4, the MAC address of the inbound interface is MAC4, the inbound interface label is 202, the outbound interface identifier is P5, the outbound interface is MAC5, and the outgoing interface label is 203.
- the inbound interface identifier is NE4, the inbound interface identifier of the inbound interface 4 is P6, the inbound interface MAC address is MAC6, and the inbound interface label is 203.
- Step 203 The controller acquires inbound interface information of the first network element to the second network element in the MPLS-TP tunnel path.
- the first network element is any one of the MPLS-TP tunnel paths, and the second network element is the next hop network element of the first network element in the MPLS-TP tunnel path; the first network element to the first network element
- the inbound interface information of the second network element includes the inbound interface identifier of the second network element; or the inbound interface information of the first network element to the second network element includes the network element identifier of the second network element and the inbound interface identifier of the second network element.
- Step 204 The controller acquires the MAC address of the inbound interface of the first network element to the second network element according to the inbound interface information of the first network element to the second network element.
- the controller obtains, according to the inbound interface information of the first network element to the second network element, the MAC address of the inbound interface of the first network element to the second network element from the correspondence between the inbound interface information of the second network element and the MAC address of the interface address.
- the second network element sends the interface information of the second network element and the MAC address of the interface to the controller, where the controller receives and saves the interface information of the second network element and the MAC address of the interface, and the interface of the second network element
- the MAC address includes the MAC address of the inbound interface of the second network element.
- the interface information of the second network element includes the inbound interface identifier of the second network element, or the interface information of the second network element includes the inbound interface identifier of the second network element and the network element identifier of the second network element.
- the step may be: the controller uses the second network element that is pre-stored according to the inbound interface identifier of the second network element.
- the MAC address of the inbound interface of the first network element to the second network element is obtained by the mapping between the inbound interface identifier and the MAC address of the inbound interface of the second network element.
- the controller needs to store the mapping between the inbound interface identifier of the second network element and the MAC address of the inbound interface of the second network element, where the interface identifier includes the inbound interface identifier and the outbound interface identifier, but the network element is not When an MPLS-TP tunnel is set up, the inbound interface and the outbound interface are collectively called interfaces.
- the specific process is as follows:
- each network element in the MPLS-TP network sends the interface identifier of the local network element and the MAC address of the interface to the controller.
- the controller receives the interface identifier of the local network element and the MAC address of the interface sent by each network element, and saves the interface identifier of each network element and the MAC address of the interface.
- the interface identifier may be an index number that uniquely identifies the interface, or a triplet identifier that is composed of a physical board number, a subcard number, and an interface ID.
- the step may be:
- the controller obtains the network element identifier of the second network element, and identifies the network element identifier and the first network element of the second network element according to the network element identifier of the second network element and the inbound interface identifier of the first network element to the second network element. And obtaining, by the mapping between the inbound interface identifier of the second network element and the MAC address of the inbound interface of the second network element, the MAC address of the inbound interface of the first network element to the second network element.
- the controller needs to store the network element identifier of the second network element, the inbound interface identifier of the first network element to the second network element, and the correspondence between the first network element and the MAC address of the inbound interface of the second network element.
- the interface identifier includes the inbound interface identifier and the outbound interface identifier, but the MPLS-TP tunnel is not established in the network element.
- the inbound interface and the outbound interface are collectively referred to as the interface.
- each network element in the MPLS-TP network sends the network element identifier, interface identifier, and interface of the local network element to the controller.
- the controller receives the network element identifier, the interface identifier, and the MAC address of the interface of each network element, and saves the network element identifier, interface identifier, and MAC address of each interface.
- the network element identifier may be an IP address of the network element or a management ID (IDentity, ID number) of the network element.
- the PCEP Path Computation Element Communication Protocol
- the path calculation unit interaction protocol and the Openflow (Open Flow Table Protocol) and other protocols are implemented, and the transmission protocol is not specifically limited in the embodiment of the present invention.
- the correspondence between the NE identifier, the interface identifier, and the MAC address of the interface stored in the controller is as follows:
- the MPLS-TP tunnel path includes the network element identifier, the inbound interface identifier, and the outbound interface identifier, and the controller calculates the MPLS-TP tunnel path, and the network element identifier and the network element included in the MPLS-TP tunnel path are obtained.
- the inbound interface identifier and the outbound interface identifier for example, the controller learns that the network element identifiers included in the MPLS-TP tunnel path are NE1, NE2, NE3, and NE4, respectively; and the inbound interface identifiers are P2, P4, and P6, respectively.
- the controller obtains the network element identifier of the next hop network element of the network element 1 as NE2, and the inbound interface identifier of the network element 1 to the network element 2 is P2, according to the next hop network element of the network element 1
- the network element identifies NE2 and the inbound interface identifier P2 of the network element 1 to the network element 2, and obtains the MAC address of the inbound interface of the next hop network element of the network element 1 from the table 1 as MAC2; likewise, the next hop of the network element 2
- the network element identifier of the network element is NE3, and the inbound interface identifier of the network element 2 to the network element 3 is P4.
- the network element identifier NE3 of the next hop network element of the network element 2 and the inbound interface identifier of the network element 2 to the network element 3 are identified.
- P4 the MAC address of the inbound interface of the next hop network element of the network element 2 is obtained from Table 1, and the network element identifier of the next hop network element of the network element 3 is NE4, and the network element 3 is connected to the network element 4.
- the interface identifier is P6, and the network element identifier NE4 of the next hop network element of the network element 3 and the inbound interface identifier P6 of the network element 3 to the network element 4 are obtained, and the entry of the next hop network element of the network element 3 is obtained from the table 1.
- the MAC address of the interface is MAC6.
- the interface in the embodiment of the present invention is a network side interface. Therefore, before the network element sends the network element identifier, the interface identifier, and the MAC address of the interface to the controller, the network element determines whether the interface is a network side interface. If yes, the network element identifier, the interface identifier, and the MAC address of the interface are sent to the controller; if not, the process ends.
- the step of determining, by the network element, whether the interface is a network side interface may be:
- the interface is enabled with MPLS-TP or is on the line card, if the interface is enabled with MPLS-TP or on the line card, the interface is determined to be the network-side interface. If the interface is not enabled with MPLS-TP. If the board is not on the line card, the interface is not the network side interface.
- the MPLS-TP is enabled to forward MPLS packets.
- Step 205 The controller obtains the MAC address of the inbound interface of the next hop network element of the first network element according to the MAC address of the inbound interface of the first network element to the second network element.
- the controller uses the MAC address of the inbound interface of the first network element to the second network element as the MAC address of the inbound interface of the next hop network element of the first network element.
- the controller may write the MAC address of the inbound interface of the next hop element of the first network element into the crosstab of the MPLS-TP tunnel.
- the MAC address MAC2 of the inbound interface of the next hop NE of NE1 the MAC address MAC4 of the inbound interface of the next hop NE of NE2, and the addresses MAC6 and NE4 of the inbound interface of the next hop NE of NE3.
- the MAC address of the inbound interface of the next-hop NE is invalid.
- the cross-tab of the MPLS-TP tunnel can also include the inbound interface identifier of the local NE, the inbound label, and the local network.
- the outbound interface identifier, outgoing label, network element identifier of the next hop network element, and/or the inbound interface identifier of the next hop network element are as shown in Table 2 below.
- Step 206 The controller sends the MAC address of the inbound interface of the next hop network element of the first network element to the first network element.
- the controller may also obtain the cross-tab of the first network element, and send the cross-tab corresponding to the first network element to the first network element.
- the controller obtains the inbound interface identifier, the inbound label, and the outbound interface identifier of the network element from the cross-tab of the MPLS-TP tunnel according to the network element identifier of the network element.
- the outbound label, the MAC address of the inbound interface of the next hop network element, and the like, and the obtained information is used as a cross table of the network element, and the cross table of the network element is sent to the network element.
- the cross-tab of the network element identifier NE1 including the network element 1 is obtained from the following table 3, and the information of the table 3 is sent to the network element 1; likewise, the network element including the network element 2 is obtained from the table 2.
- the cross-tab of the identifier NE2 is as shown in Table 4 below.
- the information of Table 4 is sent to the network element 2
- the cross-tab of the network element identifier NE3 including the network element 3 is obtained from Table 2, as shown in Table 5 below.
- the information is sent to the network element 3; the cross-tab of the network element identifier NE4 including the network element 4 is obtained from the table 2, and the information of the table 6 is sent to the network element 4.
- the controller can implement the cross-tab of the network element by using a protocol such as a PC Comp (Path Computation Element Communication Protocol) and an OpenFlow (Open Flow Table Protocol), in the embodiment of the present invention.
- a protocol such as a PC Comp (Path Computation Element Communication Protocol) and an OpenFlow (Open Flow Table Protocol), in the embodiment of the present invention.
- the protocol for the crosstab of the network element to be sent by the controller is not specifically limited.
- controller may directly send the cross-tab of the MPLS-TP tunnel to each network element.
- the controller obtains the MAC address of the inbound interface of the next hop element of the first network element in the MPLS-TP tunnel path to be established, and the next hop of the first network element
- the MAC address of the inbound interface of the element is sent to the first network element, so that the first network element directly receives the MAC address of the inbound interface of the next hop element of the next hop element of the first network element, and does not need to be the network element.
- the IP address of the inbound interface is configured to implement IP-free planning and configuration. This solves the problem of troubleshooting error correction when the IP address configuration error occurs. This greatly reduces the workload of network maintenance. Moreover, the ARP protocol does not need to be run on the NE. , thereby improving the processing speed of the network element.
- the embodiment of the present invention provides an Ethernet interface addressing method in an MPLS-TP tunnel path.
- the method is implemented by a network element, and the network element may be a router or the like. Referring to FIG. 3, the method includes:
- Step 301 The network element acquires the MPLS packet and receives the MAC address of the inbound interface of the next hop network element of the network element.
- the step of the network element acquiring the MPLS packet may be:
- the network element When the network element is the first node in the MPLS-TP tunnel path, the network element receives the source node to send The packet of the MPLS-TP tunnel that transmits the packet is written in the packet to obtain the MPLS packet; when the network element is not the first node in the MPLS-TP tunnel path, the network element The MPLS packet sent by the last hop network element of the network element in the MPLS-TP tunnel path is received.
- the step of the network element receiving the MAC address of the inbound interface of the next hop element of the network element may be:
- the network element receives the MAC address of the inbound interface of the next hop network element of the network element sent by the controller; or receives the cross table of the network element sent by the controller, where the cross table includes at least the next hop of the network element
- the MAC address of the inbound interface of the NE, and the MAC address of the inbound interface of the next hop NE of the NE is obtained from the crosstab of the NE.
- the network element is any network element in the MPLS-TP tunnel path.
- Step 302 The network element encapsulates the MAC address of the inbound interface of the next hop network element of the network element into the MPLS packet.
- Step 303 The network element sends the encapsulated MPLS packet to the next hop network element of the network element.
- the next hop network element of the network element receives the encapsulated MPLS packet, and determines whether the MAC address of the inbound interface carried in the MPLS packet is the MAC address of the inbound interface of the local network element. If yes, repeat steps 301 and 302. And 303, and sending the MPLS packet to the next hop network element of the next hop network element; if not, discarding the MPLS packet.
- the controller obtains the MAC address of the inbound interface of the next hop element of the first network element in the MPLS-TP tunnel path to be established, and the next hop of the first network element
- the MAC address of the inbound interface of the element is sent to the first network element, so that the first network element directly receives the MAC address of the inbound interface of the next hop element of the next hop element of the first network element, and does not need to be the network element.
- the IP address of the inbound interface is configured to implement IP-free planning and configuration. This solves the problem of troubleshooting error correction when the IP address configuration error occurs. This greatly reduces the workload of network maintenance. Moreover, the ARP protocol does not need to be run on the NE. , thereby improving the processing speed of the network element.
- the controller may update the cross-tab of the MPLS-TP tunnel by using the following steps.
- the execution body of the method is a controller. Referring to FIG. 4, the method includes:
- Step 401 The controller receives the MAC address modification request of the inbound interface sent by the second network element, where the MAC address modification request of the inbound interface carries the inbound interface identifier of the second network element and the modified inbound interface.
- MAC address the MAC address modification request of the inbound interface sent by the second network element, where the MAC address modification request of the inbound interface carries the inbound interface identifier of the second network element and the modified inbound interface.
- the second network element When the MAC address of the inbound interface of the second network element changes, the second network element sends a MAC address modification request of the inbound interface to the controller, and the MAC address modification request of the inbound interface carries at least the inbound interface of the second network element.
- the identifier and the modified MAC address of the inbound interface can also carry the NE identifier of the second network element.
- the controller receives the MAC address modification request of the inbound interface sent by the second network element, so as to update the MAC address of the inbound interface of the second network element, and step 402 is performed.
- the controller when the controller receives the MAC address modification request of the inbound interface sent by the second network element, the controller obtains the inbound interface identifier of the second network element from the MAC address modification request of the inbound interface, and determines whether the ingress interface is a network side interface. If the inbound interface is a network side interface, step 402 is performed; if the ingress interface is not a network side interface, the process ends.
- the step of determining whether the ingress interface is a network side interface may be:
- the controller determines whether the inbound interface is enabled with MPLS or is on the line card. If the inbound interface is enabled with MPLS or on the line card, the ingress interface is determined to be the network side interface. If the inbound interface is not enabled with MPLS. If the board is not on the line card, the ingress interface is not the network side interface.
- the MPLS-TP is enabled to forward MPLS packets.
- Step 402 The controller updates the MAC address of the inbound interface of the second network element according to the MAC address of the inbound interface modified by the second network element.
- the controller modifies the MAC address of the inbound interface of the second network element stored locally to the MAC address of the inbound interface of the second network element. And the controller determines that the MAC address of the inbound interface of the second network element is the MAC address of the inbound interface of the next hop element of the first network element;
- the step of the controller determining that the MAC address of the inbound interface of the second network element is the MAC address of the inbound interface of the next hop element of the first network element may be:
- the controller traverses all the MPLS-TP tunnel paths included in the MPLS-TP network, and checks whether the MAC address of the inbound interface of the next hop element of the first network element in the MPLS-TP tunnel path is the MAC address of the inbound interface of the second network element. The address, if yes, determines that the MAC address of the inbound interface modified by the second network element is the MAC address of the inbound interface of the next hop element of the first network element.
- Step 403 The controller updates the MAC address of the inbound interface of the second network element according to the MAC address of the inbound interface modified by the second network element.
- the controller modifies the MAC address of the inbound interface of the second network element stored locally to the MAC address of the inbound interface of the second network element.
- Step 404 The controller updates the first network according to the MAC address of the inbound interface modified by the second network element. MAC address of the inbound interface of the next hop element of the element;
- the controller modifies the MAC address of the inbound interface of the next hop element of the first network element to the MAC address of the inbound interface of the second network element.
- the controller modifies, in the cross-tab of the first network element, the MAC address of the inbound interface of the next hop element of the first network element to the MAC address of the inbound interface of the second network element.
- Step 405 The controller sends the MAC address of the inbound interface of the next hop element of the modified first network element to the first network element.
- the first network element receives the modified MAC address of the inbound interface of the next hop of the first network element, and sends the MPLS packet to the next hop element of the modified first network element.
- the MAC address of the inbound interface is encapsulated into the MPLS packet, and the encapsulated MPLS packet is sent to the next hop NE of the first network element.
- the controller may also send the modified cross table of the first network element to the first network element.
- the first network element receives the modified cross-tab sent by the controller.
- the first network element obtains the modified next-hop network element of the first network element from the modified cross-tab.
- the MAC address of the interface encapsulates the MAC address of the inbound interface of the next hop of the first network element into the MPLS packet, and sends the encapsulated MPLS packet to the next hop of the first NE. Network element.
- the cross-tab of the MPLS-TP tunnel is updated according to the above method.
- the controller obtains the MAC address of the inbound interface of the next hop element of the first network element in the MPLS-TP tunnel path to be established, and the next hop of the first network element
- the MAC address of the inbound interface of the element is sent to the first network element, so that the first network element directly receives the MAC address of the inbound interface of the next hop element of the next hop element of the first network element, and does not need to be the network element.
- the IP address of the inbound interface is configured to implement IP-free planning and configuration. This solves the problem of troubleshooting error correction when the IP address configuration error occurs. This greatly reduces the workload of network maintenance. Moreover, the ARP protocol does not need to be run on the NE. , thereby improving the processing speed of the network element.
- the embodiment of the present invention provides an Ethernet interface addressing device in an MPLS-TP tunnel, and the device may be a controller.
- the device includes:
- the first obtaining module 501 is configured to obtain the inbound interface information of the first network element to the second network element in the MPLS-TP tunnel path of the transmission subset based on the multi-protocol label switching, in the MPLS-TP tunnel.
- the second network element in the path is the next hop network element of the first network element;
- the second obtaining module 502 is configured to obtain, according to the inbound interface information of the first network element to the second network element, a media access control MAC address of the inbound interface of the first network element to the second network element;
- the addressing module 503 is configured to obtain, according to the MAC address of the inbound interface of the first network element to the second network element, the MAC address of the inbound interface of the next hop element of the first network element, and the next hop of the first network element The MAC address of the inbound interface of the NE is sent to the first NE.
- the inbound interface information of the first network element to the second network element includes an inbound interface identifier of the second network element.
- the inbound interface information of the first network element to the second network element includes the network element identifier of the second network element and the inbound interface identifier of the second network element.
- the device further includes:
- a storage module configured to receive and save interface information of the second network element and a MAC address of the interface
- the interface information of the second network element includes the inbound interface identifier of the second network element and the network element identifier of the second network element, and the MAC address of the interface of the second network element includes the MAC address of the inbound interface of the second network element.
- the device further includes:
- the first receiving module is configured to receive a MAC address modification request of the inbound interface of the second network element, where the MAC address modification request of the inbound interface carries the MAC address of the inbound interface modified by the second network element;
- a first update module configured to update, according to the MAC address of the inbound interface modified by the second network element, a MAC address of the inbound interface of the second network element;
- a second update module configured to update, according to the MAC address of the inbound interface of the second network element, the MAC address of the inbound interface of the next hop element of the first network element.
- the controller obtains the MAC address of the inbound interface of the next hop element of the first network element in the MPLS-TP tunnel path to be established, and the next hop of the first network element
- the MAC address of the inbound interface of the element is sent to the first network element, so that the first network element directly receives the MAC address of the inbound interface of the next hop element of the next hop element of the first network element, and does not need to be the network element.
- the IP address of the inbound interface is configured to implement IP-free planning and configuration. This solves the problem of troubleshooting error correction when the IP address configuration error occurs. This greatly reduces the workload of network maintenance. Moreover, the ARP protocol does not need to be run on the NE. , thereby improving the processing speed of the network element.
- Embodiments of the present invention provide an Ethernet interface addressing device in an MPLS-TP tunnel, and the device It can be a network element, see FIG. 6, wherein the device includes:
- the third obtaining module 601 is configured to acquire an MPLS packet based on the multi-protocol label exchange
- the second receiving module 602 is configured to receive a media access control MAC address of an inbound interface of a next hop network element of the network element.
- the encapsulating module 603 is configured to encapsulate the MAC address of the inbound interface of the next hop network element of the network element into the MPLS packet.
- the device further includes:
- the first sending module is configured to send the interface information of the network element and the MAC address of the interface to the controller, so that the controller saves the interface information of the network element and the MAC address of the interface;
- the interface information of the network element includes the inbound interface identifier of the network element and the network element identifier of the network element.
- the MAC address of the interface of the network element includes the MAC address of the inbound interface of the network element.
- the device further includes:
- the second sending module is configured to send a MAC address modification request of the inbound interface to the controller, where the MAC address modification request of the inbound interface carries the MAC address of the inbound interface modified by the network element, so that the controller can modify the inbound according to the network element.
- the MAC address of the interface updates the MAC address of the inbound interface of the NE.
- the controller obtains the MAC address of the inbound interface of the next hop element of the first network element in the MPLS-TP tunnel path to be established, and the next hop of the first network element
- the MAC address of the inbound interface of the element is sent to the first network element, so that the first network element directly receives the MAC address of the inbound interface of the next hop element of the next hop element of the first network element, and does not need to be the network element.
- the IP address of the inbound interface is configured to implement IP-free planning and configuration. This solves the problem of troubleshooting error correction when the IP address configuration error occurs. This greatly reduces the workload of network maintenance. Moreover, the ARP protocol does not need to be run on the NE. , thereby improving the processing speed of the network element.
- FIG. 7 is a schematic structural diagram of a controller according to another embodiment of the present invention, including: as shown in FIG. 7, the controller 700 includes a first processor 701, a first memory 702, a first transmitter 703, and a first Receiver 704, first input/output interface 705, first communication interface 706, and first bus 707.
- the first processor 701, the first memory 702, the first transmitter 703, the first receiver 704, the first input/output interface 705, and the first communication interface 706 implement communication connection with each other through the first bus 707.
- the first processor 701 can be a general-purpose central processing unit (CPU), a microprocessor, and an application-specific integrated circuit (Application Specific Integrated).
- the circuit (abbreviated as ASIC), or at least one integrated circuit, is used to execute the related program to implement the technical solution provided by the embodiment of the present invention.
- the first memory 702 can be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
- the first memory 702 can store an operating system and other applications.
- the program code for implementing the technical solution provided by the embodiment of the present invention is saved in the first memory 702 and executed by the first processor 701.
- the first input/output interface 705 is configured to receive input data and information, and output data such as an operation result.
- the first communication interface 706 implements communication between the controller 700 and other devices or communication networks using transceivers such as, but not limited to, transceivers.
- the first bus 707 can include a path for communicating information between various components of the controller 700.
- the first processor 701 executes code stored in the first memory 702 for performing an Ethernet interface addressing method in an MPLS-TP tunnel:
- the controller Obtaining, by the controller, the inbound interface information of the first network element to the second network element in the MPLS-TP tunnel path of the transmission subset based on the multi-protocol label switching, where the second network is in the MPLS-TP tunnel path
- the element is a next hop network element of the first network element
- the controller acquires a media access control MAC address of the inbound interface of the first network element to the second network element according to the inbound interface information of the first network element to the second network element;
- the controller obtains a MAC address of an inbound interface of a next hop network element of the first network element according to a MAC address of the inbound interface of the first network element to the second network element, where the first network is The MAC address of the inbound interface of the next hop element of the element is sent to the first network element.
- the inbound interface information of the first network element to the second network element includes an inbound interface identifier of the second network element.
- the inbound interface information of the first network element to the second network element includes a network element identifier of the second network element and an inbound interface identifier of the second network element.
- the controller obtains the media access control MAC address of the inbound interface of the first network element to the second network element according to the inbound interface information of the first network element to the second network element.
- Also includes:
- the controller receives and saves interface information of the second network element and a MAC address of the interface
- the interface information of the second network element includes an inbound interface identifier of the second network element and a network element identifier of the second network element, where a MAC address of the interface of the second network element includes the second network element MAC address of the inbound interface.
- the method further includes:
- the controller receives a MAC address modification request of the inbound interface of the second network element, where the MAC address modification request of the inbound interface carries the MAC address of the inbound interface modified by the second network element;
- the controller updates the MAC address of the inbound interface of the second network element according to the MAC address of the inbound interface modified by the second network element;
- the controller updates the MAC address of the inbound interface of the next hop network element of the first network element according to the MAC address of the inbound interface of the second network element.
- the controller obtains the MAC address of the inbound interface of the next hop element of the first network element in the MPLS-TP tunnel path to be established, and the next hop of the first network element
- the MAC address of the inbound interface of the element is sent to the first network element, so that the first network element directly receives the MAC address of the inbound interface of the next hop element of the next hop element of the first network element, and does not need to be the network element.
- the IP address of the inbound interface is configured to implement IP-free planning and configuration. This solves the problem of troubleshooting error correction when the IP address configuration error occurs. This greatly reduces the workload of network maintenance. Moreover, the ARP protocol does not need to be run on the NE. , thereby improving the processing speed of the network element.
- FIG. 8 is a schematic structural diagram of a network element according to another embodiment of the present invention, including: as shown in FIG. 8, the network element 800 includes a second processor 801, a second memory 802, a second transmitter 803, and a second Receiver 804, second input/output interface 805, second communication interface 806, and second bus 807.
- the second processor 801, the second memory 802, the second transmitter 803, the second receiver 804, the second input/output interface 805, and the second communication interface 806 implement communication connection with each other through the second bus 807.
- the second processor 801 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or at least one integrated circuit for performing correlation.
- the program is implemented to implement the technical solutions provided by the embodiments of the present invention.
- the second memory 802 can be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
- the second memory 802 can store an operating system and other applications.
- the program code for implementing the technical solution provided by the embodiment of the present invention is saved in the second memory 802 and executed by the second processor 801.
- the second input/output interface 805 is configured to receive input data and information, and output data such as an operation result.
- the second communication interface 806 uses a transceiver such as, but not limited to, a transceiver, Communication between the network element 800 and other devices or communication networks is implemented.
- the second bus 807 can include a path for communicating information between various components of the network element 800.
- the second processor 801 executes code stored in the second memory 802 for performing an Ethernet interface addressing method in an MPLS-TP tunnel:
- the network element acquires an MPLS packet based on a multi-protocol label exchange
- the network element encapsulates the MAC address of the inbound interface of the next hop network element of the network element into the MPLS packet.
- the network element further includes:
- the network element sends the interface information of the network element and the MAC address of the interface to the controller, so that the controller saves the interface information of the network element and the MAC address of the interface;
- the interface information of the network element includes an inbound interface identifier of the network element and a network element identifier of the network element, and a MAC address of the interface of the network element includes a MAC address of an inbound interface of the network element.
- the method further includes:
- the MAC address of the inbound interface of the meta-modified device updates the MAC address of the inbound interface of the network element.
- the controller obtains the MAC address of the inbound interface of the next hop element of the first network element in the MPLS-TP tunnel path to be established, and the next hop of the first network element
- the MAC address of the inbound interface of the element is sent to the first network element, so that the first network element directly receives the MAC address of the inbound interface of the next hop element of the next hop element of the first network element, and does not need to be the network element.
- the IP address of the inbound interface is configured to implement IP-free planning and configuration. This solves the problem of troubleshooting error correction when the IP address configuration error occurs. This greatly reduces the workload of network maintenance. Moreover, the ARP protocol does not need to be run on the NE. , thereby improving the processing speed of the network element.
- Ethernet interface addressing device in the MPLS-TP tunnel provided by the foregoing embodiment is addressed by the Ethernet interface in the MPLS-TP tunnel, only the division of each functional module is used as an example. In practical applications, The above function assignment can be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above description.
- the Ethernet interface addressing device in the MPLS-TP tunnel provided by the foregoing embodiment is the same as the Ethernet interface addressing method in the MPLS-TP tunnel, and the specific implementation process is described in the method embodiment, and details are not described herein again. .
- a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
- the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
本发明公开了一种MPLS-TP隧道中的以太接口寻址方法、装置控制器和网元,属于通信技术领域。方法包括:控制器获取待建立的MPLS-TP隧道路径中的第一网元到第二网元的入接口信息,在该MPLS-TP隧道路径中第二网元为第一网元的下一跳网元;控制器根据第一网元到第二网元的入接口信息,获取第一网元到第二网元的入接口的MAC地址;控制器根据第一网元到第二网元的入接口的MAC地址得到第一网元的下一跳网元的入接口的MAC地址,将第一网元的下一跳网元的入接口的MAC地址发送给第一网元。装置包括:第一获取模块,第二获取模块和寻址模块;解决了IP地址配置出现错误时查错纠错困难的问题,减少了网络维护的工作量,提高了网元的处理速度。
Description
本发明涉及通信技术领域,特别涉及一种MPLS-TP(Multi-Protocol Label Switching Transport Profile,基于多协议标签交换的传输子集)隧道中的以太接口寻址方法、装置、控制器和网元。
MPLS-TP是融合MPLS包交换和传统传送网特性的传输技术。MPLS-TP为数据包传输提供MPLS-TP隧道,MPLS-TP隧道是由两个以上的网元及不同网元之间的连接组成,数据包可以在这些网元之间传输。在使用MPLS-TP隧道来传输MPLS报文时,当该MPLS-TP隧道内的网元发送该MPLS报文,该网元获取在该MPLS-TP隧道中的下一跳网元的入接口的MAC(Media Access Control,媒体访问控制)地址,将该MAC地址封装到该MPLS报文中,并发送封装后的该MPLS报文给下一跳网元,同样下一跳网元按以上方法将该MPLS报文继续往下游发送。
现有技术提供了一种MPLS-TP隧道中的下一跳网元的以太接口寻址方法,可以为:该网元获取下一跳网元的入接口的IP(Internet Protocol,网络之间互连的协议)地址,根据下一跳网元的入接口的IP地址,通过自身包括的ARP(Address Resolution Protocol,地址解析)协议,获取下一跳网元的入接口的MAC地址。
在实现本发明的过程中,发明人发现现有技术至少存在以下问题:
在发送报文之前,需要为MPLS-TP网络中的所有网元的的入接口配置IP地址。由于MPLS-TP网络中网元数量往往很大,并且每个网元包括的入接口数量也很多,因此,为MPLS-TP网络中的所有网元的入接口配置IP地址的工作量很大且配置时容易出错;并且,在网元上运行ARP协议会占用网元大量的CPU(Central Processing Unit,中央处理器)使用率,从而影响网元的处理速度。
发明内容
为了解决现有技术的问题,本发明提供了一种MPLS-TP隧道中的以太接口寻址方法、装置、控制器和网元。技术方案如下:
第一方面,本发明实施例提供了一种MPLS-TP隧道中的以太接口寻址方法,所述方法包括:
控制器获取待建立的基于多协议标签交换的传输子集MPLS-TP隧道路径中的第一网元到第二网元的入接口信息,在所述MPLS-TP隧道路径中所述第二网元为所述第一网元的下一跳网元;
所述控制器根据所述第一网元到所述第二网元的入接口信息,获取所述第一网元到所述第二网元的入接口的媒体访问控制MAC地址;
所述控制器根据所述第一网元到所述第二网元的入接口的MAC地址得到所述第一网元的下一跳网元的入接口的MAC地址,将所述第一网元的下一跳网元的入接口的MAC地址发送给所述第一网元。
结合第一方面的实现方式,在第一方面的第一种可能的实现方式中,所述第一网元到所述第二网元的入接口信息包括所述第二网元的入接口标识。
结合第一方面或第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述第一网元到所述第二网元的入接口信息包括所述第二网元的网元标识和所述第二网元的入接口标识。
结合第一方面或第一方面的第一种至第二种任一可能的实现方式,在第一方面的第三种可能的实现方式中,所述控制器根据所述第一网元到所述第二网元的入接口信息,获取所述第一网元到所述第二网元的入接口的媒体访问控制MAC地址之前,还包括:
所述控制器接收并保存所述第二网元的接口信息和接口的MAC地址;
所述第二网元的接口信息包括所述第二网元的入接口标识和所述第二网元的网元标识,所述第二网元的接口的MAC地址包括所述第二网元的入接口的MAC地址。
结合第一方面或第一方面的第一种至第三种任一可能的实现方式,在第一方面的第四种可能的实现方式中,所述方法还包括:
所述控制器接收所述第二网元的入接口的MAC地址修改请求,所述入接口的MAC地址修改请求中携带所述第二网元修改后的入接口的MAC地址;
所述控制器根据所述第二网元修改后的入接口的MAC地址更新述第二网元的入接口的MAC地址;
所述控制器根据所述第二网元修改后的入接口的MAC地址更新所述第一网元的下一跳网元的入接口的MAC地址。
第二方面,本发明实施例提供了一种MPLS-TP隧道中的以太接口寻址方法,所述方法包括:
网元获取基于多协议标签交换MPLS报文;
所述网元接收所述网元的下一跳网元的入接口的媒体访问控制MAC地址;
所述网元将所述网元的下一跳网元的入接口的MAC地址封装到所述MPLS报文中。
结合第二方面的实现方式,在第二方面的第一种可能的实现方式中,所述网元获取MPLS报文之前,还包括:
所述网元发送网元的接口信息和接口的MAC地址给控制器,以便于所述控制器保存所述网元的接口信息和接口的MAC地址;
所述网元的接口信息包括所述网元的入接口标识和所述网元的网元标识,所述网元的接口的MAC地址包括所述网元的入接口的MAC地址。
结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述方法还包括:
所述网元发送入接口的MAC地址修改请求给控制器,所述入接口的MAC地址修改请求中携带所述网元修改后的入接口的MAC地址,以便于所述控制器根据所述网元修改后的入接口的MAC地址更新所述网元的入接口的MAC地址。
第三方面,本发明实施例提供了一种MPLS-TP隧道中的以太接口寻址装置,所述装置包括:
第一获取模块,用于获取待建立的基于多协议标签交换的传输子集MPLS-TP隧道路径中的第一网元到第二网元的入接口信息,在所述MPLS-TP隧道路径中所述第二网元为所述第一网元的下一跳网元;
第二获取模块,用于根据所述第一网元到所述第二网元的入接口信息,获取所述第一网元到所述第二网元的入接口的媒体访问控制MAC地址;
寻址模块,用于根据所述第一网元到所述第二网元的入接口的MAC地址
得到所述第一网元的下一跳网元的入接口的MAC地址,将所述第一网元的下一跳网元的入接口的MAC地址发送给所述第一网元。
结合第三方面的实现方式,在第三方面的第一种可能的实现方式中,所述第一网元到所述第二网元的入接口信息包括所述第二网元的入接口标识。
结合第三方面或第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述第一网元到所述第二网元的入接口信息包括所述第二网元的网元标识和所述第二网元的入接口标识。
结合第三方面或第三方面的第一种至第二种任一可能的实现方式,在第三方面的第三种可能的实现方式中,所述装置还包括:
存储模块,用于接收并保存所述第二网元的接口信息和接口的MAC地址;
所述第二网元的接口信息包括所述第二网元的入接口标识和所述第二网元的网元标识,所述第二网元的接口的MAC地址包括所述第二网元的入接口的MAC地址。
结合第三方面或第三方面的第一种至第三种任一可能的实现方式,在第三方面的第四种可能的实现方式中,所述装置还包括:
第一接收模块,用于接收所述第二网元的入接口的MAC地址修改请求,所述入接口的MAC地址修改请求中携带所述第二网元修改后的入接口的MAC地址;
第一更新模块,用于根据所述第二网元修改后的入接口的MAC地址更新述第二网元的入接口的MAC地址;
第二更新模块,用于根据所述第二网元修改后的入接口的MAC地址更新所述第一网元的下一跳网元的入接口的MAC地址。
第四方面,本发明实施例提供了一种MPLS-TP隧道中的以太接口寻址装置,所述装置包括:
第三获取模块,用于获取基于多协议标签交换MPLS报文;
第二接收模块,用于接收所述网元的下一跳网元的入接口的媒体访问控制MAC地址;
封装模块,用于将所述网元的下一跳网元的入接口的MAC地址封装到所述MPLS报文中。
结合第四方面的实现方式,在第四方面的第一种可能的实现方式中,所述
装置还包括:
第一发送模块,用于发送网元的接口信息和接口的MAC地址给控制器,以便于所述控制器保存所述网元的接口信息和接口的MAC地址;
所述网元的接口信息包括所述网元的入接口标识和所述网元的网元标识,所述网元的接口的MAC地址包括所述网元的入接口的MAC地址。
结合第四方面或第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,所述装置还包括:
第二发送模块,用于发送入接口的MAC地址修改请求给控制器,所述入接口的MAC地址修改请求中携带所述网元修改后的入接口的MAC地址,以便于所述控制器根据所述网元修改后的入接口的MAC地址更新所述网元的入接口的MAC地址。
第五方面,本发明实施例提供了一种控制器,所述控制器包括:第一处理器和第一发送器;
所述第一处理器,用于获取待建立的基于多协议标签交换的传输子集MPLS-TP隧道路径中的第一网元到第二网元的入接口信息,在所述MPLS-TP隧道路径中所述第二网元为所述第一网元的下一跳网元;
所述第一处理器,还用于根据所述第一网元到所述第二网元的入接口信息,获取所述第一网元到所述第二网元的入接口的媒体访问控制MAC地址;
所述第一处理器,还用于根据所述第一网元到所述第二网元的入接口的MAC地址得到所述第一网元的下一跳网元的入接口的MAC地址;
所述第一发送器,用于将所述第一网元的下一跳网元的入接口的MAC地址发送给所述第一网元。
结合第五方面的实现方式,在第五方面的第一种可能的实现方式中,所述第一网元到所述第二网元的入接口信息包括所述第二网元的入接口标识。
结合第五方面或第五方面的第一种可能的实现方式,在第五方面的第二种可能的实现方式中,所述第一网元到所述第二网元的入接口信息包括所述第二网元的网元标识和所述第二网元的入接口标识。
结合第五方面或第五方面的第一种至第二种任一可能的实现方式,在第五方面的第三种可能的实现方式中,所述第一处理器,还用于接收并保存所述第二网元的接口信息和接口的MAC地址;
所述第二网元的接口信息包括所述第二网元的入接口标识和所述第二网元的网元标识,所述第二网元的接口的MAC地址包括所述第二网元的入接口的MAC地址。
结合第五方面或第五方面的第一种至第三种任一可能的实现方式,在第五方面的第四种可能的实现方式中,所述控制器还包括:第一接收器;
所述第一接收器,用于接收所述第二网元的入接口的MAC地址修改请求,所述入接口的MAC地址修改请求中携带所述第二网元修改后的入接口的MAC地址;
所述第一处理器,还用于根据所述第二网元修改后的入接口的MAC地址更新述第二网元的入接口的MAC地址;
所述第一处理器,还用于根据所述第二网元修改后的入接口的MAC地址更新所述第一网元的下一跳网元的入接口的MAC地址。
第六方面,本发明实施例提供了一种网元,所述网元包括:第二处理器和第二接收器;
所述第二处理器,用于获取基于多协议标签交换MPLS报文;
所述第二接收器,用于接收所述网元的下一跳网元的入接口的媒体访问控制MAC地址;
所述第二处理器,还用于将所述网元的下一跳网元的入接口的MAC地址封装到所述MPLS报文中。
结合第六方面的实现方式,在第六方面的第一种可能的实现方式中,所述网元还包括:第二发送器;
所述第二发送器,用于发送网元的接口信息和接口的MAC地址给控制器,以便于所述控制器保存所述网元的接口信息和接口的MAC地址;
所述网元的接口信息包括所述网元的入接口标识和所述网元的网元标识,所述网元的接口的MAC地址包括所述网元的入接口的MAC地址。
结合第六方面或第六方面的第一种可能的实现方式,在第六方面的第二种可能的实现方式中,所述网元还包括:第二发送器;
所述第二发送器,还用于发送入接口的MAC地址修改请求给控制器,所述入接口的MAC地址修改请求中携带所述网元修改后的入接口的MAC地址,以便于所述控制器根据所述网元修改后的入接口的MAC地址更新所述网元的
入接口的MAC地址。
在本发明中,由控制器集中获取待建立的MPLS-TP隧道路径中的第一网元的下一跳网元的入接口的MAC地址,并将第一网元的下一跳网元的入接口的MAC地址发送给第一网元,从而第一网元直接接收第一网元的下一跳网元的下一跳网元的入接口的MAC地址,不需要为网元的入接口配置IP地址,实现了免IP规划和配置,解决了IP地址配置出现错误时查错纠错困难的问题,从而大大减少了网络维护的工作量;并且,网元上不需要运行ARP协议,从而提高了网元的处理速度。
图1-1是本发明实施例1提供的一种MPLS-TP隧道中的以太接口寻址方法流程图;
图1-2是本发明实施例1提供的另一种MPLS-TP隧道中的以太接口寻址方法流程图;
图2-1是本发明实施例2提供的一种MPLS-TP隧道中的以太接口寻址方法流程图;
图2-2是本发明实施例2提供的一种MPLS-TP隧道的示意图;
图3是本发明实施例3提供的一种MPLS-TP隧道中的以太接口寻址方法流程图;
图4是本发明实施例4提供的一种更新MPLS-TP隧道的交叉表的方法流程图;
图5是本发明实施例5提供的一种MPLS-TP隧道中的以太接口寻址装置结构示意图;
图6是本发明实施例6提供的一种MPLS-TP隧道中的以太接口寻址装置结构示意图;
图7是本发明实施例7提供的一种控制器的结构示意图;
图8是本发明实施例8提供的一种网元的结构示意图。
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。
实施例1
本发明实施例提供了一种MPLS-TP隧道中的以太接口寻址方法,该方法的执行主体为控制器,控制器可以对网络进行集中控制且部署在独立服务器上的***;控制器具体可以为计算机或者服务器等。参见图1-1,该方法包括:
步骤101a:控制器获取待建立的基于多协议标签交换的传输子集MPLS-TP隧道路径中的第一网元到第二网元的入接口信息,在该MPLS-TP隧道路径中第二网元为第一网元的下一跳网元;
步骤102a:控制器根据第一网元到第二网元的入接口信息,获取第一网元到第二网元的入接口的媒体访问控制MAC地址;
步骤103a:控制器根据第一网元到第二网元的入接口的MAC地址得到第一网元的下一跳网元的入接口的MAC地址,将第一网元的下一跳网元的入接口的MAC地址发送给第一网元。
本发明实施例提供了一种MPLS-TP隧道中的以太接口寻址方法,该方法的执行主体为网元,网元具体可以为路由器等。参见图1-2,该方法包括:
步骤101b:网元获取基于多协议标签交换MPLS报文;
步骤102b:网元接收该网元的下一跳网元的入接口的媒体访问控制MAC地址;
步骤103b:网元将该网元的下一跳网元的入接口的MAC地址封装到该MPLS报文中。
在本发明实施例中,由控制器集中获取待建立的MPLS-TP隧道路径中的第一网元的下一跳网元的入接口的MAC地址,并将第一网元的下一跳网元的入接口的MAC地址发送给第一网元,从而第一网元直接接收第一网元的下一跳网元的下一跳网元的入接口的MAC地址,不需要为网元的入接口配置IP地址,实现了免IP规划和配置,解决了IP地址配置出现错误时查错纠错困难的问题,从而大大减少了网络维护的工作量;并且,网元上不需要运行ARP协议,从而提高了网元的处理速度。
实施例2
本发明实施例提供了一种MPLS-TP隧道中的以太接口寻址方法,该方法的执行主体为控制器,控制器可以为对网络进行集中控制且部署在独立服务器
上的***;控制器具体可以为计算机或者服务器等。参见图2-1,其中,该方法包括:
步骤201:控制器接收建立隧道请求,该建立隧道请求携带源节点、目的节点以及隧道的参数;
当用户发送MPLS报文时,需要在MPLS-TP网络中建立传输该MPLS报文的MPLS-TP隧道路径,此时通过客户侧设备或者首节点发送建立隧道请求给控制器,该建立隧道请求携带源节点、目的节点以及隧道的参数,隧道的参数可以为隧道的带宽等;控制器接收建立隧道请求,执行步骤202。
步骤202:控制器根据该建立隧道请求,计算待建立的MPLS-TP隧道路径;
控制器根据源节点、目的节点和隧道的参数,计算从源节点到达目的节点的且满足该隧道的参数的一条MPLS-TP隧道路径。其中该MPLS-TP隧道路径至少包括经过的各个网元标识和入接口标识。可选地,该MPLS-TP隧道路径还可以包括出接口标识、入标签和出标签等。
例如,控制器生成的MPLS-TP隧道路径如图2-2所示。其中,在该MPLS-TP隧道路径中,网元1的网元标识为NE1,网元1的出接口标识为P1,出接口标签为201;网元2的网元标识为NE2,网元2的入接口标识为P2,入接口的MAC地址为MAC2,入接口标签为201,出接口标识为P3,出接口的MAC地址为MAC3,出接口标签为202;网元3的网元标识为NE3,网元3的入接口标识为P4,入接口的MAC地址为MAC4,入接口标签为202,出接口标识为P5,出接口的MAC地址为MAC5,出接口标签为203;网元4的网元标识为NE4,网元4的入接口标识为P6,入接口的MAC地址为MAC6,入接口标签为203。
步骤203:控制器获取该MPLS-TP隧道路径中的第一网元到第二网元的入接口信息;
其中,第一网元为该MPLS-TP隧道路径中的任一网元,在该MPLS-TP隧道路径中第二网元为第一网元的下一跳网元;第一网元到第二网元的入接口信息包括第二网元的入接口标识;或者,第一网元到第二网元的入接口信息包括第二网元的网元标识和第二网元的入接口标识。
步骤204:控制器根据第一网元到第二网元的入接口信息,获取第一网元到第二网元的入接口的MAC地址;
控制器根据第一网元到第二网元的入接口信息,从第二网元的入接口信息和接口的MAC地址的对应关系中获取第一网元到第二网元的入接口的MAC地址。
在本步骤之前,第二网元发送第二网元的接口信息和接口的MAC地址给控制器,控制器接收并保存第二网元的接口信息和接口的MAC地址,第二网元的接口的MAC地址包括第二网元的入接口的MAC地址。第二网元的接口信息包括第二网元的入接口标识,或者第二网元的接口信息包括第二网元的入接口标识和第二网元的网元标识。
如果第一网元到第二网元的入接口信息包括第二网元的入接口标识,则本步骤可以为:控制器根据第二网元的入接口标识,从预先存储的第二网元的入接口标识和第二网元的入接口的MAC地址的对应关系中获取第一网元到第二网元的入接口的MAC地址。
在本步骤之前,控制器需要存储第二网元的入接口标识和第二网元的入接口的MAC地址的对应关系,其中,接口标识包括入接口标识和出接口标识,但在网元未建立MPLS-TP隧道路径时,不区分网元的接口方向,因此此时将入接口和出接口统称接口,具体过程如下:
在网元和控制器上线时,或者,网元在接收到控制器发送的查询请求时,MPLS-TP网络中的每个网元向控制器发送本网元的接口标识和接口的MAC地址;控制器接收每个网元发送的本网元的接口标识和接口的MAC地址,保存每个网元的接口标识和接口的MAC地址。
其中,接口标识可以为唯一标识该接口的索引号,或者由该接口所在的物理板位号、子***和接口ID组成的三元组标识等。
如果第一网元到第二网元的入接口信息包括第二网元的入接口标识和第二网元的网元标识,则本步骤可以为:
控制器获取第二网元的网元标识,根据第二网元的网元标识和第一网元到第二网元的入接口标识,从第二网元的网元标识、第一网元到第二网元的入接口标识和第一网元到第二网元的入接口的MAC地址的对应关系中获取第一网元到第二网元的入接口的MAC地址。
在本步骤之前,控制器需要存储第二网元的网元标识、第一网元到第二网元的入接口标识和第一网元到第二网元的入接口的MAC地址的对应关系,其中,接口标识包括入接口标识和出接口标识,但在网元未建立MPLS-TP隧道
路径时,不区分网元的接口方向,因此此时将入接口和出接口统称接口,具体过程如下:
在网元和控制器上线时,或者,网元在接收到控制器发送的查询请求时,MPLS-TP网络中的每个网元向控制器发送本网元的网元标识、接口标识和接口的MAC地址;控制器接收每个网元发送的本网元的网元标识、接口标识和接口的MAC地址,保存每个网元的网元标识、接口标识和接口的MAC地址。
其中,网元标识可以为网元的IP地址或者网元的管理ID(IDentity,身份标识号码)。
其中,控制器跟网元之间进行通信时,如控制器向网元发送查询请求以及网元向控制器发送网元标识、接口标识和接口的MAC地址,可以采用PCEP(Path Computation Element Communication Protocol,路径计算单元交互协议)以及Openflow(开放流表协议)等协议来实现,在本发明实施例中对传输协议不作具体限定。
例如,控制器存储的网元标识、接口标识和接口的MAC地址的对应关系如下表1所示:
表1
网元标识 | 接口标识 | 接口的MAC地址 |
NE1 | P1 | MAC1 |
NE2 | P2 | MAC2 |
NE2 | P3 | MAC3 |
NE3 | P4 | MAC4 |
NE3 | P5 | MAC5 |
NE4 | P6 | MAC6 |
…… | …… | …… |
其中,MPLS-TP隧道路径中包括网元标识、入接口标识和出接口标识,控制器计算得到该MPLS-TP隧道路径,则可以获知该MPLS-TP隧道路径包括的网元标识以及网元的入接口标识和出接口标识;例如,控制器获知该MPLS-TP隧道路径包括的网元标识分别为NE1、NE2、NE3和NE4;入接口标识分别为P2、P4和P6。控制器从表1中获取网元1的下一跳网元的网元标识为NE2,网元1到网元2的入接口标识为P2,根据网元1的下一跳网元的
网元标识NE2和网元1到网元2的入接口标识P2,从表1中获取网元1的下一跳网元的入接口的MAC地址为MAC2;同样,网元2的下一跳网元的网元标识为NE3,网元2到网元3的入接口标识为P4,根据网元2的下一跳网元的网元标识NE3和网元2到网元3的入接口标识P4,从表1中获取网元2的下一跳网元的入接口的MAC地址为MAC4,网元3的下一跳网元的网元标识为NE4,网元3到网元4的入接口标识为P6,根据网元3的下一跳网元的网元标识NE4和网元3到网元4的入接口标识P6,从表1中获取网元3的下一跳网元的入接口的MAC地址为MAC6。
其中,在本发明实施例中的接口为网络侧接口,因此,网元向控制器发送本网元的网元标识、接口标识和接口的MAC地址之前,先确定该接口是否为网络侧接口,如果是,则发送网元标识、接口标识和接口的MAC地址给控制器;如果不是,则结束。
其中,网元确定该接口是否为网络侧接口的步骤可以为:
确定该接口是否使能MPLS-TP或者是否在线路单板上;如果该接口使能MPLS-TP或者在线路单板上,则确定该接口为网络侧接口;如果该接口不使能MPLS-TP且不在线路单板上,则确定该接口不为网络侧接口。
其中,使能MPLS-TP是指具有转发MPLS报文的功能。
步骤205:控制器根据第一网元到第二网元的入接口的MAC地址得到第一网元的下一跳网元的入接口的MAC地址;
控制器将第一网元到第二网元的入接口的MAC地址作为第一网元的下一跳网元的入接口的MAC地址。
可选地,控制器可以将第一网元的下一跳网元的入接口的MAC地址写入该MPLS-TP隧道的交叉表中。
例如,将NE1的下一跳网元的入接口的MAC地址MAC2、NE2的下一跳网元的入接口的MAC地址MAC4以及NE3的下一跳网元的入接口MAC的地址MAC6和NE4的下一跳网元的入接口的MAC地址无效写入到该MPLS-TP隧道的交叉表中,该MPLS-TP隧道的交叉表中还可以包括本网元的入接口标识、入标签、本网元的出接口标识、出标签、下一跳网元的网元标识和/或下一跳网元的入接口标识等,如下表2所示。
表2
网元标 | 入接口标 | 入标 | 出接口标 | 出标 | 下一跳网元的入接口的MAC |
识 | 识 | 签 | 识 | 签 | 地址 |
NE1 | \ | \ | P1 | 201 | MAC2 |
NE2 | P2 | 201 | P3 | 202 | MAC4 |
NE3 | P4 | 202 | P5 | 203 | MAC6 |
NE4 | P6 | 203 | \ | \ | \…… |
步骤206:控制器将第一网元的下一跳网元的入接口的MAC地址发送给第一网元。
在本步骤中控制器也可以获取该第一网元的交叉表,将第一网元对应的交叉表发送给第一网元。
对于该MPLS-TP隧道路径包括的任一网元,控制器根据该网元的网元标识,从该MPLS-TP隧道的交叉表中获取该网元的入接口标识、入标签、出接口标识、出标签、下一跳网元的入接口的MAC地址等,将获取的信息作为该网元的交叉表,将该网元的交叉表发送给该网元。
例如,从表2中获取包含网元1的网元标识NE1的交叉表如下表3所示,将表3的信息发送给网元1;同样,从表2中获取包含网元2的网元标识NE2的交叉表如下表4所示,将表4的信息发送给网元2,从表2中获取包含网元3的网元标识NE3的交叉表如下表5所示,将表5的信息发送给网元3;从表2中获取包含网元4的网元标识NE4的交叉表如下表6所述,将表6的信息发送给网元4。
表3
表4
表5
表6
其中,控制器将该网元的交叉表发送给网元时可以采用PCEP(Path Computation Element Communication Protocol,路径计算单元交互协议)以及Openflow(开放流表协议)等协议来实现,在本发明实施例中对控制器下发网元的交叉表的协议不作具体限定。
进一步地,控制器也可以直接将该MPLS-TP隧道的交叉表发送给各个网元。
在本发明实施例中,由控制器集中获取待建立的MPLS-TP隧道路径中的第一网元的下一跳网元的入接口的MAC地址,并将第一网元的下一跳网元的入接口的MAC地址发送给第一网元,从而第一网元直接接收第一网元的下一跳网元的下一跳网元的入接口的MAC地址,不需要为网元的入接口配置IP地址,实现了免IP规划和配置,解决了IP地址配置出现错误时查错纠错困难的问题,从而大大减少了网络维护的工作量;并且,网元上不需要运行ARP协议,从而提高了网元的处理速度。
实施例3
本发明实施例提供了MPLS-TP隧道路径中的以太接口寻址方法,该方法的执行主体为网元,网元具体可以为路由器等;参见图3,其中,该方法包括:
步骤301:网元获取MPLS报文以及接收网元的下一跳网元的入接口的MAC地址;
其中,网元获取MPLS报文的步骤可以为:
当该网元为该MPLS-TP隧道路径中的首节点时,该网元接收源节点发送
的报文,将传输该报文的MPLS-TP隧道的隧道标签写入所述报文中得到该MPLS报文;当该网元不是该MPLS-TP隧道路径中的首节点时,该网元接收在MPLS-TP隧道路径中该网元的上一跳网元发送的MPLS报文。
其中,网元接收网元的下一跳网元的入接口的MAC地址的步骤可以为:
网元接收控制器发送的该网元的下一跳网元的入接口的MAC地址;或者,接收控制器发送的该网元的交叉表,该交叉表中至少包括该网元的下一跳网元的入接口的MAC地址,从该网元的交叉表中获取该网元的下一跳网元的入接口的MAC地址。
网元为该MPLS-TP隧道路径中的任一网元。
步骤302:该网元将该网元的下一跳网元的入接口的MAC地址封装到该MPLS报文中;
步骤303:该网元发送该封装后的MPLS报文给该网元的下一跳网元。
该网元的下一跳网元接收该封装后的MPLS报文,确定该MPLS报文携带的入接口的MAC地址是否是本网元的入接口的MAC地址,如果是,重复步骤301、302、303,并将该MPLS报文发送给该下一跳网元的下一跳网元;如果否,将该MPLS报文丢弃。
在本发明实施例中,由控制器集中获取待建立的MPLS-TP隧道路径中的第一网元的下一跳网元的入接口的MAC地址,并将第一网元的下一跳网元的入接口的MAC地址发送给第一网元,从而第一网元直接接收第一网元的下一跳网元的下一跳网元的入接口的MAC地址,不需要为网元的入接口配置IP地址,实现了免IP规划和配置,解决了IP地址配置出现错误时查错纠错困难的问题,从而大大减少了网络维护的工作量;并且,网元上不需要运行ARP协议,从而提高了网元的处理速度。
实施例4
当MPLS-TP隧道路径中包括的网元的接口的MAC地址发生变化时,为了便于描述,以第二网元的接口的MAC地址发生变化为例进行说明。控制器可以通过以下步骤更新该MPLS-TP隧道的交叉表,该方法的执行主体为控制器,参见图4,其中,该方法包括:
步骤401:控制器接收第二网元发送的入接口的MAC地址修改请求,该入接口的MAC地址修改请求中携带第二网元的入接口标识和修改后的入接口
的MAC地址;
当第二网元的入接口的MAC地址发生变化时,该第二网元发送入接口的MAC地址修改请求给控制器,该入接口的MAC地址修改请求中至少携带第二网元的入接口标识和修改后的入接口的MAC地址,还可以携带第二网元的网元标识。控制器接收第二网元发送的入接口的MAC地址修改请求,从而更新第二网元的入接口的MAC地址,执行步骤402。
进一步地,控制器接收第二网元发送的入接口的MAC地址修改请求时,从该入接口的MAC地址修改请求中获取第二网元的入接口标识;确定该入接口是否为网络侧接口;如果该入接口是网络侧接口,则执行步骤402;如果该入接口不是网络侧接口,则结束。
其中,控制器确定该入接口是否为网络侧接口的步骤可以为:
控制器确定该入接口是否使能MPLS或者是否在线路单板上;如果该入接口使能MPLS或者在线路单板上,则确定该入接口为网络侧接口;如果该入接口不使能MPLS且不在线路单板上,则确定该入接口不为网络侧接口。
其中,使能MPLS-TP是指具有转发MPLS报文的功能。
步骤402:控制器根据第二网元修改后的入接口的MAC地址更新第二网元的入接口的MAC地址;
控制器将本地存储的第二网元的入接口的MAC地址修改为第二网元修改后的入接口的MAC地址。并且控制器判断第二网元修改后的入接口的MAC地址为第一网元的下一跳网元的入接口的MAC地址;
可选的,控制器判断第二网元修改后的入接口的MAC地址为第一网元的下一跳网元的入接口的MAC地址的步骤可以为:
控制器遍历MPLS-TP网络包括的所有MPLS-TP隧道路径,检查MPLS-TP隧道路径中第一网元的下一跳网元的入接口的MAC地址是否为第二网元的入接口的MAC地址,如果是,则确定第二网元修改后的入接口的MAC地址为第一网元的下一跳网元的入接口的MAC地址。
步骤403:控制器根据第二网元修改后的入接口的MAC地址更新第二网元的入接口的MAC地址;
控制器将本地存储的第二网元的入接口的MAC地址修改为第二网元修改后的入接口的MAC地址。
步骤404:控制器根据第二网元修改后的入接口的MAC地址更新第一网
元的下一跳网元的入接口的MAC地址;
控制器将第一网元的下一跳网元的入接口的MAC地址修改为第二网元修改后的入接口的MAC地址。
可选地,控制器在第一网元的交叉表中,将第一网元的下一跳网元的入接口的MAC地址修改为第二网元修改后的入接口的MAC地址。
步骤405:控制器发送修改后的第一网元的下一跳网元的入接口的MAC地址给第一网元。
第一网元接收控制器发送的修改后的第一网元的下一跳网元的入接口的MAC地址,在发送MPLS报文时,将修改后的第一网元的下一跳网元的入接口的MAC地址封装到该MPLS报文中,将封装后的MPLS报文发送给第一网元的下一跳网元。
在本步骤中,控制器也可以发送修改后的第一网元的交叉表给第一网元。第一网元接收控制器发送的修改后的的交叉表,在发送MPLS报文时,第一网元从修改后的交叉表中获取修改后的第一网元的下一跳网元的入接口的MAC地址,将修改后的第一网元的下一跳网元的入接口的MAC地址封装到该MPLS报文中,将封装后的MPLS报文发送给第一网元的下一跳网元。
其中,需要说明的是,对于MPLS-TP网络中的每个MPLS-TP隧道都按以上方法更新该MPLS-TP隧道的交叉表。
在本发明实施例中,由控制器集中获取待建立的MPLS-TP隧道路径中的第一网元的下一跳网元的入接口的MAC地址,并将第一网元的下一跳网元的入接口的MAC地址发送给第一网元,从而第一网元直接接收第一网元的下一跳网元的下一跳网元的入接口的MAC地址,不需要为网元的入接口配置IP地址,实现了免IP规划和配置,解决了IP地址配置出现错误时查错纠错困难的问题,从而大大减少了网络维护的工作量;并且,网元上不需要运行ARP协议,从而提高了网元的处理速度。
实施例5
本发明实施例提供了一种MPLS-TP隧道中的以太接口寻址装置,该装置可以为控制器;参见图5,其中,该装置包括:
第一获取模块501,用于获取待建立的基于多协议标签交换的传输子集MPLS-TP隧道路径中的第一网元到第二网元的入接口信息,在MPLS-TP隧道
路径中第二网元为第一网元的下一跳网元;
第二获取模块502,用于根据第一网元到第二网元的入接口信息,获取第一网元到第二网元的入接口的媒体访问控制MAC地址;
寻址模块503,用于根据第一网元到第二网元的入接口的MAC地址得到第一网元的下一跳网元的入接口的MAC地址,将第一网元的下一跳网元的入接口的MAC地址发送给第一网元。
进一步地,第一网元到第二网元的入接口信息包括第二网元的入接口标识。
进一步地,第一网元到第二网元的入接口信息包括第二网元的网元标识和第二网元的入接口标识。
进一步地,装置还包括:
存储模块,用于接收并保存第二网元的接口信息和接口的MAC地址;
第二网元的接口信息包括第二网元的入接口标识和第二网元的网元标识,第二网元的接口的MAC地址包括第二网元的入接口的MAC地址。
进一步地,装置还包括:
第一接收模块,用于接收第二网元的入接口的MAC地址修改请求,入接口的MAC地址修改请求中携带第二网元修改后的入接口的MAC地址;
第一更新模块,用于根据第二网元修改后的入接口的MAC地址更新述第二网元的入接口的MAC地址;
第二更新模块,用于根据第二网元修改后的入接口的MAC地址更新第一网元的下一跳网元的入接口的MAC地址。
在本发明实施例中,由控制器集中获取待建立的MPLS-TP隧道路径中的第一网元的下一跳网元的入接口的MAC地址,并将第一网元的下一跳网元的入接口的MAC地址发送给第一网元,从而第一网元直接接收第一网元的下一跳网元的下一跳网元的入接口的MAC地址,不需要为网元的入接口配置IP地址,实现了免IP规划和配置,解决了IP地址配置出现错误时查错纠错困难的问题,从而大大减少了网络维护的工作量;并且,网元上不需要运行ARP协议,从而提高了网元的处理速度。
实施例6
本发明实施例提供了一种MPLS-TP隧道中的以太接口寻址装置,该装置
可以为网元,参见图6,其中,该装置包括:
第三获取模块601,用于获取基于多协议标签交换MPLS报文;
第二接收模块602,用于接收网元的下一跳网元的入接口的媒体访问控制MAC地址;
封装模块603,用于将网元的下一跳网元的入接口的MAC地址封装到MPLS报文中。
进一步地,装置还包括:
第一发送模块,用于发送网元的接口信息和接口的MAC地址给控制器,以便于控制器保存网元的接口信息和接口的MAC地址;
网元的接口信息包括网元的入接口标识和网元的网元标识,网元的接口的MAC地址包括网元的入接口的MAC地址。
进一步地,装置还包括:
第二发送模块,用于发送入接口的MAC地址修改请求给控制器,入接口的MAC地址修改请求中携带网元修改后的入接口的MAC地址,以便于控制器根据网元修改后的入接口的MAC地址更新网元的入接口的MAC地址。
在本发明实施例中,由控制器集中获取待建立的MPLS-TP隧道路径中的第一网元的下一跳网元的入接口的MAC地址,并将第一网元的下一跳网元的入接口的MAC地址发送给第一网元,从而第一网元直接接收第一网元的下一跳网元的下一跳网元的入接口的MAC地址,不需要为网元的入接口配置IP地址,实现了免IP规划和配置,解决了IP地址配置出现错误时查错纠错困难的问题,从而大大减少了网络维护的工作量;并且,网元上不需要运行ARP协议,从而提高了网元的处理速度。
实施例7
图7为本发明另一实施例提供的一种控制器的结构示意图,包括:如图7所示,控制器700包括第一处理器701、第一存储器702、第一发送器703、第一接收器704、第一输入/输出接口705、第一通信接口706和第一总线707。其中,第一处理器701、第一存储器702、第一发送器703、第一接收器704、第一输入/输出接口705和第一通信接口706通过第一总线707实现彼此之间的通信连接;第一处理器701可以采用通用的中央处理器(Central Processing Unit,简称CPU),微处理器,应用专用集成电路(Application Specific Integrated
Circuit,简称ASIC),或者至少一个集成电路,用于执行相关程序,以实现本发明实施例所提供的技术方案。第一存储器702可以是只读存储器(Read Only Memory,简称ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,简称RAM)。第一存储器702可以存储操作***和其他应用程序。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明实施例提供的技术方案的程序代码保存在第一存储器702中,并由第一处理器701来执行。第一输入/输出接口705用于接收输入的数据和信息,输出操作结果等数据。第一通信接口706使用例如但不限于收发器一类的收发装置,来实现控制器700与其他设备或通信网络之间的通信。第一总线707可包括一通路,在控制器700各个部件之间传送信息。
具体实施过程中,第一处理器701执行保存于第一存储器702的代码,用于执行一种MPLS-TP隧道中的以太接口寻址方法:
控制器获取待建立的基于多协议标签交换的传输子集MPLS-TP隧道路径中的第一网元到第二网元的入接口信息,在所述MPLS-TP隧道路径中所述第二网元为所述第一网元的下一跳网元;
所述控制器根据所述第一网元到所述第二网元的入接口信息,获取所述第一网元到所述第二网元的入接口的媒体访问控制MAC地址;
所述控制器根据所述第一网元到所述第二网元的入接口的MAC地址得到所述第一网元的下一跳网元的入接口的MAC地址,将所述第一网元的下一跳网元的入接口的MAC地址发送给所述第一网元。
进一步地,所述第一网元到所述第二网元的入接口信息包括所述第二网元的入接口标识。
进一步地,所述第一网元到所述第二网元的入接口信息包括所述第二网元的网元标识和所述第二网元的入接口标识。
进一步地,所述控制器根据所述第一网元到所述第二网元的入接口信息,获取所述第一网元到所述第二网元的入接口的媒体访问控制MAC地址之前,还包括:
所述控制器接收并保存所述第二网元的接口信息和接口的MAC地址;
所述第二网元的接口信息包括所述第二网元的入接口标识和所述第二网元的网元标识,所述第二网元的接口的MAC地址包括所述第二网元的入接口的MAC地址。
进一步地,所述方法还包括:
所述控制器接收所述第二网元的入接口的MAC地址修改请求,所述入接口的MAC地址修改请求中携带所述第二网元修改后的入接口的MAC地址;
所述控制器根据所述第二网元修改后的入接口的MAC地址更新述第二网元的入接口的MAC地址;
所述控制器根据所述第二网元修改后的入接口的MAC地址更新所述第一网元的下一跳网元的入接口的MAC地址。
在本发明实施例中,由控制器集中获取待建立的MPLS-TP隧道路径中的第一网元的下一跳网元的入接口的MAC地址,并将第一网元的下一跳网元的入接口的MAC地址发送给第一网元,从而第一网元直接接收第一网元的下一跳网元的下一跳网元的入接口的MAC地址,不需要为网元的入接口配置IP地址,实现了免IP规划和配置,解决了IP地址配置出现错误时查错纠错困难的问题,从而大大减少了网络维护的工作量;并且,网元上不需要运行ARP协议,从而提高了网元的处理速度。
实施例8
图8为本发明另一实施例提供的一种网元的结构示意图,包括:如图8所示,网元800包括第二处理器801、第二存储器802、第二发送器803、第二接收器804、第二输入/输出接口805、第二通信接口806和第二总线807。其中,第二处理器801、第二存储器802、第二发送器803、第二接收器804、第二输入/输出接口805和第二通信接口806通过第二总线807实现彼此之间的通信连接;第二处理器801可以采用通用的中央处理器(Central Processing Unit,简称CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,简称ASIC),或者至少一个集成电路,用于执行相关程序,以实现本发明实施例所提供的技术方案。第二存储器802可以是只读存储器(Read Only Memory,简称ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,简称RAM)。第二存储器802可以存储操作***和其他应用程序。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明实施例提供的技术方案的程序代码保存在第二存储器802中,并由第二处理器801来执行。第二输入/输出接口805用于接收输入的数据和信息,输出操作结果等数据。第二通信接口806使用例如但不限于收发器一类的收发装置,
来实现网元800与其他设备或通信网络之间的通信。第二总线807可包括一通路,在网元800各个部件之间传送信息。
具体实施过程中,第二处理器801执行保存于第二存储器802的代码,用于执行一种MPLS-TP隧道中的以太接口寻址方法:
网元获取基于多协议标签交换MPLS报文;
所述网元接收所述网元的下一跳网元的入接口的媒体访问控制MAC地址;
所述网元将所述网元的下一跳网元的入接口的MAC地址封装到所述MPLS报文中。
进一步地,所述网元获取MPLS报文之前,还包括:
所述网元发送网元的接口信息和接口的MAC地址给控制器,以便于所述控制器保存所述网元的接口信息和接口的MAC地址;
所述网元的接口信息包括所述网元的入接口标识和所述网元的网元标识,所述网元的接口的MAC地址包括所述网元的入接口的MAC地址。
进一步地,所述方法还包括:
所述网元发送入接口的MAC地址修改请求给控制器,所述入接口的MAC地址修改请求中携带所述网元修改后的入接口的MAC地址,以便于所述控制器根据所述网元修改后的入接口的MAC地址更新所述网元的入接口的MAC地址。
在本发明实施例中,由控制器集中获取待建立的MPLS-TP隧道路径中的第一网元的下一跳网元的入接口的MAC地址,并将第一网元的下一跳网元的入接口的MAC地址发送给第一网元,从而第一网元直接接收第一网元的下一跳网元的下一跳网元的入接口的MAC地址,不需要为网元的入接口配置IP地址,实现了免IP规划和配置,解决了IP地址配置出现错误时查错纠错困难的问题,从而大大减少了网络维护的工作量;并且,网元上不需要运行ARP协议,从而提高了网元的处理速度。
需要说明的是:上述实施例提供的MPLS-TP隧道中的以太接口寻址装置在MPLS-TP隧道中的以太接口寻址时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分
功能。另外,上述实施例提供的MPLS-TP隧道中的以太接口寻址装置与MPLS-TP隧道中的以太接口寻址方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
Claims (24)
- 一种MPLS-TP隧道中的以太接口寻址方法,其特征在于,所述方法包括:控制器获取待建立的基于多协议标签交换的传输子集MPLS-TP隧道路径中的第一网元到第二网元的入接口信息,在所述MPLS-TP隧道路径中所述第二网元为所述第一网元的下一跳网元;所述控制器根据所述第一网元到所述第二网元的入接口信息,获取所述第一网元到所述第二网元的入接口的媒体访问控制MAC地址;所述控制器根据所述第一网元到所述第二网元的入接口的MAC地址得到所述第一网元的下一跳网元的入接口的MAC地址,将所述第一网元的下一跳网元的入接口的MAC地址发送给所述第一网元。
- 如权利要求1所述的方法,其特征在于,所述第一网元到所述第二网元的入接口信息包括所述第二网元的入接口标识。
- 如权利要求1所述的方法,其特征在于,所述第一网元到所述第二网元的入接口信息包括所述第二网元的网元标识和所述第二网元的入接口标识。
- 如权利要求1或3所述的方法,其特征在于,所述控制器根据所述第一网元到所述第二网元的入接口信息,获取所述第一网元到所述第二网元的入接口的媒体访问控制MAC地址之前,还包括:所述控制器接收并保存所述第二网元的接口信息和接口的MAC地址;所述第二网元的接口信息包括所述第二网元的入接口标识和所述第二网元的网元标识,所述第二网元的接口的MAC地址包括所述第二网元的入接口的MAC地址。
- 如权利要求1所述的方法,其特征在于,所述方法还包括:所述控制器接收所述第二网元的入接口的MAC地址修改请求,所述入接口的MAC地址修改请求中携带所述第二网元修改后的入接口的MAC地址;所述控制器根据所述第二网元修改后的入接口的MAC地址更新述第二网 元的入接口的MAC地址;所述控制器根据所述第二网元修改后的入接口的MAC地址更新所述第一网元的下一跳网元的入接口的MAC地址。
- 一种MPLS-TP隧道中的以太接口寻址方法,其特征在于,所述方法包括:网元获取基于多协议标签交换MPLS报文;所述网元接收所述网元的下一跳网元的入接口的媒体访问控制MAC地址;所述网元将所述网元的下一跳网元的入接口的MAC地址封装到所述MPLS报文中。
- 如权利要求6所述的方法,其特征在于,所述网元获取MPLS报文之前,还包括:所述网元发送网元的接口信息和接口的MAC地址给控制器,以便于所述控制器保存所述网元的接口信息和接口的MAC地址;所述网元的接口信息包括所述网元的入接口标识和所述网元的网元标识,所述网元的接口的MAC地址包括所述网元的入接口的MAC地址。
- 如权利要求6所述的方法,其特征在于,所述方法还包括:所述网元发送入接口的MAC地址修改请求给控制器,所述入接口的MAC地址修改请求中携带所述网元修改后的入接口的MAC地址,以便于所述控制器根据所述网元修改后的入接口的MAC地址更新所述网元的入接口的MAC地址。
- 一种MPLS-TP隧道中的以太接口寻址装置,其特征在于,所述装置包括:第一获取模块,用于获取待建立的基于多协议标签交换的传输子集MPLS-TP隧道路径中的第一网元到第二网元的入接口信息,在所述MPLS-TP隧道路径中所述第二网元为所述第一网元的下一跳网元;第二获取模块,用于根据所述第一网元到所述第二网元的入接口信息,获取所述第一网元到所述第二网元的入接口的媒体访问控制MAC地址;寻址模块,用于根据所述第一网元到所述第二网元的入接口的MAC地址得到所述第一网元的下一跳网元的入接口的MAC地址,将所述第一网元的下一跳网元的入接口的MAC地址发送给所述第一网元。
- 如权利要求9所述的装置,其特征在于,所述第一网元到所述第二网元的入接口信息包括所述第二网元的入接口标识。
- 如权利要求9所述的装置,其特征在于,所述第一网元到所述第二网元的入接口信息包括所述第二网元的网元标识和所述第二网元的入接口标识。
- 如权利要求9或11所述的装置,其特征在于,所述装置还包括:存储模块,用于接收并保存所述第二网元的接口信息和接口的MAC地址;所述第二网元的接口信息包括所述第二网元的入接口标识和所述第二网元的网元标识,所述第二网元的接口的MAC地址包括所述第二网元的入接口的MAC地址。
- 如权利要求9所述的装置,其特征在于,所述装置还包括:第一接收模块,用于接收所述第二网元的入接口的MAC地址修改请求,所述入接口的MAC地址修改请求中携带所述第二网元修改后的入接口的MAC地址;第一更新模块,用于根据所述第二网元修改后的入接口的MAC地址更新述第二网元的入接口的MAC地址;第二更新模块,用于根据所述第二网元修改后的入接口的MAC地址更新所述第一网元的下一跳网元的入接口的MAC地址。
- 一种MPLS-TP隧道中的以太接口寻址装置,其特征在于,所述装置包括:第三获取模块,用于获取基于多协议标签交换MPLS报文;第二接收模块,用于接收所述网元的下一跳网元的入接口的媒体访问控制MAC地址;封装模块,用于将所述网元的下一跳网元的入接口的MAC地址封装到所述 MPLS报文中。
- 如权利要求14所述的装置,其特征在于,所述装置还包括:第一发送模块,用于发送网元的接口信息和接口的MAC地址给控制器,以便于所述控制器保存所述网元的接口信息和接口的MAC地址;所述网元的接口信息包括所述网元的入接口标识和所述网元的网元标识,所述网元的接口的MAC地址包括所述网元的入接口的MAC地址。
- 如权利要求14所述的装置,其特征在于,所述装置还包括:第二发送模块,用于发送入接口的MAC地址修改请求给控制器,所述入接口的MAC地址修改请求中携带所述网元修改后的入接口的MAC地址,以便于所述控制器根据所述网元修改后的入接口的MAC地址更新所述网元的入接口的MAC地址。
- 一种控制器,其特征在于,所述控制器包括:第一处理器和第一发送器;所述第一处理器,用于获取待建立的基于多协议标签交换的传输子集MPLS-TP隧道路径中的第一网元到第二网元的入接口信息,在所述MPLS-TP隧道路径中所述第二网元为所述第一网元的下一跳网元;所述第一处理器,还用于根据所述第一网元到所述第二网元的入接口信息,获取所述第一网元到所述第二网元的入接口的媒体访问控制MAC地址;所述第一处理器,还用于根据所述第一网元到所述第二网元的入接口的MAC地址得到所述第一网元的下一跳网元的入接口的MAC地址;所述第一发送器,用于将所述第一网元的下一跳网元的入接口的MAC地址发送给所述第一网元。
- 如权利要求17所述的控制器,其特征在于,所述第一网元到所述第二网元的入接口信息包括所述第二网元的入接口标识。
- 如权利要求17所述的控制器,其特征在于,所述第一网元到所述第二网元的入接口信息包括所述第二网元的网元标识和所述第二网元的入接口标 识。
- 如权利要求17或19所述的控制器,其特征在于,所述第一处理器,还用于接收并保存所述第二网元的接口信息和接口的MAC地址;所述第二网元的接口信息包括所述第二网元的入接口标识和所述第二网元的网元标识,所述第二网元的接口的MAC地址包括所述第二网元的入接口的MAC地址。
- 如权利要求17所述的控制器,其特征在于,所述控制器还包括:第一接收器;所述第一接收器,用于接收所述第二网元的入接口的MAC地址修改请求,所述入接口的MAC地址修改请求中携带所述第二网元修改后的入接口的MAC地址;所述第一处理器,还用于根据所述第二网元修改后的入接口的MAC地址更新述第二网元的入接口的MAC地址;所述第一处理器,还用于根据所述第二网元修改后的入接口的MAC地址更新所述第一网元的下一跳网元的入接口的MAC地址。
- 一种网元,其特征在于,所述网元包括:第二处理器和第二接收器;所述第二处理器,用于获取基于多协议标签交换MPLS报文;所述第二接收器,用于接收所述网元的下一跳网元的入接口的媒体访问控制MAC地址;所述第二处理器,还用于将所述网元的下一跳网元的入接口的MAC地址封装到所述MPLS报文中。
- 如权利要求22所述的网元,其特征在于,所述网元还包括:第二发送器;所述第二发送器,用于发送网元的接口信息和接口的MAC地址给控制器,以便于所述控制器保存所述网元的接口信息和接口的MAC地址;所述网元的接口信息包括所述网元的入接口标识和所述网元的网元标识, 所述网元的接口的MAC地址包括所述网元的入接口的MAC地址。
- 如权利要求22所述的网元,其特征在于,所述网元还包括:第二发送器;所述第二发送器,还用于发送入接口的MAC地址修改请求给控制器,所述入接口的MAC地址修改请求中携带所述网元修改后的入接口的MAC地址,以便于所述控制器根据所述网元修改后的入接口的MAC地址更新所述网元的入接口的MAC地址。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/078398 WO2016176842A1 (zh) | 2015-05-06 | 2015-05-06 | 一种mpls-tp隧道中的以太接口寻址方法、装置、控制器和网元 |
CN201580016456.XA CN106464591B (zh) | 2015-05-06 | 2015-05-06 | 一种mpls-tp隧道中的以太接口寻址方法、装置、控制器和网元 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/078398 WO2016176842A1 (zh) | 2015-05-06 | 2015-05-06 | 一种mpls-tp隧道中的以太接口寻址方法、装置、控制器和网元 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016176842A1 true WO2016176842A1 (zh) | 2016-11-10 |
Family
ID=57217362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/078398 WO2016176842A1 (zh) | 2015-05-06 | 2015-05-06 | 一种mpls-tp隧道中的以太接口寻址方法、装置、控制器和网元 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106464591B (zh) |
WO (1) | WO2016176842A1 (zh) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102201933A (zh) * | 2011-04-29 | 2011-09-28 | 中兴通讯股份有限公司 | 一种报文发送方法及装置 |
CN102611603A (zh) * | 2012-03-16 | 2012-07-25 | 中兴通讯股份有限公司 | 静态mpls隧道转发表的建立、数据的传输方法及装置 |
JP2012156637A (ja) * | 2011-01-24 | 2012-08-16 | Nec Corp | Mpls−tp装置のmac探索システム及びmac探索方法 |
CN102907051A (zh) * | 2012-07-16 | 2013-01-30 | 华为技术有限公司 | 标记交换路径建立方法、数据转发方法及设备 |
-
2015
- 2015-05-06 CN CN201580016456.XA patent/CN106464591B/zh active Active
- 2015-05-06 WO PCT/CN2015/078398 patent/WO2016176842A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012156637A (ja) * | 2011-01-24 | 2012-08-16 | Nec Corp | Mpls−tp装置のmac探索システム及びmac探索方法 |
CN102201933A (zh) * | 2011-04-29 | 2011-09-28 | 中兴通讯股份有限公司 | 一种报文发送方法及装置 |
CN102611603A (zh) * | 2012-03-16 | 2012-07-25 | 中兴通讯股份有限公司 | 静态mpls隧道转发表的建立、数据的传输方法及装置 |
CN102907051A (zh) * | 2012-07-16 | 2013-01-30 | 华为技术有限公司 | 标记交换路径建立方法、数据转发方法及设备 |
Also Published As
Publication number | Publication date |
---|---|
CN106464591A (zh) | 2017-02-22 |
CN106464591B (zh) | 2020-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10050840B2 (en) | Method and system for an internet of things (IOT) device access in a software-defined networking (SDN) system | |
EP2897347B1 (en) | Method for transmitting addresses correspondence relationship in second-layer protocol using link status routing | |
US9621508B2 (en) | System and method for sharing VXLAN table information with a network controller | |
US8885641B2 (en) | Efficient trill forwarding | |
CN105577548B (zh) | 一种软件定义网络中报文处理方法和装置 | |
US10193707B2 (en) | Packet transmission method and apparatus | |
US8879549B2 (en) | Clearing forwarding entries dynamically and ensuring consistency of tables across ethernet fabric switch | |
JP2017028698A (ja) | トラフィック切り替え方法、デバイス、およびシステム | |
US9515927B2 (en) | System and method for layer 3 proxy routing | |
US9716687B2 (en) | Distributed gateways for overlay networks | |
US8891536B2 (en) | Layer-3 services for united router farm | |
US9231848B2 (en) | Method and system for an overlay management control network | |
EP3834365A1 (en) | Multicast distribution tree versioning for minimizing multicast group traffic disruption | |
US9042272B2 (en) | Distributed proxy addressing operations | |
WO2023125239A1 (zh) | 一种泛洪攻击防御方法及相关装置 | |
US11394635B2 (en) | Aggregated bit index explicit replication networking system | |
CN110620715B (zh) | 虚拟扩展局域网通信方法、隧道端点和控制器 | |
US10541914B2 (en) | Data packet forwarding method and network device | |
US9853891B2 (en) | System and method for facilitating communication | |
WO2016176842A1 (zh) | 一种mpls-tp隧道中的以太接口寻址方法、装置、控制器和网元 | |
WO2020100150A1 (en) | Routing protocol blobs for efficient route computations and route downloads | |
WO2022053007A1 (zh) | 网络可达性验证方法及装置、计算机存储介质 | |
Janovic | Fabric Forwarding (and Troubleshooting) | |
WO2019061520A1 (zh) | 切换路径的方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15891094 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15891094 Country of ref document: EP Kind code of ref document: A1 |