CN102821047A - Method, network apparatus and system for establishing corresponding relation in networks - Google Patents

Method, network apparatus and system for establishing corresponding relation in networks Download PDF

Info

Publication number
CN102821047A
CN102821047A CN2012102804677A CN201210280467A CN102821047A CN 102821047 A CN102821047 A CN 102821047A CN 2012102804677 A CN2012102804677 A CN 2012102804677A CN 201210280467 A CN201210280467 A CN 201210280467A CN 102821047 A CN102821047 A CN 102821047A
Authority
CN
China
Prior art keywords
network equipment
message
end network
place end
place
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012102804677A
Other languages
Chinese (zh)
Other versions
CN102821047B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210280467.7A priority Critical patent/CN102821047B/en
Publication of CN102821047A publication Critical patent/CN102821047A/en
Application granted granted Critical
Publication of CN102821047B publication Critical patent/CN102821047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method for establishing the corresponding relation in networks, comprising the following steps of: structuring a first message by a host-terminal network apparatus, wherein the first message carries the MAC (media access control) address and the name of the host-terminal network apparatus, and the name of the host-terminal network apparatus exclusively identifies the host-terminal network apparatus; and transmitting the first message to a source-terminal network apparatus to enable the source-terminal network apparatus to store the corresponding relation of MAC address and the name of the host-terminal network apparatus according to the first message. The embodiment of the invention further provides a system for establishing the corresponding relation in networks; according to the technical scheme of the embodiment of the invention, when a network manager maintains the host-terminal network apparatus at the source-terminal network apparatus, the network manager can replace the MAC address by the name of the host-terminal network apparatus, and therefore, the maintainability of the networks is enhanced due to the fact that the name of the host-terminal network apparatus is more convenient to use and memory than the MAC address.

Description

Set up method, the network equipment and the system of corresponding relation in the network
It is that CN201210268198.2, denomination of invention are the priority of the one Chinese patent application of " setting up method, the network equipment and the system of corresponding relation in the network " that the application requires to submit Patent Office of the People's Republic of China, application number on July 30th, 2012, and its full content combines in this application by reference.
Technical field
The embodiment of the invention relates to communication technical field, relates in particular to the method, the network equipment and the system that set up corresponding relation in the network.
Background technology
Along with the appearance of carrier class Ethernet, Ethernet has become a kind of carrier class networks standard at present.Detection and perception to fault in Ethernet are extremely important.The network manager can often use the medium access control of the network equipment (English full name is Media Access Control in the maintenance process of Ethernet; English abbreviates MAC as) address, and MAC Address be length is the hexadecimal number word string of 6 bytes, is not easy to memory and identification; When having a large amount of network equipment in the network; The network manager is difficult to remember the MAC Address of each network equipment, and this brings a lot of difficulties and inconvenience for network operation, for instance; (English full name is Internet Protocol except the internet usage agreement in the network operation process; English abbreviates IP as) internet detective rope (English full name is Packet Internet Grope, and English abbreviates Ping as) in addition, in Ethernet, also use the Ping of ether layer through regular meeting; Be medium access control (English full name is Media Access Control, and English abbreviates MAC as) Ping.Operator for a double layer network; The network manager need initiate the other network equipment of MAC Ping from a network equipment; Whether there is fault between two network equipments or checks current network state (obtaining parameters such as packet loss, time delay, delay variation) to detect, when carrying out MAC Ping, need specify the MAC Address of destination, need the network manager can remember the MAC Address of the destination network equipment; And MAC Address is a length is the hexadecimal number word string of 6 bytes; Mnemonic and identifiability are not strong, and when having a large amount of network equipment in the network, the network manager is difficult to remember the MAC Address of each network equipment; Cause the use of MAC Ping very inconvenient, increased the network manager network is carried out maintenance difficulties.
Summary of the invention
The embodiment of the invention provides the method and the network equipment of setting up corresponding relation in a kind of network, to solve the problem difficult in maintenance of directly using the MAC Address that is difficult to remember and discerns to bring in the prior art.
First aspect provides the method for setting up corresponding relation in a kind of network, comprising:
The place end network equipment is constructed first message, and said first message carries the media access control MAC address of the said place end network equipment and the device name of the said place end network equipment, the said place of the device name unique identification end network equipment of the said place end network equipment;
Send said first message to source-end networks equipment, so that said source-end networks equipment is preserved the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment according to said first message.
In first kind of said first aspect possible implementation, said first message is a two-layer protocol message, and said first message carries the MAC Address of the said place end network equipment and the device name of the said place end network equipment comprises:
Expand the type of message PacketType in a kind of Ether frame structure of said first message, be used to identify the device name that said first message carries the MAC Address and the said place end network equipment of the said place end network equipment;
The MAC Address of the said place end network equipment leaves in the source MAC field of Ether frame structure of said first message;
The device name of the said place end network equipment leaves in the message net load Payload field of Ether frame structure of said first message.
In first kind of said first aspect or said first aspect possible implementation, second kind of possible implementation of said first aspect also is provided, before the said place end network equipment is constructed said first message, further comprise:
Receive second message that said source-end networks equipment sends; Said second message is used to ask obtain the device name of the MAC Address and the said place end network equipment of the said place end network equipment; Said second message is a two-layer protocol message; Said first message is the response message of corresponding said second message, and the target MAC (Media Access Control) address of said first message is the MAC Address of said source-end networks equipment.
In first kind of said first aspect or said first aspect possible implementation, the third possible implementation of said first aspect also is provided, the target MAC (Media Access Control) address of said first message is multicast mac address or broadcasting MAC Address.
Second aspect provides the method for setting up corresponding relation in a kind of network, comprising:
Source-end networks equipment receives first message that the place end network equipment sends; Said first message carries the media access control MAC address of the said place end network equipment and the device name of the said place end network equipment, the said place of the device name unique identification end network equipment of the said place end network equipment;
Said source-end networks equipment is preserved the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment according to said first message.
In first kind of said second aspect possible implementation, said first message is a two-layer protocol message, and said first message carries the MAC Address of the said place end network equipment and the device name of the said place end network equipment comprises:
Expand the type of message PacketType in a kind of Ether frame structure of said first message, be used to identify the device name that said first message carries the MAC Address and the said place end network equipment of the said place end network equipment;
The MAC Address of the said place end network equipment leaves in the source MAC field of Ether frame structure of said first message;
The device name of the said place end network equipment leaves in the message net load Payload field of Ether frame structure of said first message.
In first kind of said second aspect or said second aspect possible implementation, second kind of possible implementation of said second aspect also is provided, said source-end networks equipment receives before first message of place end network equipment transmission, further comprises:
Second message to the transmission of the said place end network equipment; Said second message is used to ask obtain the device name of the MAC Address and the said place end network equipment of the said place end network equipment; Said second message is a two-layer protocol message; Said first message is the response message of corresponding said second message, and the target MAC (Media Access Control) address of said first message is the MAC Address of said source-end networks equipment.
Said second aspect or said second aspect first kind of possible implementation in, also provide said second aspect the third possible implementation, the target MAC (Media Access Control) address of said first message is a multicast mac address.
In aforementioned any one possible implementation of said second aspect or said second aspect; The 4th kind of possible implementation of said second aspect also is provided; After the corresponding relation of the device name of said MAC Address and the said place end network equipment of setting up the said place end network equipment according to said first message, further comprise:
Receive extended MAC Ping order; Said extended MAC Ping order comprises the device name of the said place end network equipment; The destination that the device name of the said place end network equipment is used to identify said extended MAC Ping order is the said place end network equipment; According to said corresponding relation the device name of the place end network equipment in the said extended MAC Ping order is replaced with the MAC Address of the said place end network equipment, and with the MAC Address of the said network equipment target MAC (Media Access Control) address as the MAC Ping message of the said extended MAC Ping order of correspondence.
The third aspect provides a kind of place end network equipment, and the said place end network equipment comprises:
Structural unit; Be used to construct first message; Said first message carries the media access control MAC address of the said place end network equipment and the device name of the said place end network equipment, the said place of the device name unique identification end network equipment of the said place end network equipment;
First transmitting element; Said first message that is used to send said structural unit structure is to source-end networks equipment, so that said source-end networks equipment is preserved the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment according to said first message.
In a kind of possible implementation of the said third aspect, the said place end network equipment also comprises:
Second receiving element; Be used for before said structural unit is constructed said first message; Receive second message that said source-end networks equipment sends, said second message is used to ask obtain the device name of the MAC Address and the said place end network equipment of the said place end network equipment, and said second message is a two-layer protocol message; Said first message is the response message of corresponding said second message, and the target MAC (Media Access Control) address of said first message is the MAC Address of said source-end networks equipment.
Fourth aspect provides a kind of source-end networks equipment, and said source-end networks equipment comprises:
First receiving element; Be used to receive first message that the place end network equipment sends; Said first message carries the media access control MAC address of the said place end network equipment and the device name of the said place end network equipment, the said place of the device name unique identification end network equipment of the said place end network equipment;
Memory cell is used for preserving according to said first message that said first receiving element receives the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment.
In first kind of said fourth aspect possible implementation, said source-end networks equipment also comprises:
Second transmitting element; Be used for before said first receiving element receives said first message of said place end network equipment transmission; Second message to the transmission of the said place end network equipment; Said second message is used to ask obtain the device name of the MAC Address and the said place end network equipment of the said place end network equipment; Said second message is a two-layer protocol message, and said first message is the response message of corresponding said second message, and the target MAC (Media Access Control) address of said first message is the MAC Address of said source-end networks equipment.
In first kind of said fourth aspect or said fourth aspect possible implementation, second kind of possible implementation also is provided, said source-end networks equipment also comprises:
The command process unit; Be used for after said memory cell is set up the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment; Receive extended MAC Ping order; The device name that comprises the said place end network equipment in the said extended MAC Ping order; The destination that the device name of the said place end network equipment is used to identify said extended MAC Ping order is the said place end network equipment; According to said corresponding relation the device name of the place end network equipment in the said extended MAC Ping order is replaced with the MAC Address of the said place end network equipment, and with the MAC Address of the said network equipment target MAC (Media Access Control) address as the MAC Ping message of the said extended MAC Ping order of correspondence.
The 5th aspect provides the system that sets up corresponding relation in a kind of network, and said system comprises the place end network equipment and source-end networks equipment, wherein:
The said place end network equipment comprises:
Structural unit; Be used to construct first message; Said first message carries the media access control MAC address of the said place end network equipment and the device name of the said place end network equipment, the said place of the device name unique identification end network equipment of the said place end network equipment;
First transmitting element; Said first message that is used to send said structural unit structure is to source-end networks equipment, so that said source-end networks equipment is preserved the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment according to said first message;
Said source-end networks equipment comprises:
First receiving element is used to receive said first message that first transmitting element of the said place end network equipment sends;
Memory cell is used for preserving according to said first message that said first receiving element receives the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment.
To sum up; The embodiment of the invention provides the method for setting up corresponding relation in the network; The technical scheme that provides through the embodiment of the invention; The place end network equipment sends to source-end networks equipment with the device name of the place end network equipment and the MAC Address of the place end network equipment, and source-end networks equipment is set up the corresponding relation of place end network equipment MAC Address and place end network equipment title.When the network manager when source-end networks equipment is safeguarded the place end network equipment; Can use the MAC Address of the device name replacement place end network equipment of the place end network equipment; The device name of the place end network equipment is easy to use and memory with respect to MAC Address, has improved the maintainability of network.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; To do to introduce simply to the accompanying drawing of required use among the embodiment below; Obviously, the accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a method flow sketch map of setting up corresponding relation in a kind of network of providing of the embodiment of the invention;
Figure 1A is an a kind of concrete implementation schematic flow sheet of setting up the method for corresponding relation in a kind of network of providing of the embodiment of the invention shown in Figure 1;
Fig. 2 is an Ether frame structure network sketch map in the HGMP message that provides of the embodiment of the invention;
Fig. 3 is a method flow sketch map of setting up corresponding relation in another network of providing of the embodiment of the invention;
Fig. 3 A is first kind of implementation schematic flow sheet setting up the method for corresponding relation in a kind of network of providing of the embodiment of the invention shown in Figure 3;
Fig. 3 B is second kind of implementation schematic flow sheet setting up the method for corresponding relation in a kind of network of providing of the embodiment of the invention shown in Figure 3;
Fig. 3 C is the third implementation schematic flow sheet of setting up the method for corresponding relation in a kind of network of providing of the embodiment of the invention shown in Figure 3;
Fig. 4 is a kind of system configuration sketch map of setting up corresponding relation that the embodiment of the invention provides;
Fig. 5 is that the embodiment of the invention shown in Figure 4 provides a kind of first kind of implementation structural representation setting up the system of corresponding relation;
Fig. 6 is a kind of second kind of implementation structural representation setting up the system of corresponding relation that the embodiment of the invention shown in Figure 4 provides;
Fig. 6 A is a kind of the third implementation structural representation of setting up the system of corresponding relation that the embodiment of the invention shown in Figure 4 provides;
Fig. 7 is the system configuration sketch map that another kind that the embodiment of the invention provides is set up corresponding relation;
Fig. 8 is a kind of a kind of implementation structural representation of setting up the system of corresponding relation that the embodiment of the invention shown in Figure 7 provides.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention will clearly be described, obviously; Described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The network manager can often use MAC Address in the maintenance process of Ethernet; And MAC Address is a length is the hexadecimal number word string of 6 bytes; Be not easy to memory and identification; Particularly when having a large amount of network equipment in the network, the network manager is difficult to remember the MAC Address of each network equipment, and this brings a lot of difficulties and inconvenience for network operation.
Referring to Fig. 1, the embodiment of the invention provides the method for setting up corresponding relation in a kind of network, comprises following content.
102, the place end network equipment is constructed first message, and said first message carries the device name of the MAC Address and the said place end network equipment of the said place end network equipment, the said place of the device name unique identification end network equipment of the said place end network equipment.
104, send said first message to source-end networks equipment, so that said source-end networks equipment is preserved the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment according to said first message.
Optional; Said first message can be the expansion to two-layer protocol message; Said two-layer protocol can (English full name be Huawei Group Management Protocol for Huawei Group Management Protocol; English abbreviates HGMP as) or Spanning-Tree Protocol (English full name is Spanning Tree Protocol, and English abbreviates STP as) or rapid ring protection protocol (English full name is Rapid Ring Protection Protocol, and English abbreviates RRPP as).
Said first message carries the MAC Address of the said place end network equipment and the device name of the said place end network equipment comprises:
Expand the type of message (PacketType) in a kind of Ether frame structure of said first message, be used to identify the device name that said first message carries the MAC Address and the said place end network equipment of the said place end network equipment;
The MAC Address of the said place end network equipment leaves in the source MAC field of Ether frame structure of said first message;
The device name of the said place end network equipment leaves in Ether frame structure message net load (Payload) field of said first message.
So that the HGMP message is expanded to example, as shown in Figure 2, Fig. 2 is the ethernet frame structural representation in the HGMP message, wherein:
DA_MAC is the target MAC (Media Access Control) address field, takies 6 bytes (bytes);
SA_MAC is the source MAC field, takies 6bytes, and SA_MAC field value is the MAC Address of the said place end network equipment in embodiment illustrated in fig. 1 in embodiments of the present invention;
MgmtVLANTag is administrative vlan label (English full name is a Management Virtual Local Area Network Tag) field, takies 4bytes;
ProtocolType is a protocol type field, takies 2bytes, and for the HGMP message, said ProtocolType field value is 0x88A7;
PacketType is the type of message field; Take 4bytes; Said in embodiments of the present invention packet type field value is the value that is different from other existing type of messages; For example, said PacketType can value be 0x00050000, is used for identifying said first message embodiment illustrated in fig. 1 and comprises the device name of the said place end network equipment and the MAC Address of the said place end network equipment;
Payload is a message net load field, and it is variable to take byte number, and said in embodiments of the present invention Payload field is deposited the device name of the said place end network equipment;
FSC is Frame Check Sequence (English full name is Frame Check Sequence), takies 4bytes.
The two-layer protocol message of expansion other types obtains the extended mode of said first message with similar to HGMP message extended mode; Also be that the packet type field in the ethernet frame structure in the corresponding two-layer protocol message is set at the value that is different from existing type of message, in the Payload field, comprise the device name of the said place end network equipment.
Alternatively; The said place end network equipment can be announced the MAC Address and the device name of the said place end network equipment to said source-end networks equipment through the mode of initiatively announcement; Under this mode; DA_MAC field in said first message can value be multicast mac address or broadcasting MAC Address; The said place end network equipment can regularly be announced the MAC Address and the device name of the said place end network equipment to said source-end networks equipment, for example, whenever initiatively announces once at a distance from 10 minutes or 20 minutes.
Alternatively; The said place end network equipment also can be with passive mode the MAC Address and the device name of the said place end network equipment to be announced to said source-end networks equipment; Referring to Figure 1A; Before the end network equipment of place described in the step 102 of method embodiment shown in Figure 1 was constructed said first message, the method for setting up corresponding relation in the network also comprised:
106; Receive second message that said source-end networks equipment sends; Said second message is used to ask obtain the device name of the MAC Address and the said place end network equipment of the said place end network equipment; Said second message is a two-layer protocol message, and said first message is the response message of corresponding said second message, and the target MAC (Media Access Control) address of said first message is the MAC Address of said source-end networks equipment.
For instance, the PacketType that the said place end network equipment is worked as the ethernet frame of judging said second message is predefined particular value, for example, when PacketType is 0x00060000, execution in step 102.
Alternatively, said second message can be the expansion to two-layer protocol message, and said two-layer protocol can be HGMP or STP or RRPP.Be example with expansion HGMP protocol massages, as shown in Figure 2, Fig. 2 is the ethernet frame structural representation in the HGMP message, wherein:
DA_MAC field value can be multicast mac address or broadcasting MAC Address;
SA_MAC field value is the MAC Address of said source-end networks equipment;
The packet type field value is the value that is different from other existing type of messages; And be different from the type of message of said first message; For example; Said PacketType can value be 0x00060000, is used to identify the device name that said second message is used to ask obtain the MAC Address and the said place end network equipment of the said place end network equipment, and the Payload field can be sky.
The two-layer protocol message of expansion other types obtains the extended mode of said second message with similar to HGMP message extended mode; Also be that the DA_MAC field value in the ethernet frame structure in the corresponding two-layer protocol message can be multicast mac address or broadcasting MAC Address; SA_MAC field value is the MAC Address of said source-end networks equipment, and packet type field is set at the value of having any different in existing type of message.
Said first message and said second message are corresponding expansion with a kind of two-layer protocol message, for example, if said first message is that then said second message also is that the HGMP message is expanded to the expansion of HGMP message.
Preserve the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment when said source-end networks equipment after; If the network manager carries out maintenance management at said source-end networks equipment to the said place end network equipment; When the MAC Address of the network equipment that uses said Su Duan; A kind of mode is to find the MAC Address of the corresponding said place end network equipment of the device name of the said place end network equipment through checking said corresponding relation; Utilize this mode; No longer need remember the device mac address of the said place end network equipment, can obtain the MAC Address of the said place end network equipment through said corresponding relation as long as know the device name of the said place end network equipment, another kind of mode can use the device name of the said place end network equipment to replace; As: said source-end networks equipment is when carrying out MAC Ping to the said place end network equipment; The device name that can in order line, import the said place end network equipment replaces the MAC Address of the said place end network equipment, when generating MAC Ping message, according to said corresponding relation; MAC Address at the said place end network equipment that the device name of the said place end network equipment is corresponding adds in the target MAC (Media Access Control) address field of said MAC Ping message; Utilize this mode, use the easy to use and memory of device name of the place end network equipment, improved the maintainability of network.
In network management; Various network equipment can be given the device name of certain implication usually in the network; As, the device name that in the local area network (LAN) of a company, connects the network equipment of development department is RAD (Research And Development), the device name that connects the network equipment of test department is TEST; The device name that connects the network equipment of market department is MARKET, and the device name of the network equipment that network is managed is ADMIN.The technical scheme that provides through the embodiment of the invention; The device name that the network equipment of said company is incited somebody to action the network equipment separately sends on the network management device ADMIN with corresponding MAC Address; When the network manager to network in device name be that the network equipment of RAD is when safeguarding; For example: to device name is the network equipment of RAD when carrying out MAC Ping, can be in order line the device name RAD of fan-in network equipment, the network manager does not need to import the MAC Address of the complicacy of the RAD network equipment again; When generating MAC Ping message; According to corresponding relation, add in the target MAC (Media Access Control) address field of message at the MAC Address that name is called the network equipment of RAD, improved the maintainability of network.
It is thus clear that; Set up the method for corresponding relation in a kind of network that provides through the embodiment of the invention; The place end network equipment sends to source-end networks equipment with the device name of the place end network equipment and the MAC Address of the place end network equipment; Source-end networks equipment is preserved the corresponding relation of place end network equipment MAC Address and place end network equipment title, when the network manager when source-end networks equipment is safeguarded the place end network equipment, can use the MAC Address of the device name replacement place end network equipment of the place end network equipment; The device name of the place end network equipment is easy to use and memory with respect to MAC Address, has improved the maintainability of network.
Referring to Fig. 3, the embodiment of the invention provides the method for setting up corresponding relation in a kind of network, comprises following content.
302; Source-end networks equipment receives first message that the place end network equipment sends; Said first message carries the media access control MAC address of the said place end network equipment and the device name of the said place end network equipment, the said place of the device name unique identification end network equipment of the said place end network equipment;
304, said source-end networks equipment is preserved the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment according to said first message.
Alternatively; The corresponding relation of the device name of the MAC Address of the said place end network equipment and the said place end network equipment can be with the stored in form of list item in internal memory; Also can leave in the external memory storage of the said place end network equipment with the mode of file; Said external memory storage can for: hard disk or flash memory (English full name is Compact Flash, and English abbreviates CF as) card etc.
Alternatively; After the corresponding relation of the device name of the MAC Address of the said place of the said preservation end network equipment and the said place end network equipment; Time of the said corresponding relation of recorded and stored also; Before preserving said corresponding relation,, then upgrade the time of preserving said corresponding relation if the corresponding relation of the device name of the MAC Address of the said place end network equipment and the said place end network equipment exists.When said corresponding relation does not upgrade above predefined time gate limit value, then according to aging said corresponding relation of the time of the said corresponding relation that writes down.
Alternatively, said second message can be the expansion to two-layer protocol message, and said two-layer protocol can be HGMP or STP or RRPP, and said first message carries the MAC Address of the said place end network equipment and the device name of the said place end network equipment comprises:
Expand the type of message (PacketType) in a kind of Ether frame structure of said first message, be used to identify the device name that said first message carries the MAC Address and the said place end network equipment of the said place end network equipment;
The MAC Address of the said place end network equipment leaves in the source MAC field of Ether frame structure of said first message;
The device name of the said place end network equipment leaves in Ether frame structure message net load (Payload) field of said first message.
So that the HGMP message is expanded to example, Fig. 2 shows the ethernet frame structural representation in the HGMP message, describes in the embodiment shown in fig. 1, repeats no more here.
The two-layer protocol message of expansion other types obtains the extended mode of said first message with similar to HGMP message extended mode; Also be that the packet type field in the ethernet frame structure in the corresponding two-layer protocol message is set at the value that is different from existing type of message, in the Payload field, comprise the device name of the said place end network equipment.
Alternatively; Said source-end networks equipment can be accepted the MAC Address and the device name of the said place end network equipment that the said place end network equipment sends passively; Under this mode said first message in the DA_MAC field can value be multicast mac address or broadcasting MAC Address; The said place end network equipment can regularly be announced the MAC Address and the device name of the said place end network equipment to said source-end networks equipment, for example, whenever initiatively announces once at a distance from 10 minutes or 20 minutes.
Alternatively; Said source-end networks equipment can initiatively obtain the MAC Address and the device name of the said place end network equipment to the said place end network equipment; Referring to Fig. 3 A, said source-end networks equipment receives before first message of said place end network equipment transmission, and said method also comprises:
306; The end network equipment sends second message to said place; Said second message is used to ask obtain the device name of the MAC Address and the said place end network equipment of the said place end network equipment; Said second message is a two-layer protocol message, and said first message is the response message of corresponding said second message, and the target MAC (Media Access Control) address of said first message is the MAC Address of said source-end networks equipment.The said place end network equipment sends said first message to said source-end networks equipment after receiving said second message.
Alternatively, said second message can be the expansion to two-layer protocol message, and said two-layer protocol can be HGMP or STP or RRPP.With expansion HGMP protocol massages is example, and Fig. 2 shows the ethernet frame structure in the HGMP message, in Figure 1A illustrated embodiment, describes, and repeats no more here.
The two-layer protocol message of expansion other types obtains the extended mode of said second message with similar to HGMP message extended mode; Also can be multicast mac address or broadcasting MAC Address with the DA_MAC field value in the ethernet frame structure in the corresponding two-layer protocol message; SA_MAC field value is the MAC Address of said source-end networks equipment, and packet type field is set at the value of having any different in existing type of message.
Said first message and said second message are corresponding expansion with a kind of two-layer protocol message, for example, if said first message is that then said second message also is that the HGMP message is expanded to the expansion of HGMP message.
The PacketType that the said place end network equipment is worked as the ethernet frame of judging said second message is predefined particular value, for example, when PacketType is 0x00060000, execution in step 304.
Alternatively, referring to Fig. 3 B or Fig. 3 C, the said place end network equipment is preserved according to said first message after the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment, and said method also comprises:
308; Receive extended MAC Ping order; Said extended MAC Ping order comprises the device name of the said place end network equipment; The destination that the device name of the said place end network equipment is used to identify said extended MAC Ping order is the said place end network equipment; According to said corresponding relation the device name of the place end network equipment in the said extended MAC Ping order is replaced with the MAC Address of the said place end network equipment, and with the MAC Address of the said network equipment target MAC (Media Access Control) address as said extended MAC Ping message.
Set up the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment when said source-end networks equipment after; If the network manager carries out maintenance management at said source-end networks equipment to the said place end network equipment; When the MAC Address of the network equipment that uses said Su Duan; A kind of mode is to find the MAC Address of the corresponding said place end network equipment of the device name of the said place end network equipment through checking said corresponding relation; Utilize this mode; No longer need remember the device mac address of the said place end network equipment, can obtain the MAC Address of the said place end network equipment through said corresponding relation as long as know the device name of the said place end network equipment, another kind of mode can use the device name of the said place end network equipment to replace; As: said source-end networks equipment is when carrying out MAC Ping to the said place end network equipment; The device name that can in order line, import the said place end network equipment replaces the MAC Address of the said place end network equipment, when generating MAC Ping message, according to said corresponding relation; MAC Address at the said place end network equipment that the device name of the said place end network equipment is corresponding adds in the target MAC (Media Access Control) address field of said MAC Ping message; Utilize this mode, use the easy to use and memory of device name of the place end network equipment, improved the maintainability of network.
It is thus clear that; Set up the method for corresponding relation in a kind of network that the embodiment of the invention provides; The place end network equipment sends to source-end networks equipment with the device name of the place end network equipment and the MAC Address of the place end network equipment; Source-end networks equipment is set up the corresponding relation of place end network equipment MAC Address and place end network equipment title, when the network manager when source-end networks equipment is safeguarded the place end network equipment, can use the device name of the place end network equipment to replace the MAC Address of place end network equipment; The device name of the place end network equipment is easy to use and memory with respect to MAC Address, has improved the maintainability of network.
Referring to Fig. 4, the embodiment of the invention provides the system that sets up corresponding relation in a kind of network, and said system comprises the place end network equipment 402 and source-end networks equipment 404, wherein:
The said place end network equipment 402 comprises:
Structural unit 406 is used to construct first message, and said first message carries the device name of the MAC Address and the said place end network equipment 402 of the said place end network equipment 402, the said place of the device name unique identification end network equipment of the said place end network equipment;
First transmitting element 408; Said first message that is used to send said structural unit 406 structures is to source-end networks equipment 404, so that said source-end networks equipment 404 is preserved the corresponding relation of device name of MAC Address and the said place end network equipment 402 of the said place end network equipment 402 according to said first message;
Said source-end networks equipment 404 comprises:
First receiving element 410; Be used to receive said first message that first transmitting element 408 of the said place end network equipment 402 sends; Said first message carries the device name of the MAC Address and the said place end network equipment 404 of the said place end network equipment 402, the said place of the device name unique identification end network equipment of the said place end network equipment;
Memory cell 412 is used for setting up according to said first message that said first receiving element 410 receives the corresponding relation of device name of MAC Address and the said place end network equipment 402 of the said place end network equipment 402.
Alternatively, the corresponding relation of the device name of the MAC Address of the said place end network equipment 402 and the said place end network equipment 402 can also can leave said memory cell 412 with the mode of file in the stored in form of list item in said memory cell 412.
Alternatively; After the corresponding relation of the MAC Address of the said place of the said memory cell 412 preservations end network equipment 402 and the device name of the said place end network equipment 402; Time of the said corresponding relation of recorded and stored also; Before preserving said corresponding relation,, then upgrade the time of preserving said corresponding relation if the corresponding relation of the device name of the MAC Address of the said place end network equipment 402 and the said place end network equipment 402 exists.When said corresponding relation does not upgrade above predefined time gate limit value, then according to aging said corresponding relation of the time of the said corresponding relation that writes down.
Optional, said first message can be the expansion to two-layer protocol message, and said two-layer protocol can be HGMP or STP or RRPP.So that the HGMP message is expanded to example, Fig. 2 shows the ethernet frame structure in the HGMP message, describes in the embodiment shown in fig. 1, repeats no more here.
The two-layer protocol message of expansion other types obtains the extended mode of said first message with similar to HGMP message extended mode; Also be that the packet type field in the ethernet frame structure in the corresponding two-layer protocol message is set at the value that is different from existing type of message, in the Payload field, comprise the device name of the said place end network equipment 402.
Alternatively; The said place end network equipment 402 can be announced the MAC Address and the device name of the said place end network equipment 402 to said source-end networks equipment 404 through the mode of initiatively announcement; Under this mode; DA_MAC field in said first message can value be multicast mac address or broadcasting MAC Address; The said place end network equipment 402 can regularly initiatively be announced the MAC Address and the device name of the said place end network equipment 402 to said source-end networks equipment 404, for example, whenever initiatively announces once at a distance from 10 minutes or 20 minutes.
Alternatively, the said place end network equipment 402 also can be with passive mode the MAC Address and the device name of the said place end network equipment 402 to be announced to said source-end networks equipment 404, and referring to Fig. 5, said source-end networks equipment 404 also comprises:
Second transmitting element 502; Be used for before said first receiving element 410 receives said first message of the said place end network equipment 402 transmissions; Send second message to the said place end network equipment 402; Said second message is used to ask obtain the device name of the MAC Address and the said place end network equipment 402 of the said place end network equipment 402; Said second message is a two-layer protocol message, and said first message is the response message of corresponding said second message, and the target MAC (Media Access Control) address of said first message is the MAC Address of said source-end networks equipment 404.
Correspondingly, the said place end network equipment 402 also comprises:
Second receiving element 504; Be used for before said first message of said structural unit 406 structures; Receive second message that said source-end networks equipment 404 sends; Said second message is used to ask obtain the device name of the MAC Address and the said place end network equipment 402 of the said place end network equipment 402; Said second message is a two-layer protocol message, and said first message is the response message of corresponding said second message, and the target MAC (Media Access Control) address of said first message is the MAC Address of said source-end networks equipment 404.
Alternatively, said second message can obtain through two-layer protocol message is expanded, and two-layer protocol can be HGMP or STP or RRPP.So that the HGMP message is expanded, Fig. 2 shows the ethernet frame structural representation in the HGMP message, in Figure 1A illustrated embodiment, describes, and repeats no more here.
The two-layer protocol message of expansion other types obtains the extended mode of said second message with similar to HGMP message extended mode; Also be that the DA_MAC field value in the ethernet frame structure in the corresponding two-layer protocol message can be multicast mac address or broadcasting MAC Address; SA_MAC field value is the MAC Address of said source-end networks equipment 404, and packet type field is set at has any different in existing type of message value.
Said first message and said second message are corresponding expansion with a kind of two-layer protocol message, for example, if said first message is that then said second message also is that the HGMP message is expanded to the expansion of HGMP message.
Alternatively, said source-end networks equipment 404 also comprises command process unit 602, referring to Fig. 6 or Fig. 6 A:
Said command process unit 602; Be used for after said memory cell 412 is set up the corresponding relation of device name of MAC Address and the said place end network equipment 402 of the said place end network equipment 402; Receive extended MAC Ping order; The device name that comprises the said place end network equipment 402 in the said extended MAC Ping order; The destination that the device name of the said place end network equipment 402 is used to identify said extended MAC Ping order is the said place end network equipment 402; According to said corresponding relation the device name of the place end network equipment 402 in the said extended MAC Ping order is replaced with the MAC Address of the said place end network equipment 402, and with the MAC Address of the said network equipment 402 target MAC (Media Access Control) address as the MAC Ping message of the said extended MAC Ping order of correspondence.
Set up the corresponding relation of device name of MAC Address and the said place end network equipment 402 of the said place end network equipment 402 when said source-end networks equipment 404 after; If the network manager is when the end network equipment 402 carries out maintenance management in 404 pairs of said places of said source-end networks equipment; When the MAC Address of the network equipment 402 that uses said Su Duan; A kind of mode is to find the MAC Address of the corresponding said place end network equipment 402 of the device name of the said place end network equipment 402 through checking said corresponding relation; Utilize this mode; No longer need remember the device mac address of the said place end network equipment 402; Can obtain the MAC Address of the said place end network equipment 402 through said corresponding relation as long as know the device name of the said place end network equipment 402; Another kind of mode can use the device name of the said place end network equipment 402 to replace, as: said source-end networks equipment 404 is when carrying out MAC Ping to the said place end network equipment 402, and the device name that can in order line, import the said place end network equipment 402 replaces the MAC Address of the said place end network equipment 402; Command process unit 602 receives extended MAC Ping order; When generating the MAC Ping message of corresponding said extended MAC Ping order, the corresponding relation of the MAC Address of the said place end network equipment of setting up according to memory cell 412 702 and the device name of the said place end network equipment 402 replaces with the device name of the said place end network equipment 402 in the said extended MAC Ping order MAC Address of the said place end network equipment 402; The MAC Address of again that the device name of the said place end network equipment 402 is the corresponding said place end network equipment 402 adds in the target MAC (Media Access Control) address field of message; Utilize this mode, use the easy to use and memory of device name of the place end network equipment, improved the maintainability of network.
Alternatively, the said source-end networks equipment and the said place end network equipment can be router or switch.
Alternatively; Structural unit 406, first transmitting element 408 and second receiving element 504 of the said place end network equipment 402 that the embodiment of the invention provides can be merged into one or more unit, and one or more unit can be merged in first receiving element 410, memory cell 412, second transmitting element 502 and the command process unit 602 of said source-end networks equipment 404.
It is thus clear that; Set up the system of corresponding relation in a kind of network that the embodiment of the invention provides; The place end network equipment sends to source-end networks equipment with the device name of the place end network equipment and the MAC Address of the place end network equipment; Source-end networks equipment is set up the corresponding relation of place end network equipment MAC Address and place end network equipment title, when the network manager when source-end networks equipment is safeguarded the place end network equipment, can use the device name of the place end network equipment to replace the MAC Address of place end network equipment; The device name of the place end network equipment is easy to use and memory with respect to MAC Address, has improved the maintainability of network.
Referring to Fig. 7, the embodiment of the invention provides the system that sets up corresponding relation in a kind of network, and said system comprises the place end network equipment 702 and source-end networks equipment 704, wherein:
The said place end network equipment 702 comprises:
Processor 706 is used to construct first message, and said first message carries the device name of the MAC Address and the said place end network equipment 702 of the said place end network equipment 702, the said place of the device name unique identification end network equipment of the said place end network equipment;
Transmitter 708; Said first message that is used to send processor 706 structures is to source-end networks equipment 704, so that said source-end networks equipment 704 is preserved the corresponding relation of device name of MAC Address and the said place end network equipment 702 of the said place end network equipment 702 according to said first message;
Said source-end networks equipment 704 comprises:
Receiver 710; Be used to receive said first message that the transmitter 708 of the said place end network equipment 702 sends; Said first message comprises the device name of the MAC Address and the said place end network equipment 704 of the said place end network equipment 702, and said first message is a two-layer protocol message;
Processor 712 is used for setting up according to said first message that said receiver 710 receives the corresponding relation of device name of MAC Address and the said place end network equipment 402 of the said place end network equipment 702;
Memory 714 is used to store the said corresponding relation that said processor 712 is set up.
Alternatively; Said memory 714 can (English full name be Random Access Memory for random access memory; English abbreviates RAM as) internal storage of type, the corresponding relation of the device name of the MAC Address of the said place end network equipment 702 and the said place end network equipment 702 with the stored in form of list item in said memory 714; Said memory 714 can be external memory storage; Specifically can (English full name be Compact Flash for hard disk or flash memory; English abbreviates CF as) card, the corresponding relation of the device name of the MAC Address of the said place end network equipment 702 and the said place end network equipment 702 leaves in the said memory 714 with the mode with file.
Alternatively; The said memory 714 deposited is preserved after the corresponding relation of device name of MAC Address and the said place end network equipment 702 of the said place end network equipment 402; Time of the said corresponding relation of recorded and stored also; Before preserving said corresponding relation,, then upgrade the time of preserving said corresponding relation if the corresponding relation of the device name of the MAC Address of the said place end network equipment 702 and the said place end network equipment 702 exists.When said corresponding relation does not upgrade above predefined time gate limit value, then according to aging said corresponding relation of the time of the said corresponding relation that writes down.
Optional, said first message can be the expansion to two-layer protocol message, and two-layer protocol can be HGMP or STP or RRPP.Described in the embodiment shown in fig. 1, repeated no more here.
Alternatively, the said place end network equipment 702 can be announced the MAC Address and the device name of the said place end network equipment 702 to said source-end networks equipment 704 through the mode of initiatively announcement, describes in the embodiment shown in fig. 1, repeats no more here.
Alternatively; The said place end network equipment 702 also can be with passive mode the MAC Address and the device name of the said place end network equipment 702 to be announced to said source-end networks equipment 704; Under this mode, said source-end networks equipment 704 also comprises transmitter 802, referring to Fig. 8:
Said transmitter 802; Be used for before said receiver 710 receives said first message of the said place end network equipment 702 transmissions; Send second message to the said place end network equipment 702; Said second message is used to ask obtain the device name of the MAC Address and the said place end network equipment 702 of the said place end network equipment 702; Said second message is an Ethernet message, and said first message is the response message of corresponding said second message, and the target MAC (Media Access Control) address of said first message is the MAC Address of said source-end networks equipment 704.
Correspondingly, the said place end network equipment 702 also comprises:
Receiver 804 is used for before said first message of said processor 706 structures, receiving said second message that said source-end networks equipment 704 sends.
Alternatively, said second message can be the expansion to two-layer protocol message, and said two-layer protocol can be HGMP or STP or RRPP.In Figure 1A illustrated embodiment, described, repeated no more here.
Alternatively; In Fig. 7 or the system that sets up corresponding relation shown in Figure 8; The processor 712 of said source-end networks equipment 704; Also be used for setting up the corresponding relation of device name of MAC Address and the said place end network equipment 702 of the said place end network equipment 702 at said processor 712; And after storing into said corresponding relation in the said memory 714; Receive extended MAC Ping order, comprise the device name of the said place end network equipment 702 in the said extended MAC Ping order, the destination that the device name of the said place end network equipment 702 is used to identify said extended MAC Ping order is the said place end network equipment 702; According to said corresponding relation the device name of the place end network equipment 702 in the said extended MAC Ping order is replaced with the MAC Address of the said place end network equipment 702, and with the MAC Address of the said network equipment 702 target MAC (Media Access Control) address as the MAC Ping message of the said extended MAC Ping order of correspondence.
Said source-end networks equipment 704 can be router or switch with the said place end network equipment 702.
Alternatively, above-mentioned processor 706 can be central processing unit (English full name is Central Processing Unit, and English abbreviates CPU as) with processor 712.Above-mentioned receiver 710, receiver 804, transmitter 708 and transmitter 802 can comprise the General Physics interface; Said physical interface can be ether (Ethernet) interface or asynchronous transfer mode (English full name is Asynchronous Transfer Mode, and English abbreviates ATM as) interface.Receiver 804, processor 706 and the transmitter 708 of the above-mentioned place end network equipment 702 can be integrated into one or more independently circuit or hardware; As: (English full name is Application Specific Integrated Circuit to application-specific integrated circuit (ASIC); English abbreviates ASIC as); The receiver 710 of above-mentioned source-end networks equipment 704, processor 712, transmitter 802 and memory 714 can be integrated into one or more independently circuit or hardware, as: ASIC.
It is thus clear that; Set up the system of corresponding relation in a kind of network that the embodiment of the invention provides; The place end network equipment sends to source-end networks equipment with the device name of the place end network equipment and the MAC Address of the place end network equipment; Source-end networks equipment is set up the corresponding relation of place end network equipment MAC Address and place end network equipment title, when the network manager when source-end networks equipment is safeguarded the place end network equipment, can use the device name of the place end network equipment to replace the MAC Address of place end network equipment; The device name of the place end network equipment is easy to use and memory with respect to MAC Address, has improved the maintainability of network.
" first " in first message of mentioning in the embodiment of the invention, first transmitting element and first receiving element just is used for doing name identification, do not represent first on the order; " second " in second message, second transmitting element, second receiving element also just is used for doing name identification, do not represent second on the order.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforementioned program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as read-only memory (English full name is read-only memory, and English abbreviates ROM as), RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to exemplary illustration technical scheme of the present invention, but not to its restriction; Although the beneficial effect that the present invention and the present invention bring has been carried out detailed explanation with reference to previous embodiment; Those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the scope of the essence disengaging claim of the present invention of relevant art scheme.

Claims (14)

1. set up the method for corresponding relation in the network, it is characterized in that, comprising:
The place end network equipment is constructed first message, and said first message carries the media access control MAC address of the said place end network equipment and the device name of the said place end network equipment, the said place of the device name unique identification end network equipment of the said place end network equipment;
Send said first message to source-end networks equipment, so that said source-end networks equipment is preserved the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment according to said first message.
2. method according to claim 1 is characterized in that, said first message is the expansion to two-layer protocol message, and said first message carries the MAC Address of the said place end network equipment and the device name of the said place end network equipment comprises:
Expand the type of message PacketType in a kind of Ether frame structure of said first message, be used to identify the device name that said first message carries the MAC Address and the said place end network equipment of the said place end network equipment;
The MAC Address of the said place end network equipment leaves in the source MAC field of Ether frame structure of said first message;
The device name of the said place end network equipment leaves in the message net load Payload field of Ether frame structure of said first message.
3. method according to claim 1 and 2 is characterized in that, before the said place end network equipment is constructed said first message, comprising:
Receive second message that said source-end networks equipment sends; Said second message is used to ask obtain the device name of the MAC Address and the said place end network equipment of the said place end network equipment; Said second message is a two-layer protocol message; Said first message is the response message of corresponding said second message, and the target MAC (Media Access Control) address of said first message is the MAC Address of said source-end networks equipment.
4. method according to claim 1 and 2 is characterized in that, the target MAC (Media Access Control) address of said first message is multicast mac address or broadcasting MAC Address.
5. set up the method for corresponding relation in the network, it is characterized in that, comprising:
Source-end networks equipment receives first message that the place end network equipment sends; Said first message carries the media access control MAC address of the said place end network equipment and the device name of the said place end network equipment, the said place of the device name unique identification end network equipment of the said place end network equipment;
Said source-end networks equipment is preserved the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment according to said first message.
6. method according to claim 5 is characterized in that, said first message is the expansion to two-layer protocol message, and said first message carries the MAC Address of the said place end network equipment and the device name of the said place end network equipment comprises:
Expand the type of message PacketType in a kind of Ether frame structure of said first message, be used to identify the device name that said first message carries the MAC Address and the said place end network equipment of the said place end network equipment;
The MAC Address of the said place end network equipment leaves in the source MAC field of Ether frame structure of said first message;
The device name of the said place end network equipment leaves in the message net load Payload field of Ether frame structure of said first message.
7. according to claim 5 or 6 described methods, it is characterized in that said source-end networks equipment receives before first message of said place end network equipment transmission, comprising:
Second message to the transmission of the said place end network equipment; Said second message is used to ask obtain the device name of the MAC Address and the said place end network equipment of the said place end network equipment; Said second message is a two-layer protocol message; Said first message is the response message of corresponding said second message, and the target MAC (Media Access Control) address of said first message is the MAC Address of said source-end networks equipment.
8. according to the described method of the arbitrary claim of claim 5 to 7, it is characterized in that, after the corresponding relation of the device name of said MAC Address and the said place end network equipment of setting up the said place end network equipment according to said first message, comprising:
Receive extended MAC Ping order; Said extended MAC Ping order comprises the device name of the said place end network equipment; The destination that the device name of the said place end network equipment is used to identify said extended MAC Ping order is the said place end network equipment; According to said corresponding relation the device name of the place end network equipment in the said extended MAC Ping order is replaced with the MAC Address of the said place end network equipment, and with the MAC Address of the said network equipment target MAC (Media Access Control) address as the MAC Ping message of the said extended MAC Ping order of correspondence.
9. a place end network equipment is characterized in that, the said place end network equipment comprises:
Structural unit; Be used to construct first message; Said first message carries the media access control MAC address of the said place end network equipment and the device name of the said place end network equipment, the said place of the device name unique identification end network equipment of the said place end network equipment;
First transmitting element; Said first message that is used to send said structural unit structure is to source-end networks equipment, so that said source-end networks equipment is preserved the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment according to said first message.
10. the place according to claim 9 end network equipment is characterized in that, the said place end network equipment also comprises:
Second receiving element; Be used for before said structural unit is constructed said first message; Receive second message that said source-end networks equipment sends, said second message is used to ask obtain the device name of the MAC Address and the said place end network equipment of the said place end network equipment, and said second message is a two-layer protocol message; Said first message is the response message of corresponding said second message, and the target MAC (Media Access Control) address of said first message is the MAC Address of said source-end networks equipment.
11. a source-end networks equipment is characterized in that, said source-end networks equipment comprises:
First receiving element; Be used to receive first message that the place end network equipment sends; Said first message carries the media access control MAC address of the said place end network equipment and the device name of the said place end network equipment, the said place of the device name unique identification end network equipment of the said place end network equipment;
Memory cell is used for preserving according to said first message that said first receiving element receives the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment.
12. source-end networks equipment according to claim 11 is characterized in that, said source-end networks equipment also comprises:
Second transmitting element; Be used for before said first receiving element receives said first message of said place end network equipment transmission; The end network equipment sends second message to said place; Said second message is used to ask obtain the device name of the MAC Address and the said place end network equipment of the said place end network equipment; Said second message is a two-layer protocol message, and said first message is the response message of corresponding said second message, and the target MAC (Media Access Control) address of said first message is the MAC Address of said source-end networks equipment.
13., it is characterized in that said source-end networks equipment also comprises according to claim 11 or 12 described source-end networks equipment:
The command process unit; Be used for after said memory cell is set up the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment; Receive extended MAC Ping order; The device name that comprises the said place end network equipment in the said extended MAC Ping order; The destination that the device name of the said place end network equipment is used to identify said extended MAC Ping order is the said place end network equipment; According to said corresponding relation the device name of the place end network equipment in the said extended MAC Ping order is replaced with the MAC Address of the said place end network equipment, and with the MAC Address of the said network equipment target MAC (Media Access Control) address as the MAC Ping message of the said extended MAC Ping order of correspondence.
14. set up the system of corresponding relation in the network, it is characterized in that said system comprises the place end network equipment and source-end networks equipment, wherein:
The said place end network equipment comprises:
Structural unit; Be used to construct first message; Said first message carries the media access control MAC address of the said place end network equipment and the device name of the said place end network equipment, the said place of the device name unique identification end network equipment of the said place end network equipment;
First transmitting element; Said first message that is used to send said structural unit structure is to source-end networks equipment, so that said source-end networks equipment is preserved the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment according to said first message;
Said source-end networks equipment comprises:
First receiving element is used to receive said first message that first transmitting element of the said place end network equipment sends;
Memory cell is used for preserving according to said first message that said first receiving element receives the corresponding relation of device name of MAC Address and the said place end network equipment of the said place end network equipment.
CN201210280467.7A 2012-07-30 2012-08-08 Method, network apparatus and system for establishing corresponding relation in networks Active CN102821047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210280467.7A CN102821047B (en) 2012-07-30 2012-08-08 Method, network apparatus and system for establishing corresponding relation in networks

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201210268198 2012-07-30
CN2012102681982 2012-07-30
CN201210268198.2 2012-07-30
CN201210280467.7A CN102821047B (en) 2012-07-30 2012-08-08 Method, network apparatus and system for establishing corresponding relation in networks

Publications (2)

Publication Number Publication Date
CN102821047A true CN102821047A (en) 2012-12-12
CN102821047B CN102821047B (en) 2015-06-03

Family

ID=47304908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210280467.7A Active CN102821047B (en) 2012-07-30 2012-08-08 Method, network apparatus and system for establishing corresponding relation in networks

Country Status (1)

Country Link
CN (1) CN102821047B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023094A (en) * 2014-06-13 2014-09-03 台安科技(无锡)有限公司 Method of avoiding selection obsession of communication module of local area network
CN104639667A (en) * 2014-12-31 2015-05-20 北京奇虎科技有限公司 Equipment identification method, equipment identification device and equipment identification system based on MAC address
CN115150801A (en) * 2022-09-05 2022-10-04 北京联盛德微电子有限责任公司 Inter-node communication method and system based on Bluetooth Mesh network

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040221041A1 (en) * 2003-04-29 2004-11-04 Bassam Tabbara Method and apparatus for discovering network devices
CN1592216A (en) * 2003-09-04 2005-03-09 华为技术有限公司 Method for high effectively searching network equipment address in network
US20070076616A1 (en) * 2005-10-04 2007-04-05 Alcatel Communication system hierarchical testing systems and methods - entity dependent automatic selection of tests
CN1968149A (en) * 2006-11-06 2007-05-23 华为技术有限公司 Mac Ping initiation method and system
CN101710869A (en) * 2009-12-18 2010-05-19 中兴通讯股份有限公司 Device and method for detecting two-layer virtual private network failures
US20120099574A1 (en) * 2010-10-25 2012-04-26 Buffalo Inc. Communication device, computer readable medium and relay method using same
CN102510414A (en) * 2011-11-17 2012-06-20 华为数字技术有限公司 Host name transfer method and device adopting same

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040221041A1 (en) * 2003-04-29 2004-11-04 Bassam Tabbara Method and apparatus for discovering network devices
CN1592216A (en) * 2003-09-04 2005-03-09 华为技术有限公司 Method for high effectively searching network equipment address in network
US20070076616A1 (en) * 2005-10-04 2007-04-05 Alcatel Communication system hierarchical testing systems and methods - entity dependent automatic selection of tests
CN1968149A (en) * 2006-11-06 2007-05-23 华为技术有限公司 Mac Ping initiation method and system
CN101710869A (en) * 2009-12-18 2010-05-19 中兴通讯股份有限公司 Device and method for detecting two-layer virtual private network failures
US20120099574A1 (en) * 2010-10-25 2012-04-26 Buffalo Inc. Communication device, computer readable medium and relay method using same
CN102510414A (en) * 2011-11-17 2012-06-20 华为数字技术有限公司 Host name transfer method and device adopting same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023094A (en) * 2014-06-13 2014-09-03 台安科技(无锡)有限公司 Method of avoiding selection obsession of communication module of local area network
CN104639667A (en) * 2014-12-31 2015-05-20 北京奇虎科技有限公司 Equipment identification method, equipment identification device and equipment identification system based on MAC address
CN104639667B (en) * 2014-12-31 2019-04-16 北京奇虎科技有限公司 A kind of device identification method based on MAC Address, device and system
CN115150801A (en) * 2022-09-05 2022-10-04 北京联盛德微电子有限责任公司 Inter-node communication method and system based on Bluetooth Mesh network
CN115150801B (en) * 2022-09-05 2022-12-23 北京联盛德微电子有限责任公司 Inter-node communication method and system based on Bluetooth Mesh network

Also Published As

Publication number Publication date
CN102821047B (en) 2015-06-03

Similar Documents

Publication Publication Date Title
CN104718723B (en) For the networking in virtual network and the frame of security service
US8718071B2 (en) Method to pass virtual local area network information in virtual station interface discovery and configuration protocol
US11012261B2 (en) Associating VXLANs with tunnels
WO2017054576A1 (en) Unicast tunnel building method, apparatus and system
CN103118149B (en) Communication control method between same tenant's server and the network equipment
US10924299B2 (en) Packet forwarding
JP2016522627A (en) Packet processing method and apparatus
CN105207909B (en) A kind of method and network equipment sending information
CN102413044A (en) Method, device, equipment and system for generating DHCP (Dynamic Host Configuration Protocol) Snooping binding table
US20140314100A1 (en) Mac address distribution
CN107659484A (en) From the method, apparatus and system of vlan network access VXLAN networks
CN103560957A (en) Table look-up key value construction method and microcode issuing method, device and system
CN102326370B (en) Message processing method, apparatus and system
CN101631060B (en) Method and device for managing edge port
CN102821047A (en) Method, network apparatus and system for establishing corresponding relation in networks
CN107896188A (en) Data forwarding method and device
CN108156034B (en) Message forwarding method and message forwarding system based on deep neural network assistance
CN101908982A (en) Detection method, device and system of VLAN (Virtual Local Area Network)
CN102821169A (en) Method and network device for creating MAC (multi-access computer) address table items in network
CN102332994B (en) Network topology discovery method, device, system and network management server
CN107070688B (en) Method for configuring node and node
CN102281171B (en) Loop detection method and equipment for two-layer network
CN112152854B (en) Information processing method and device
EP3913865B1 (en) Message decapsulation method and device, message encapsulation method and device, electronic device, and storage medium
CN104780089B (en) Message partition method and device

Legal Events

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