CN106385366B - TRILL network management method and device - Google Patents

TRILL network management method and device Download PDF

Info

Publication number
CN106385366B
CN106385366B CN201610790864.7A CN201610790864A CN106385366B CN 106385366 B CN106385366 B CN 106385366B CN 201610790864 A CN201610790864 A CN 201610790864A CN 106385366 B CN106385366 B CN 106385366B
Authority
CN
China
Prior art keywords
address
equipment
message
mark
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610790864.7A
Other languages
Chinese (zh)
Other versions
CN106385366A (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201610790864.7A priority Critical patent/CN106385366B/en
Publication of CN106385366A publication Critical patent/CN106385366A/en
Application granted granted Critical
Publication of CN106385366B publication Critical patent/CN106385366B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Abstract

The invention discloses TRILL network management method and devices, are related to computer science and technology field, existing in the prior art due to needing for each RB equipment manual configuration IP address and establishing corresponding management network bring larger workload to solve the problems, such as.The TRILL network management method includes: that RB equipment creates virtual three layer interface and VRF, and VRF is tied to virtual three layer interface;According to the mark of RB equipment, the IP address of RB equipment is automatically generated, and the corresponding relationship of the mark of RB equipment and IP address is saved into local mark-address mapping relation table;Configuration message processing rule, the Message processing rule are used to be that the message of address is specified to carry out processing locality by target MAC (Media Access Control) address;According to mark-address mapping relation table and Message processing rule, management message or the received management message of processing are sent using virtual three layer interface.

Description

TRILL network management method and device
Technical field
The present invention relates to computer science and technology field more particularly to TRILL network management method and devices.
Background technique
With the server of data center and being continuously increased for interchanger quantity, for the ease of maintenance and management, in data The heart mostly uses greatly the network architecture of flattening, and this requires construct a large-scale double layer network.TRILL(TRansparent Interconnection of Lots of Links, transparent interconnection of lots of links interconnection) agreement is by by three-layer routing agreement IS-IS The mentality of designing of (Intermediate System-to-Intermediate System, Intermediate System-to-Intermediate System) introduces In double layer network, solve that the intrinsic convergence rate of STP (Spanning Tree Protocol, Spanning-Tree Protocol) is relatively slow, band It the problems such as width waste, is widely used in data center.Wherein, the network for applying TRILL protocol is known as TRILL The each equipment being located in TRILL network is known as TRILL network equipment or RB (Routing Bridge, routing bridge) by network Equipment.
Currently, the method that manages and maintains of common TRILL network is the manual configuration IP in each TRILL network equipment The address (Internet Protocol, network between interconnection protocol), and corresponding IP management network is established, using IP network The method that manages and maintains safeguarded.But this method requires the manual configuration IP address in each TRILL network equipment, and Also need to establish and safeguard corresponding IP management network.Since the scale of data center's TRILL network would generally be bigger, this is just Bring biggish management workload.Furthermore since TRILL network needs to be managed and safeguard according to TRILL route forwarding table, And the TRILL route forwarding table does not use IP address, therefore also needs to re-define in TRILL network, develops a set of similar IP Network manages and maintains method etc., and workload is also larger.
Summary of the invention
The present invention provides a kind of TRILL network management method and device, existing in the prior art due to needs to solve For each RB equipment manual configuration IP address and establish IP manage network or re-define in TRILL network, develop it is a set of Similar IP network manages and maintains method, thus the problem of larger workload.
In order to achieve the above objectives, the present invention adopts the following technical scheme:
In a first aspect, the present invention provides a kind of TRILL network management method, comprising:
RB equipment creates virtual three layer interface and VRF, and the VRF is tied to virtual three layer interface;According to RB The mark of equipment, generates the IP address of RB equipment, and the corresponding relationship of the mark of RB equipment and IP address is saved to mark-ground In the mapping table of location;Configuration message processing rule, the Message processing rule are used to be specified address by target MAC (Media Access Control) address Message carries out processing locality;According to the mark-address mapping relation table and Message processing rule, described virtual three are utilized Layer interface sends management message or the received management message of processing.
Second aspect, the present invention provide a kind of TRILL network managing device, comprising:
Processing module is tied to virtual three layer interface for creating virtual three layer interface and VRF, and by the VRF; According to the mark of RB equipment, generate the IP address of RB equipment, and by the corresponding relationship of the mark of RB equipment and IP address save to In mark-address mapping relation table;Configuration message processing rule, the Message processing rule are used to target MAC (Media Access Control) address be to refer to The message for determining address carries out processing locality;
Interface driver module, for utilizing institute according to the mark-address mapping relation table and Message processing rule Virtual three layer interface for stating processing module creation sends management message or the received management message of processing.
With needed in the prior art for each RB device configuration IP address and establish management network or in TRILL network On re-define, the method that manages and maintains of developing a set of similar IP network is compared, TRILL network management method provided by the invention And device, it does not need not needing to re-establish a set of management network again for each RB equipment manual configuration IP address yet, but energy Enough marks according to RB equipment, generate the corresponding IP address of each RB and save the corresponding relationship of RB device identification and IP address, Manual configuration IP bring workload can be reduced, and directly utilizes existing TRILL network, decreases IP management network Construction and maintenance work;In addition, the present invention is by creating virtual three layer interface and VRF and the message for the RB device configuration Processing rule realizes the corresponding relationship according to Message processing rule and RB device identification and IP address, by the mark of RB equipment It is converted with IP address, send management message using virtual three layer interface or received management message is handled, from And it has been multiplexed the management method of IP network, it is not necessary that the management and dimension of a set of similar IP network are re-defined, developed in TRILL network Maintaining method, therefore the workload for managing TRILL network is also smaller.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of architecture diagram for TRILL network that the prior art provides;
Fig. 2 is a kind of TRILL network management method flow chart provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart that management message is sent using virtual three layer interface provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the management message after a kind of encapsulation provided in an embodiment of the present invention;
Fig. 5 is a kind of process for receiving management message using virtual three layer interface and handling provided in an embodiment of the present invention Figure;
Fig. 6 is a kind of TRILL network managing device structural schematic diagram provided in an embodiment of the present invention;
Fig. 7 is another TRILL network managing device structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, the embodiment of the present invention provides a kind of TRILL network, it include multiple route exchange devices in the network 101, each route exchange device applies TRILL protocol, therefore, each route exchange device can be described as again RB equipment or TRILL network equipment.
Illustratively, which can be three-tier switch.
, can be using any RB equipment as management equipment when needing to be managed the equipment in TRILL network, remaining RB equipment can be described as managed devices;Management equipment and managed devices carry out message interaction to realize the management of TRILL network. Such as: management equipment sends management message to managed devices, and managed devices carry out accordingly after receiving the management message Processing after response.
As shown in Fig. 2, can be applied to shown in FIG. 1 the embodiment of the invention provides a kind of TRILL network management method TRILL network.This method comprises:
201:RB equipment creates virtual three layer interface and VRF, and VRF is tied to virtual three layer interface.
Wherein, which is the point-to-point interface of non-EtherType, such as: TRILL management type.It should Message transmission is directly carried out by driver when virtual three layer interface is to Message processing.
It is understood that the above-mentioned function in order to realize virtual three layer interface, which needs to mount Corresponding interface drive program.
Optionally, (Virtual Private Network Routing Forwarding, the Virtual Private Network road VRF By forwarding) it can be created after RB starts TRILL protocol;It can also the creation when needing to carry out TRILL network management.The VRF It is the dedicated VRF for TRILL network management.
Need to illustrate when, signified virtual three layer interface is interface in logic in the embodiment of the present invention.Virtual three layers The creation of interface and VRF can refer to the prior art.
202: according to the mark of RB equipment, generating the IP address of RB equipment, and by pair of the mark of RB equipment and IP address Preservation should be related into mark-address mapping relation table.
During the specific implementation of this step, do not need to be set according to RB for each RB equipment human configuration IP address Standby mark automatically generates corresponding IP address according to certain rules, the IP address of the mark and generation of realization RB equipment Relationship in correspondence with each other.
Wherein, the alias (nickname) for being identified as RB equipment of the RB equipment can be with when RB equipment has multiple alias Corresponding IP address is all automatically generated for every alias.When generating IP address, the specified bytes in the alias can be determined as The specified bytes of IP address.Such as: can using two bytes of the alias value as the IP address of generation second and third Byte.Such as: one not entitled 192168 of RB equipment, the then IP address generated are 10.192.168.1/8.RB can also be set Second byte of one of byte as the IP address generated in standby alias.
It optionally, can also be using the maximum alias of the value of RB equipment as this step when RB equipment has multiple alias The mark of signified RB equipment, and according to the IP address of the value of the maximum alias of value generation RB equipment.
Optionally, when RB equipment has multiple alias, the RB equipment mark it is also an option that for RB equipment value most Small alias.
Wherein, the alias of each RB can from TRILL network formed forwarding table in or LSDB (Link State DataBase, link state database) in obtain.
After the IP address for generating RB equipment, the mark of RB equipment and corresponding IP address are bound, and is saved in In the mark-address mapping relation table.It include the mark of each RB equipment in TRILL network in the mark-address mapping relation table Know corresponding relationship that the IP address generated is corresponded to it.
Optionally, increase command option, the command option is used to obtain the mark of RB equipment, and according to the mark of RB equipment Know and inquires the IP address that the mark-address mapping relation table determines RB equipment.
It should be noted that the IP address of the RB equipment generated in the step is mainly used for TRILL network management.
It should also be noted that, corresponding virtual three layer interface of same RB equipment signified in the embodiment of the present invention, the void Mark, the IP address of RB equipment of quasi- corresponding VRF, RB equipment of three layer interfaces have one-to-one relationship.That is, can basis The mark of RB equipment determines the IP address of RB equipment and virtual three layer interface and VRF of RB equipment creation.
203: configuration message processing rule, the Message processing rule are used to be the report for specifying address by target MAC (Media Access Control) address Text carries out processing locality.
The purpose of configuration message processing rule is in order to which the message for containing specified target MAC (Media Access Control) address to be originally located in This message is also sent to CPU without being transmitted to other equipment, or is known as carrying out Trap processing to message by reason.
Wherein, which can be a specified unicast mac address, this MAC Address uniquely does this purposes, do not do He uses.Its specified MAC Address of the RB equipment that every needs are managed is the same.
As a kind of specific embodiment, it is regular or be known as the method for upper CPU and be specifically as follows to configure the Message processing A static mac address is configured into two forwarding table of layer (layer 2forwarding database) of RB, movement is Trap;Or configuration overall situation ACL (Access Control List, accesses control list), the ACL are only received simultaneously for indicating The target MAC (Media Access Control) address of processing message is the message of specified address, is acted as Trap.The characteristics of for different RB equipment, it can pass through Different methods realizes configuration message processing rule.
Wherein, above-mentioned steps 201 to step 203 is that the realization of initial configuration is carried out to RB equipment in TRILL network Journey.The RB equipment for carrying out above-mentioned initial configuration can be all RB equipment in TRILL network, or part RB is set It is standby.
204: according to the mark-address mapping relation table and Message processing rule, being sent out using virtual three layer interface Send management message or the received management message of processing.
Wherein, if current RB equipment is management equipment, current device can drive virtual three layer interface to send management Message.
In concrete application, after above-mentioned steps 201 to step 203 initialization, any RB equipment can be set to other RB Preparation plays management request, according to the RB device identification for initiating management request, inquires mark-address mapping relation table, obtains other The IP address of RB equipment, and using the IP address of other RB equipment as purpose address, the IP address of the machine RB equipment is source address, To traditional IP address-based application application service, the specific implementation process for creating IP application service can refer to the prior art. After creating IP application service, when current RB equipment needs to carry out message interaction with other RB equipment, current RB generates the machine Management message IP layers of progress routing are sent for message by corresponding socket (socket), when the layer choosing road IP, can drive It moves virtual three layer interface and sends management message.
If current RB equipment is managed devices, current RB equipment for receive management message and drive this virtual three Layer interface handles the management message.
With need to re-define for each RB device configuration IP address and in TRILL network in the prior art, develop one The method that manages and maintains for covering similar IP network is compared, TRILL network management method provided by the invention and device, do not need for Each RB equipment manual configuration IP address, but the corresponding IP address of each RB can be automatically generated according to the mark of RB equipment And the corresponding relationship of RB device identification and IP address is saved, manual configuration IP bring workload, and directly benefit can be reduced With TRILL network, reduce the workload of newly-built maintenance IP management network;In addition, the present invention is connect by creating virtual three layers Mouthful and VRF and be RB device configuration Message processing rule, realize according to the VRF, Message processing rule and RB equipment mark Know the corresponding relationship with IP address, the mark of RB is converted with IP address, virtual three layer interface is utilized to send management report Text handles received management message, so that the management method of IP network has been multiplexed, without fixed again in TRILL network Justice, the method that manages and maintains for developing a set of similar IP network, therefore the workload for managing TRILL network is also smaller.
As shown in figure 3, being answered on the basis of method shown in Fig. 2 with current RB equipment and any other RB equipment creation IP After service, using current RB equipment as management equipment, which is the embodiment of the present invention for managed devices Step 204 is provided " according to the VRF, the mark-address mapping relation table and Message processing rule, using described The specific implementation process of virtual three layer interfaces transmission management message ", comprising:
301: encapsulating internal layer link header for management message.
Wherein, in the internal layer link header, setting type of message is predefined TRILL management type, source MAC For the MAC Address of current RB equipment, target MAC (Media Access Control) address is the specified MAC Address.
302: determining the purpose IP address of the management message, and according to the destination IP address and the mark-ground Location mapping table determines the mark of purpose RB equipment.
Wherein, the purpose IP address for managing message is the IP address of purpose RB equipment.Purpose RB equipment is by pipe Manage equipment.
Due in initial configuration, generating the corresponding relationship of the IP address of RB device identification and RB equipment and being stored in In the mark-address mapping relation table, therefore the IP address of managed devices can be in management equipment and managed devices Shen It is obtained during please creating IP application service by the alias and the mark-address mapping relation table that are managed RB equipment. It, can be again according to the mark-address after the IP address of managed devices has been determined when needing to be managed managed devices Mapping table determines the mark of managed devices namely the mark of purpose RB equipment.
It can not according to IP address and mark-address mapping relation table of RB equipment it should be noted that there may be The case where determining the mark of RB equipment, in this case, then without executing subsequent step, without the transmission management message.
303: encapsulating TRILL head for the management message.
Wherein, in TRILL described, setting type of message is unicast type, and outlet RB mark (such as: in message Egress RB Nickname field) be the purpose RB equipment mark, entrance RB mark (such as: the Ingress in message RB Nickname field) be current RB equipment mark.
Optionally, it is 0 by the position M in the setting head TRILL, is unicast class the type of message of management message is arranged Type.
304: according to the mark of the purpose RB equipment, determine physical interface for sending the management message and under One jumps the MAC Address of RB equipment.
Wherein, management message may need the forwarding by intermediate RB equipment until being sent to purpose RB equipment.Therefore, also It needs to obtain next hop information, which includes the MAC Address of next-hop RB equipment, virtual local area network tags (Virtual Local Area Network Tag, VLAN TAG) information etc..
305: encapsulating outer layer link header for the management message.
Wherein, in the outer layer link header, setting type of message is predefined TRILL management type, source MAC For the MAC Address of current RB equipment, target MAC (Media Access Control) address is the MAC Address of the next-hop RB equipment.
Optionally, further include that the other information for including is configured in the next hop information obtained according to step 304, such as set Set VLAN TAG etc..
306: the management message after encapsulation is sent by the determining physical interface.
As it was noted above, virtual three layer interface is interface in logic, after carrying out above-mentioned processing to management message, it is also necessary to Message will be managed to send by the physical interface of RB equipment.Therefore, after completing the encapsulation to management message, pass through corresponding object It manages interface and sends the management message after encapsulation.
Management message is packaged as shown in figure 4, the embodiment of the invention provides a kind of methods according to Fig.3, Afterwards, the structural schematic diagram of the message after encapsulation.Internal layer link header, TRILL and outer are successively encapsulated in message after the encapsulation Layer link header.
As it can be seen that current RB equipment after completing initial configuration, when it sends management message as management equipment, can lead to Embodiment shown in Fig. 3 is crossed, is driven according to the VRF of creation, preconfigured Message processing rule and mark-address mapping relation table It moves virtual three layer interface and sends management message.
Management message after encapsulation carries out normal message forwarding according to routing forwarding information in intermediate conveyor equipment.
As shown in figure 5, by taking current RB equipment is managed devices as an example, the present invention is real on the basis of method shown in Fig. 1 It applies example and additionally provides a kind of step 204 " described regular according to the mark-address mapping relation table and the Message processing, benefit Handle received management message with virtual three layer interface " specific implementation process, specifically include:
401: management message is received, the management message is decapsulated, the message for carrying internal layer link header is obtained, And according to preconfigured Message processing rule, processing locality is carried out to CPU is given on the management message.
After RB equipment receives management message, management message is decapsulated, by the outer layer link header and TRILL head of message It goes to encapsulate, obtains the message for carrying internal layer link header, it, will be on the management message according to preconfigured Message processing rule Give CPU.
402: according to the information carried in the internal layer link header, when the target MAC (Media Access Control) address for determining the management message is When the specified MAC Address and type are predefined TRILL management type, remove the internal layer link header, by the pipe Reason message is sent to virtual three layer interface.
403: virtual three layer interface will be sent to IP protocol stack on the management message and handle.
Virtual three layer interface will be sent to IP protocol stack on management message according to the VRF bound with it, it is subsequent walk normal IP Process, such as TCP connection is established, the specific implementation process of the process can refer to the prior art.
As it can be seen that currently RB equipment, can after it receives management message as managed devices after completing initial configuration By embodiment shown in Fig. 3, according to preconfigured Message processing rule and mark-address mapping relation table- driven virtual three Layer interface carries out IP processing to received management message.
As shown in fig. 6, the embodiment of the present invention provides a kind of TRILL network managing device, it is any for realizing Fig. 2 to Fig. 4 Method described in embodiment, the device can be applied to any RB equipment in TRILL network, which includes:
The VRF for creating virtual three layer interface and VRF, and is tied to described virtual three layers and connect by processing module 501 Mouthful;According to the mark of RB equipment, the corresponding IP address of RB equipment is generated, and by the corresponding relationship of the mark of RB equipment and IP address It saves into mark-address mapping relation table;Configuration message processing rule, the Message processing rule is for by purpose MAC Location is that the message of specified address carries out processing locality.
Interface driver module 502, for driving according to the mark-address mapping relation table and Message processing rule It moves virtual three layer interface that the processing module 501 creates and sends management message or the received management message of processing.
Optionally, the processing module 501 is also used to obtain the value of at least one corresponding mark of each RB equipment; According to the value of each mark, the corresponding IP address of each mark is generated respectively;Wherein, the specified bytes in the mark are true It is set to the specified bytes of the IP address.
Correspondingly, the processing module 501, is also used to increase command option, the command option is for obtaining RB equipment Mark, and the IP address that the mark-address mapping relation table determines RB equipment is inquired according to the mark of RB equipment.
With need to re-define for each RB device configuration IP address and in TRILL network in the prior art, develop one The method that manages and maintains for covering similar IP network is compared, and TRILL network managing device provided by the invention, processing module being capable of root According to the mark of RB equipment, automatically generates the corresponding IP address of each RB and saves the corresponding relationship of RB device identification and IP address, It does not need that manual configuration IP bring workload can be reduced, and directly utilize for each RB equipment manual configuration IP address TRILL network reduces the workload of newly-built maintenance IP management network;In addition, virtual three layers created by processing module Interface and VRF and for RB device configuration Message processing rule, interface driver module can according to the Message processing rule with And the corresponding relationship of RB device identification and IP address, RB device identification is converted with IP address, drives this virtual three layers to connect Mouth sends management message or handles received management message, therefore TRILL network management provided in an embodiment of the present invention Device has been multiplexed the management method of IP network, without a set of similar IP network is re-defined, developed in TRILL network Method is managed and maintained, therefore the workload for managing TRILL network is also smaller.
As shown in fig. 7, TRILL network managing device provided in an embodiment of the present invention is also on the basis of device shown in Fig. 6 Including physical interface 601.And the interface driver module 502, it specifically includes interface and sends driving unit 602 and interface drive Moving cell 603, in which:
The interface sends driving unit 602, for encapsulating internal layer link header for management message;In the internal layer link header In, setting type of message is predefined TRILL management type, and source MAC is the MAC Address of current RB equipment, purpose MAC Address is the specified MAC Address.
The processing module 501 is also used to determine the purpose IP address of the management message, and according to the destination IP Location and the mark-address mapping relation table, determine the mark of purpose RB equipment.
The interface sends driving unit 602, is also used to encapsulate TRILL head for the management message;In the TRILL head In, setting type of message is unicast type, and outlet RB is identified as the mark for the purpose RB equipment that the processing module 501 determines, Entrance RB is identified as the mark of current RB equipment.
The processing module 501 is also used to the unicast formed according to the mark inquiry TRILL network of the purpose RB equipment Routing table determines the MAC Address of the physical interface and next-hop RB equipment for sending the management message.
The interface sends driving unit 602, is also used to encapsulate outer layer link header for the management message;In the outer layer In link header, setting type of message is predefined TRILL management type, and source MAC is the MAC Address of current RB equipment, Target MAC (Media Access Control) address is the MAC Address for the next-hop RB equipment that the processing module 501 determines.
The physical interface 601 sends the management message after driving unit 602 encapsulates for sending the interface.
As it can be seen that TRILL network managing device provided in an embodiment of the present invention is sent after capable of being packaged to management message To corresponding equipment.
In addition, the physical interface 601, is also used to receive management message;The management message is decapsulated, is obtained The message for carrying internal layer link header is originally located according to the Message processing of configuration rule by CPU is sent on message Reason;According to the information carried in the internal layer link header, when the target MAC (Media Access Control) address for determining the management message is described specified When MAC Address and type are predefined TRILL management type, remove the internal layer link header, the management message is sent out Give the interface driving unit 603.
The interface driving unit 603 will be sent to for driving virtual three layer interface on the management message IP protocol stack is handled.
As it can be seen that TRILL network managing device provided in an embodiment of the present invention can receive management message and to received pipe Reason message performs corresponding processing.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (10)

1. a kind of TRILL network management method characterized by comprising
RB equipment creates virtual three layer interface and VRF, and the VRF is tied to virtual three layer interface;
According to the mark of RB equipment, the IP address of RB equipment is generated, and the corresponding relationship of the mark of RB equipment and IP address is protected It deposits into mark-address mapping relation table;
Configuration message processing rule, the Message processing rule are used to be that the message of address is specified to carry out this by target MAC (Media Access Control) address Ground processing;
According to the mark-address mapping relation table and Message processing rule, the virtual three layer interfaces sending tube is utilized Manage message or the received management message of processing.
2. the method according to claim 1, wherein described according to the mark-address mapping relation table and institute Message processing rule is stated, management message is sent using virtual three layer interface, specifically includes:
Internal layer link header is encapsulated for management message;In the internal layer link header, type of message is set for predefined TRILL pipe Type is managed, source MAC is the MAC Address of current RB equipment, and target MAC (Media Access Control) address is the specified MAC Address;
It determines the purpose IP address of the management message, and is closed according to the destination IP address and the mark-address of cache It is table, determines the mark of purpose RB equipment;
TRILL head is encapsulated for the management message;In TRILL described, setting type of message is unicast type, outlet RB mark Know the mark for the purpose RB equipment, entrance RB is identified as the mark of current RB equipment;
According to the unicast routing table that the mark inquiry TRILL network of the purpose RB equipment is formed, determine for sending the pipe Manage the physical interface of message and the MAC Address of next-hop RB equipment;
Outer layer link header is encapsulated for the management message;In the outer layer link header, setting type of message is predefined TRILL management type, source MAC are the MAC Address of current RB equipment, and target MAC (Media Access Control) address is the next-hop RB equipment MAC Address;
The management message after encapsulation is sent by the determining physical interface.
3. the method according to claim 1, wherein described according to the mark-address mapping relation table and institute Message processing rule is stated, received management message is handled using virtual three layer interface, specifically includes:
Management message is received, the management message is decapsulated, the message for carrying internal layer link header is obtained, according to described The Message processing rule of configuration, will be sent to CPU and carries out processing locality on message;
According to the information carried in the internal layer link header, when the target MAC (Media Access Control) address for determining the management message is described specified When MAC Address and type are predefined TRILL management type, remove the internal layer link header, the management message is sent out Give virtual three layer interface;
Virtual three layer interface will be sent to IP protocol stack on the management message and handle.
4. according to claim 1 to method described in 3 any one, which is characterized in that the mark according to RB equipment generates The IP address of RB equipment, specifically includes:
Obtain the value of at least one corresponding mark of each RB equipment;
According to the value of each mark, the corresponding IP address of each mark is generated respectively;Wherein, by the designated word in the mark Section is determined as the specified bytes of the IP address.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Increase command option, the command option is used to obtain the mark of RB equipment, and according to the inquiry of the mark of RB equipment Mark-address mapping relation table determines the IP address of RB equipment.
6. a kind of TRILL network managing device characterized by comprising
Processing module is tied to virtual three layer interface for creating virtual three layer interface and VRF, and by the VRF;
According to the mark of RB equipment, the corresponding IP address of RB equipment is generated, and the mark of RB equipment and the corresponding of IP address are closed System saves into mark-address mapping relation table;
Configuration message processing rule, the Message processing rule are used to be that the message of address is specified to carry out this by target MAC (Media Access Control) address Ground processing;
Interface driver module, for driving the place according to the mark-address mapping relation table and Message processing rule Virtual three layer interface for managing module creation sends management message or the received management message of processing.
7. device according to claim 6, which is characterized in that described device further includes physical interface, the interface driver Module specifically includes interface and sends driving unit and interface driving unit, in which:
The interface sends driving unit, for encapsulating internal layer link header for management message;In the internal layer link header, setting Type of message is predefined TRILL management type, and source MAC is the MAC Address of current RB equipment, and target MAC (Media Access Control) address is The specified MAC Address;
The processing module is also used to determine the purpose IP address of the management message, and according to the destination IP address and The mark-address mapping relation table, determines the mark of purpose RB equipment;
The interface sends driving unit, is also used to encapsulate TRILL head for the management message;In TRILL described, setting Type of message is unicast type, and outlet RB is identified as the mark of the purpose RB equipment, and entrance RB is identified as current RB equipment Mark;
The processing module is also used to the unicast routing table formed according to the mark inquiry TRILL network of the purpose RB equipment, Determine the MAC Address of the physical interface and next-hop RB equipment for sending the management message;
The interface sends driving unit, is also used to encapsulate outer layer link header for the management message;In the outer layer link header In, setting type of message is predefined TRILL management type, and source MAC is the MAC Address of current RB equipment, purpose MAC Address is the MAC Address of the next-hop RB equipment;
The physical interface, for sending the management message after encapsulating.
8. device according to claim 7, which is characterized in that
The physical interface is also used to receive management message;
The management message is decapsulated, the message for carrying internal layer link header is obtained, at the message of the configuration Reason rule will be sent to CPU and carry out processing locality on message;
According to the information carried in the internal layer link header, when the target MAC (Media Access Control) address for determining the management message is described specified When MAC Address and type are predefined TRILL management type, remove the internal layer link header, the management message is sent out Give the interface driving unit;
The interface driving unit, for driving virtual three layer interface that will be sent to IP protocol stack on the management message It is handled.
9. according to device described in claim 6 to 8 any one, which is characterized in that the processing module is also used to obtain every The value of at least one corresponding mark of a RB equipment;
According to the value of each mark, the corresponding IP address of each mark is generated respectively;Wherein, by the designated word in the mark Section is determined as the specified bytes of the IP address.
10. device according to claim 9, which is characterized in that the processing module is also used to increase command option, institute It states command option and inquires the mark-address mapping relation table for obtaining the mark of RB equipment, and according to the mark of RB equipment Determine the IP address of RB equipment.
CN201610790864.7A 2016-08-31 2016-08-31 TRILL network management method and device Active CN106385366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610790864.7A CN106385366B (en) 2016-08-31 2016-08-31 TRILL network management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610790864.7A CN106385366B (en) 2016-08-31 2016-08-31 TRILL network management method and device

Publications (2)

Publication Number Publication Date
CN106385366A CN106385366A (en) 2017-02-08
CN106385366B true CN106385366B (en) 2019-07-02

Family

ID=57939642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610790864.7A Active CN106385366B (en) 2016-08-31 2016-08-31 TRILL network management method and device

Country Status (1)

Country Link
CN (1) CN106385366B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107070699A (en) * 2017-03-04 2017-08-18 郑州云海信息技术有限公司 Controller monitoring is managed in storage system redundancy design method and device
CN110166357B (en) * 2018-02-14 2021-09-10 智邦科技股份有限公司 Device supporting transparent interconnection protocol of multiple links and communication method thereof
CN111262782B (en) * 2018-11-30 2022-05-20 迈普通信技术股份有限公司 Message processing method, device and equipment
CN113810517B (en) * 2020-03-17 2023-11-21 腾讯科技(深圳)有限公司 Multi-link device MAC address management method and multi-link device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882781A (en) * 2012-10-11 2013-01-16 华为技术有限公司 Method, route bridge and system for transmitting message
CN103139075A (en) * 2013-03-13 2013-06-05 杭州华三通信技术有限公司 Message transmission method and device
CN104065582A (en) * 2013-03-22 2014-09-24 杭州华三通信技术有限公司 Message transmission method and gateway device
CN104348928A (en) * 2013-07-31 2015-02-11 华为技术有限公司 Method for assigning address resources, management device, request device, and system
US9270572B2 (en) * 2011-05-02 2016-02-23 Brocade Communications Systems Inc. Layer-3 support in TRILL networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9270572B2 (en) * 2011-05-02 2016-02-23 Brocade Communications Systems Inc. Layer-3 support in TRILL networks
CN102882781A (en) * 2012-10-11 2013-01-16 华为技术有限公司 Method, route bridge and system for transmitting message
CN103139075A (en) * 2013-03-13 2013-06-05 杭州华三通信技术有限公司 Message transmission method and device
CN104065582A (en) * 2013-03-22 2014-09-24 杭州华三通信技术有限公司 Message transmission method and gateway device
CN104348928A (en) * 2013-07-31 2015-02-11 华为技术有限公司 Method for assigning address resources, management device, request device, and system

Also Published As

Publication number Publication date
CN106385366A (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN106385366B (en) TRILL network management method and device
CN104660508B (en) A kind of message forwarding method and device
CN104869042B (en) Message forwarding method and device
CN105515978B (en) Realize the method and device of distributed routing, physical host access
CN104580024B (en) The Ethernet interconnection architecture interchanger of extension
CN104038401B (en) Method and system for interoperability for distributed overlay virtual environments
CN102164091B (en) Method for building MAC (Media Access Control) address table and provider edge device
CN104618194B (en) Software defined network monitoring messages method and SDN controllers, switching equipment
CN104468368B (en) Configure the method and device of bgp neighbor
CN106712988B (en) A kind of virtual network management method and device
CN104937896B (en) The processing method and transponder of address resolution protocol message, controller
CN105991387A (en) Message transformation method and device of virtual extensible local area network (VXLAN)
JP2013527532A5 (en) Data packet delivery management method
JP6722816B2 (en) Packet transfer
CN104468776B (en) A kind of method and aggregation node for realizing sensor network data transmission
CN105991433B (en) The method and apparatus of Layer3 Virtual Private Network access Layer 2 virtual private network
CN104010049A (en) Ethernet IP message packaging method based on SDN and network isolation and DHCP implementing method based on SDN
CN103684959B (en) VPN realization method and PE equipment
CN107770072A (en) A kind of method and apparatus for sending and receiving message
CN105531966A (en) Method, device and system for implementing packet routing in network
CN106899500A (en) A kind of message processing method and device across virtual expansible LAN
CN106452873A (en) Control method, control device and processor in software defined network
CN103490968B (en) Method and device for interconnecting across data centers in FCoE network
CN107181681A (en) SDN layer 2 forwarding methods and system
CN105324961B (en) Gre tunneling implementation method, access point and gateway

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant