CN101197720B - Method and device for configuring Ethernet equipment - Google Patents
Method and device for configuring Ethernet equipment Download PDFInfo
- Publication number
- CN101197720B CN101197720B CN2007103014059A CN200710301405A CN101197720B CN 101197720 B CN101197720 B CN 101197720B CN 2007103014059 A CN2007103014059 A CN 2007103014059A CN 200710301405 A CN200710301405 A CN 200710301405A CN 101197720 B CN101197720 B CN 101197720B
- Authority
- CN
- China
- Prior art keywords
- ethernet
- producer
- configuration
- ethernet device
- virtual
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method and device of configuring Ethernet equipment, which belongs to the communication technical field. The method comprises the following steps: receiving a configuration command which contains the manufacturer identification of the Ethernet equipment to be configured; searching the coincidence relation between a preset manufacturer identification and a virtual Ethernet through taking the manufacturer identification as an index, and obtaining the virtual Ethernet corresponding to the manufacturer identification; sending the configuration command to the Ethernet equipment in the virtual Ethernet. The device comprises a receiving module, a searching module and a configuring module. The invention sends the configuration command to the Ethernet equipment in the virtual Ethernet corresponding to the preset manufacturer identification through the coincidence relation between the preset manufacturer identification and the virtual Ethernet, thereby enabling all Ethernet equipment in the manufacturer to configure related information according to the command, avoiding configuring the equipment one by one, greatly saving configuration time and workload, improving efficiency, and bringing about easier management and maintenance as well as easier network extension.
Description
Technical field
The present invention relates to communication technical field, particularly a kind of method and apparatus of configuration ethernet equipment.
Background technology
Owing to reasons such as ethernet technology is simple and easy to use, cheap, a large amount of ethernet devices that adopt in metropolitan area network.The ethernet device that all can occur a plurality of producers in the overwhelming majority metropolitan area network, some city even the ethernet device of tens producers occurs, and the function of each producer's equipment, specification, QOS (Quality of Service, service quality) strategy is all different, the warning information that produces is weave in also, and these have increased difficulty all for operator's management ethernet equipment.
Each ethernet device has a MAC (Media Access Control, medium access control) address at least.MAC Address is the integer of a 48bit (bit), as: 44-45-53-54-00-00, wherein the ethernet device coding of a producer of front 24bit representative is distributed unitedly by ethernet address management organization (IEEE).
The ethernet device that metropolitan area network is used, usually all be Ethernet switch, operator can not be every Ethernet switch configuration of IP (Internet Protocal, Internet Protocol) address, prior art generally adopts cluster mechanism to manage the Ethernet switch of metropolitan area network, wherein one is command switch, remaining switch is a member switch, configuration of IP address on command switch (this IP address is generally public network IP address), member switch does not need configuration of IP address, Network Management Equipment sends configuration order (as configuration information by network, QOS ability etc.) give command switch, handle earlier by command switch, if find that destination address is certain member switch, then to transmit configuration order and give this member switch, this member switch is received back execution relevant configuration information.After setting up cluster, also can unify the configuration log server usually for cluster, all log informations that the member switch of cluster inside produces all output on the log server by network.When the member switch output journal of cluster inside, warning information, at first daily record, warning information are directly exported to command switch, output on the log server into this cluster configuration by command switch.
For example, as shown in Figure 1, Network Management Equipment cluster management Ethernet switch is given member switch by the command switch distribution configuration command, and member switch is carried out relevant configuration information according to configuration order; The daily record that member switch is uploaded, warning information etc. send to log server by command switch.
In realizing process of the present invention, the inventor finds that above-mentioned prior art has following shortcoming at least:
There is the ethernet device of a large amount of different manufacturers to join in the cluster in the metropolitan area network, because function, specification and the QOS ability of the ethernet device of different manufacturers are all inequality, webmaster must manually dispose for each ethernet device and safeguard different configuration informations, cause easily too much makeing mistakes owing to ethernet device like this, and the workload of configuration is all very big, and efficient is lower.
Summary of the invention
In order to improve the efficient of configuration ethernet equipment, the embodiment of the invention provides a kind of method and apparatus of configuration ethernet equipment.Described technical scheme is as follows:
On the one hand, a kind of method of configuration ethernet equipment, described method comprises:
Receive configuration order, comprise the affiliated producer's sign of ethernet device to be configured in the described configuration order;
Be designated index with described producer, search default described corresponding relation, obtain sign corresponding virtual Ethernet with described producer;
Ethernet device in described virtual ethernet sends described configuration order.
On the other hand, a kind of device of configuration ethernet equipment, described device comprises:
Receiver module is used to receive configuration order, comprises the affiliated producer's sign of ethernet device to be configured in the described configuration order;
Search module, the producer that is used for the configuration order received with described receiver module is designated index, searches the default described corresponding relation that module is set up of setting up, and obtains the sign corresponding virtual Ethernet with described producer;
Configuration module is used for sending the configuration order that described receiver module is received to the described ethernet device of searching the virtual ethernet of module acquisition.
The beneficial effect of the technical scheme that the embodiment of the invention provides is:
By in the corresponding relation of default producer's sign and virtual ethernet, find the producer's sign corresponding virtual Ethernet in the configuration order, ethernet device in this virtual ethernet sends configuration order, makes the information that all ethernet devices in this virtual ethernet can both be relevant according to this command configuration.By issuing a configuration order, can make all ethernet devices of specifying in the producer all finish configuration effort, compare with the mode that disposes each ethernet device by platform in the prior art, the time and the workload of configuration have greatly been saved, improved efficient, reduced the probability of makeing mistakes, more manageable and safeguard, and be not subjected to producer's limited in number, even in the network capacity extension, there is the ethernet device of other producers to add, can not impact, can not increase the complexity of Network Management and maintenance yet prior network device.
Description of drawings
Fig. 1 is the schematic diagram that prior art adopts the Ethernet switch of cluster mechanism management metropolitan area network;
Fig. 2 is the method flow diagram of configuration ethernet equipment in vlan network that the embodiment of the invention 1 provides;
Fig. 3 is the schematic diagram of configuration ethernet equipment in vlan network that the embodiment of the invention 1 provides;
Fig. 4 is the method flow diagram of configuration ethernet equipment in the VPLS network that the embodiment of the invention 2 provides;
Fig. 5 is the schematic diagram of configuration ethernet equipment in the VPLS network that the embodiment of the invention 2 provides;
Fig. 6 is the method flow diagram of configuration ethernet equipment in the PBT network that the embodiment of the invention 3 provides;
Fig. 7 is the schematic diagram of configuration ethernet equipment in the PBT network that the embodiment of the invention 3 provides;
Fig. 8 is the structure drawing of device of the configuration ethernet equipment that provides of the embodiment of the invention 4.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
After the order ethernet device receives the configuration order of the producer's sign that comprises ethernet device to be configured in the embodiment of the invention, in the corresponding relation of producer's sign that sets in advance and virtual ethernet, find this producer to identify pairing virtual ethernet; And send this configuration order to the virtual ethernet that finds, make all ethernet devices in this virtual ethernet according to the relevant information of this configuration order configuration, thereby finish the configuration of ethernet device.
Ethernet device in the embodiment of the invention comprises that Ethernet switch etc. possesses the ethernet network device of function of exchange, transmission network comprises VLAN (Virtual Local Area Network, VLAN), VPLS (Virtual Private LANService, virtual special local area network is served) and PBT (Provider Backbone Transport, service provider's backbone transport) network.Virtual ethernet in the embodiment of the invention comprises VLAN, VSI (Virtual Switch Instance, virtual switch instance) and SI (Service Instance, Service Instance).Ethernet device is divided into two kinds of order ethernet device and member's ethernet devices, be connected with a plurality of member's ethernet devices below the common order ethernet device, configuration ethernet equipment is meant by the order ethernet device member's ethernet device is configured in the embodiment of the invention.
Be described in detail at three kinds of different transmission networks of VLAN, VPLS and PBT respectively below.
Embodiment 1
Transmission network is VLAN in the present embodiment, and the virtual ethernet of dividing for member's ethernet device is VLAN also, and referring to Fig. 2, the embodiment of the invention provides a kind of method of configuration ethernet equipment, specifically comprises:
Step 101: be the producer's information in the MAC Address of VLAN and member's ethernet device according to the type of transmission network, on the order ethernet device, for each producer divides different virtual ethernet VLAN, and set up VLAN and the corresponding relation of producer's sign, the i.e. corresponding relation between preceding 3 bytes and the VLAN sign (being VLAN-ID) in the MAC Address of configuration member's ethernet device divided.
Preceding 3 bytes in the MAC Address of member's ethernet device (i.e. 24 bits) can be used for distinguishing the information of different manufacturers, the MAC Address of the ethernet device of same producer all has identical preceding 3 bytes, and preceding 3 bytes of the MAC Address of the ethernet device of different manufacturers are then different.According to the producer's information in the MAC Address of member's ethernet device, can classify to member's ethernet device, member's ethernet device of same producer is divided among the VLAN.If a plurality of producers are arranged, then different producers is divided among the different VLAN, generally, there is relation one to one between producer and the VLAN.Discern by VLAN sign (as VLAN-ID) between the VLAN.For example, the 1 corresponding VLAN1 of producer wherein has member's ethernet device A and B, and the 2 corresponding VLAN2 of producer wherein have member's ethernet device C, D and E or the like.The corresponding relation of above-mentioned producer and VLAN can be specially preceding 3 bytes of MAC Address of member's ethernet device and the corresponding relation of VLAN-ID.
In addition, the producer's information set up when dividing VLAN on the order ethernet device and the corresponding relation of VLAN can generate in order ethernet device manual configuration, send to the order ethernet device after also can being configured by Network Management Equipment.
Step 102: the order ethernet device is collected the mac address information of member's ethernet device by network topology, according to the corresponding relation between producer that sets in advance and the VLAN, member's ethernet device is divided among the VLAN of affiliated producer correspondence, in each VLAN, member's ethernet device identifies by MAC Address.
For example, referring to Fig. 3, transmission network is a vlan network, and the order ethernet device generates 3 VLAN:VLAN1, VLAN2 and VLAN3, respectively corresponding producer 1, producer 2 and producer 3.After the order ethernet device is collected the mac address information of member's ethernet device, member's ethernet device 1 and 2 of producer 1 is divided among the VLAN1, member's ethernet device 3 and 4 of producer 2 is divided among the VLAN2 or the like.
Step 103: Network Management Equipment is to the order of order ethernet device transmission configuration member ethernet device, and appointment member's ethernet device to be configured is all member's ethernet devices of certain producer in should ordering.For example, the target MAC (Media Access Control) address in the order is set to broadcast MAC Address, has wherein comprised the information of producer, i.e. preceding 3 information that byte is this producer of MAC Address.
Because function, specification and the QOS etc. of member's ethernet device of same producer are identical, Network Management Equipment can generate an order at certain producer, issue this order and make all ethernet devices of this producer all finish configuration, as dispose function, specification and the QOS or the like of member's ethernet device of this producer.By issuing this order, can make all ethernet devices of this producer all finish configuration.
Step 104: the order ethernet device receives the order that Network Management Equipment is sent.
Step 105: the order ethernet device is in the corresponding relation of VLAN that sets up in advance and producer, find the pairing VLAN of the producer of appointment in the mentioned order, can find preceding 3 pairing VLAN of byte of the MAC Address of appointment in the order in the corresponding relation of preceding 3 bytes of MAC Address and VLAN-ID particularly.For example, having specified MAC Address in the order is the MAC Address of all ethernet devices of producer 1, then orders ethernet device to find the VLAN1 of producer's 1 correspondence in the VLAN that generates in advance.
Step 106: order ethernet device each the member's ethernet device in the VLAN that finds respectively sends mentioned order, promptly order ethernet device to obtain the MAC Address of each the member's ethernet device in this VLAN according to the VLAN that finds, according to the MAC Address of each member's ethernet device, clean culture issues above-mentioned configuration order then.
Step 107: after each the member's ethernet device in this VLAN is received mentioned order, the information relevant according to this command configuration.
When the configuration information of indivedual ethernet devices needs configuration separately, promptly with this VLAN in some difference of configuration information of other ethernet devices the time, dispose more strategy etc. as needs, then can specifically specify the device identification of the member's ethernet device that needs configuration during distribution configuration command, as target MAC (Media Access Control) address, correspondingly, order ethernet device member ethernet device corresponding with this device identification in the VLA that finds sends configuration order, and this member's ethernet device receives that the back is according to the relevant information of configuration order configuration.
Further, said method can also comprise following step:
Step 108: after the order ethernet device receives the daily record or warning information that member's ethernet device sends, from this daily record or warning information, extract producer's sign of member's ethernet device, be preceding 3 bytes in the extraction source MAC Address, thereby obtain the information of producer; According to the corresponding relation of the producer's sign that sets in advance, find the corresponding VLAN of this producer's sign with VLAN; Transmit daily record or the warning information received by this VLAN and give corresponding management equipment, be transmitted to Network Management Equipment as network management information, daily record and warning information are transmitted to log server, after log server is received, can daily record or warning information be stored, administer and maintain or the like by producer's classification according to producer's information.
Present embodiment is by dividing VLAN in advance and setting up and the corresponding relation of producer's sign, as preceding 3 bytes of the MAC Address by default member's ethernet device and the corresponding relation of VLAN-ID, producer's sign according to wherein appointment after receiving configuration order finds corresponding VLAN, each member's ethernet device in this VLAN sends this order, makes the information that all member's ethernet devices in this VLAN can both be relevant according to this command configuration.By issuing a configuration order, can make all member's ethernet devices of specifying in the producer all finish configuration effort, compare with the mode that disposes each ethernet device by platform in the prior art, the time and the workload of configuration have greatly been saved, improved efficient, reduced the probability of makeing mistakes, more manageable and safeguard, and be not subjected to producer's limited in number, even in the network capacity extension, there is the ethernet device of other producers to add, can not impact, can not increase the complexity of Network Management and maintenance yet prior network device.In addition, transmit the daily record and the warning information of the ethernet device of different manufacturers by different VLAN and give corresponding management equipment, make management equipment can distinguish producer, be convenient to maintenance and management.
Embodiment 2
Transmission network is the VPLS network in the present embodiment, and the virtual ethernet of dividing for member's ethernet device is VSI, and referring to Fig. 4, the embodiment of the invention provides a kind of method of configuration ethernet equipment, specifically comprises:
Step 201: be the producer's information in the MAC Address of VPLS and member's ethernet device according to the type of transmission network, on the order ethernet device, for each producer divides different virtual ethernet VSI, and set up VSI and the corresponding relation of producer's sign, the i.e. corresponding relation between preceding 3 bytes and the VSI sign (being VSI-ID) in the MAC Address of configuration member's ethernet device divided.
If a plurality of producers are arranged, then different producers is divided among the different VSI, there is corresponding relation between producer and the VSI.Identify by VSI between the VSI and discern, as discerning by VSI-ID.The corresponding relation of producer and VSI can be specially preceding 3 bytes of MAC Address of member's ethernet device and the corresponding relation of VSI-ID.In addition, the producer's information set up when dividing VSI on the order ethernet device and the corresponding relation of VSI can generate in order ethernet device manual configuration, send to the order ethernet device after also can being configured by Network Management Equipment.
Step 202: the order ethernet device is collected the mac address information of member's ethernet device by network topology, according to the corresponding relation between producer that sets in advance and the VSI, member's ethernet device is divided among the VSI of affiliated producer's correspondence, in each VSI, member's ethernet device identifies by MAC Address.
For example, referring to Fig. 5, transmission network is the VPLS network, and the order ethernet device generates 3 VSI, VSI1, VSI2 and VSI3, corresponding producer 1, producer 2 and producer 3 respectively; After the order ethernet device is collected the mac address information of member's ethernet device, member's ethernet device 1 and 2 of producer 1 is divided among the VSI1, member's ethernet device 3 and 4 of producer 2 is divided among the VSI2 or the like.
Step 203: Network Management Equipment sends the order of configuration member's ethernet device to the order ethernet device, and specifying member's ethernet device to be configured in should ordering is all member's ethernet devices of certain producer, is the broadcasting MAC Address as the target MAC (Media Access Control) address in the order.
Step 204: the order ethernet device receives the order that Network Management Equipment is sent.
Step 205: the order ethernet device is in the corresponding relation of producer that sets up in advance and VSI, find the pairing VSI of the producer of appointment in the mentioned order, as in the corresponding relation of preceding 3 bytes of the MAC Address of member's ethernet device and VSI-ID, find the VSI of preceding 3 byte correspondences of the MAC Address of appointment in the order.
Step 206: order ethernet device each the member's ethernet device in the VSI that finds respectively sends mentioned order, promptly order ethernet device to obtain the MAC Address of each the member's ethernet device in this VSI according to the VSI that finds, according to the MAC Address of each member's ethernet device, clean culture issues above-mentioned configuration order then.
Step 207: after each the member's ethernet device in this VSI is received mentioned order, the information relevant according to this command configuration.
When the configuration information of indivedual ethernet devices needs configuration separately, promptly with this VLAN in some difference of configuration information of other ethernet devices the time, dispose more strategy etc. as needs, then can specifically specify the device identification of the member's ethernet device that needs configuration during distribution configuration command, as target MAC (Media Access Control) address, correspondingly, order ethernet device member ethernet device corresponding with this device identification in the VLA that finds sends configuration order, and this member's ethernet device receives that the back is according to the relevant information of configuration order configuration.
Further, said method can also comprise following step:
Step 208: after the order ethernet device receives the daily record or warning information that member's ethernet device sends, from this daily record or warning information, extract producer's sign of member's ethernet device, be preceding 3 bytes in the extraction source MAC Address, thereby obtain the information of producer; According to the corresponding relation of the producer's sign that sets in advance, find the corresponding VSI of this producer's sign with VSI; Transmit daily record or the warning information received by this VSI and give corresponding management equipment, be transmitted to Network Management Equipment as network management information, daily record and warning information are transmitted to log server, after log server is received, can daily record or warning information be stored, administer and maintain or the like by producer's classification according to producer's information.
Present embodiment is by dividing VSI in advance and setting up and the corresponding relation of producer's sign, producer's sign according to wherein appointment after receiving configuration order finds corresponding VSI, each member's ethernet device in this VSI sends this order, makes the information that all member's ethernet devices in this VSI can both be relevant according to this command configuration.By issuing a configuration order, can make all member's ethernet devices of specifying in the producer all finish configuration effort, compare with the mode that disposes each ethernet device by platform in the prior art, the time and the workload of configuration have greatly been saved, improved efficient, reduced the probability of makeing mistakes, more manageable and safeguard, and be not subjected to producer's limited in number, even in the network capacity extension, there is the ethernet device of other producers to add, can not impact, can not increase the complexity of Network Management and maintenance yet prior network device.In addition, transmit the daily record and the warning information of the ethernet device of different manufacturers by different VSI and give corresponding management equipment, make management equipment can distinguish producer, be convenient to maintenance and management.
Embodiment 3
Transmission network is the PBT network in the present embodiment, and the virtual ethernet of dividing for member's ethernet device is SI, and referring to Fig. 6, the embodiment of the invention provides a kind of method of configuration ethernet equipment, specifically comprises:
Step 301: be the producer's sign in the MAC Address of PBT and member's ethernet device according to the type of transmission network, on the order ethernet device, for each producer divides different virtual ethernet SI, and set up SI and the corresponding relation of producer's sign, the i.e. corresponding relation between preceding 3 bytes and the SI sign (being SI-ID) in the MAC Address of configuration member's ethernet device divided.
If a plurality of producers are arranged, then different producers is divided among the different SI, there is corresponding relation between producer and the SI.Identify by SI between the SI and discern, as discerning by SI-ID.The corresponding relation of producer and SI can be specially preceding 3 bytes of MAC Address of member's ethernet device and the corresponding relation of SI-ID.In addition, the producer's information set up when dividing SI on the order ethernet device and the corresponding relation of SI can generate in order ethernet device manual configuration, send to the order ethernet device after also can being configured by Network Management Equipment.
Step 302: the order ethernet device is collected the mac address information of member's ethernet device by network topology, according to the corresponding relation between producer that sets in advance and the SI, member's ethernet device is divided among the SI of affiliated producer's correspondence, in each SI, member's ethernet device identifies by MAC Address.
For example, referring to Fig. 7, transmission network is the PBT network, and the order ethernet device generates 3 SI, SI1, SI2 and SI3, corresponding producer 1, producer 2 and producer 3 respectively; After the order ethernet device is collected the mac address information of member's ethernet device, member's ethernet device 1 and 2 of producer 1 is divided among the SI1, member's ethernet device 3 and 4 of producer 2 is divided among the SI2 or the like.
Step 303: Network Management Equipment sends the order of configuration member's ethernet device to the order ethernet device, and specifying member's ethernet device to be configured in should ordering is all member's ethernet devices of certain producer, is the broadcasting MAC Address as the target MAC (Media Access Control) address in the order.
Step 304: the order ethernet device receives the order that Network Management Equipment is sent.
Step 305: the order ethernet device is in the corresponding relation of SI that sets up in advance and producer, find the pairing SI of the producer of appointment in the mentioned order, as in the corresponding relation of preceding 3 bytes of the MAC Address of member's ethernet device and SI-ID, find the SI of preceding 3 byte correspondences of the MAC Address of appointment in the order.
Step 306: order ethernet device each the member's ethernet device in the SI that finds respectively sends mentioned order, promptly order ethernet device to obtain the MAC Address of each the member's ethernet device in this SI according to the SI that finds, according to the MAC Address of each member's ethernet device, clean culture issues above-mentioned configuration order then.
Step 307: after each the member's ethernet device in this SI is received mentioned order, the information relevant according to this command configuration.
When the configuration information of indivedual ethernet devices needs configuration separately, promptly with this VLAN in some difference of configuration information of other ethernet devices the time, dispose more strategy etc. as needs, then can specifically specify the device identification of the member's ethernet device that needs configuration during distribution configuration command, as target MAC (Media Access Control) address, correspondingly, order ethernet device member ethernet device corresponding with this device identification in the VLA that finds sends configuration order, and this member's ethernet device receives that the back is according to the relevant information of configuration order configuration.
Further, said method can also comprise following step:
Step 308: after the order ethernet device receives the daily record or warning information that member's ethernet device sends, from this daily record or warning information, extract producer's sign of member's ethernet device, be preceding 3 bytes in the extraction source MAC Address, thereby obtain the information of producer; According to the corresponding relation of the producer's sign that sets in advance, find the corresponding SI of this producer's sign with SI; Transmit daily record or the warning information received by this SI and give corresponding management equipment, be transmitted to Network Management Equipment as network management information, daily record and warning information are transmitted to log server, after log server is received, can daily record or warning information be stored, administer and maintain or the like by producer's classification according to producer's information.
Present embodiment is by dividing SI in advance and setting up and the corresponding relation of producer's sign, producer's sign according to wherein appointment after receiving configuration order finds corresponding SI, each member's ethernet device in this SI sends this order, makes the information that all member's ethernet devices in this SI can both be relevant according to this command configuration.By issuing a configuration order, can make all member's ethernet devices of specifying in the producer all finish configuration effort, compare with the mode that disposes each ethernet device by platform in the prior art, the time and the workload of configuration have greatly been saved, improved efficient, reduced the probability of makeing mistakes, more manageable and safeguard, and be not subjected to producer's limited in number, even in the network capacity extension, there is the ethernet device of other producers to add, can not impact, can not increase the complexity of Network Management and maintenance yet prior network device.In addition, transmit the daily record and the warning information of the ethernet device of different manufacturers by different SI and give corresponding management equipment, make management equipment can distinguish producer, be convenient to maintenance and management.
Embodiment 4
Referring to Fig. 8, the embodiment of the invention also provides a kind of device of configuration ethernet equipment, specifically comprises:
Receiver module is used to receive configuration order, comprises the affiliated producer's sign of ethernet device to be configured in the configuration order;
Search module, the producer that is used for the configuration order received with receiver module is designated index, searches the default producer's sign and the corresponding relation of virtual ethernet, obtains the sign corresponding virtual Ethernet with producer;
Configuration module is used for the configuration order of receiving to the ethernet device sending/receiving module of the virtual ethernet of searching the module acquisition.
Further, said apparatus also comprises:
Set up module, be used for dividing corresponding virtual ethernet for each producer, and set up the corresponding relation of virtual ethernet and producer's sign according to the type of transmission network;
Divide module, be used to collect the mac address information of the ethernet device of each producer,, the ethernet device of collecting be divided in the corresponding virtual Ethernet according to setting up the corresponding relation that module is set up, in each virtual ethernet, ethernet device identifies by MAC Address.Correspondingly, during the configuration module distribution configuration command,, obtain the MAC Address of each ethernet device in this virtual ethernet according to searching the virtual ethernet that module obtains, according to the MAC Address of each ethernet device, the configuration order that transmitting/receiving module is received under the clean culture.
Wherein, also comprise the device identification of ethernet device to be configured in the configuration order that receiver module is received;
Correspondingly, configuration module specifically is used for to searching the virtual ethernet ethernet device transmission configuration order corresponding with device identification that module obtains.
Further, said apparatus also comprises:
Processing module is used for after receiving the daily record or warning information that ethernet device sends, and extracts producer's sign of ethernet device from daily record or warning information, as preceding 3 bytes of extraction source MAC Address; In the corresponding relation of default producer's sign and virtual ethernet, find producer's sign corresponding virtual Ethernet; Give corresponding management equipment by virtual ethernet forwarding daily record or warning information, as Network Management Equipment or log server or the like.
The corresponding relation of virtual ethernet and producer can be specially the identification information (as ID) of virtual ethernet and the corresponding relation of preceding 3 bytes of the MAC Address of ethernet device in the present embodiment.
Present embodiment identifies the producer sign corresponding virtual Ethernet that in corresponding virtual Ethernet find in configuration order appointment what divide in advance with producer by configuration module, each member's ethernet device in this virtual ethernet sends this order, makes the information that all ethernet devices in this virtual ethernet can both be relevant according to this command configuration.By issuing a configuration order, can make all ethernet devices of specifying in the producer all finish configuration effort, compare with the mode that disposes each ethernet device by platform in the prior art, the time and the workload of configuration have greatly been saved, improved efficient, reduced the probability of makeing mistakes, more manageable and safeguard, and be not subjected to producer's limited in number, even in the network capacity extension, there is the ethernet device of other producers to add, can not impact, can not increase the complexity of Network Management and maintenance yet prior network device.In addition, processing module is transmitted the daily record and the warning information of the ethernet device of different manufacturers and is given corresponding management equipment by different virtual ethernets, make management equipment can distinguish producer, is convenient to maintenance and management.
The embodiment of the invention can utilize software to realize, corresponding software can be stored in the storage medium that can read, in the hard disk or buffer memory as switch.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. the method for a configuration ethernet equipment is characterized in that, described method comprises:
Type according to transmission network is divided corresponding virtual ethernet for each producer, and sets up the corresponding relation of described virtual ethernet and producer's sign;
Collect the mac address information of the ethernet device of each producer,, described ethernet device is divided in the corresponding virtual Ethernet according to described corresponding relation;
Receive configuration order, comprise the affiliated producer's sign of ethernet device to be configured in the described configuration order;
Be designated index with described producer, search default described corresponding relation, obtain sign corresponding virtual Ethernet with described producer;
Ethernet device in described virtual ethernet sends described configuration order.
2. the method for configuration ethernet equipment according to claim 1 is characterized in that, described type according to transmission network specifically comprises for each producer divides corresponding virtual ethernet:
When transmission network is VLAN, for each producer divides corresponding VLAN;
Or when transmission network is virtual private LAN service network, for each producer divides corresponding virtual switch instance;
Or when transmission network is service provider's backbone transport network, for each producer divides corresponding Service Instance.
3. the method for configuration ethernet equipment according to claim 1 is characterized in that, described producer identifies preceding 3 bytes in the MAC Address that is specially member's ethernet device.
4. the method for configuration ethernet equipment according to claim 1 is characterized in that, also comprises the device identification of ethernet device to be configured in the described configuration order;
Correspondingly, described ethernet device in described virtual ethernet sends described configuration order, is specially:
Ethernet device corresponding with described device identification in described virtual ethernet sends described configuration order.
5. according to the method for the described configuration ethernet equipment of arbitrary claim in the claim 1 to 4, it is characterized in that described method also comprises:
After receiving the daily record or warning information that ethernet device sends, from described daily record or warning information, extract producer's sign of described ethernet device;
In the corresponding relation of default producer's sign and virtual ethernet, find described producer sign corresponding virtual Ethernet;
Transmit described daily record or warning information by the described virtual ethernet that finds and give corresponding management equipment.
6. the device of a configuration ethernet equipment is characterized in that, described device comprises:
Set up module, be used for dividing corresponding virtual ethernet for each producer, and set up the corresponding relation of described virtual ethernet and producer's sign according to the type of transmission network;
Divide module, be used to collect the mac address information of the ethernet device of each producer, set up the corresponding relation that module is set up, described ethernet device is divided in the corresponding virtual Ethernet according to described;
Receiver module is used to receive configuration order, comprises the affiliated producer's sign of ethernet device to be configured in the described configuration order;
Search module, the producer that is used for the configuration order received with described receiver module is designated index, searches the default described corresponding relation that module is set up of setting up, and obtains the sign corresponding virtual Ethernet with described producer;
Configuration module is used for sending the configuration order that described receiver module is received to the described ethernet device of searching the virtual ethernet of module acquisition.
7. the device of configuration ethernet equipment according to claim 6 is characterized in that, also comprises the device identification of ethernet device to be configured in the configuration order that described receiver module is received;
Correspondingly, described configuration module specifically is used for sending described configuration order to the described virtual ethernet ethernet device corresponding with described device identification of searching the module acquisition.
8. according to the device of claim 6 or 7 described configuration ethernet equipment, it is characterized in that described device also comprises:
Processing module is used for after receiving the daily record or warning information that ethernet device sends, and extracts producer's sign of described ethernet device from described daily record or warning information; In the corresponding relation of default producer's sign and virtual ethernet, find described producer sign corresponding virtual Ethernet; Transmit described daily record or warning information by described virtual ethernet and give corresponding management equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007103014059A CN101197720B (en) | 2007-12-27 | 2007-12-27 | Method and device for configuring Ethernet equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007103014059A CN101197720B (en) | 2007-12-27 | 2007-12-27 | Method and device for configuring Ethernet equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101197720A CN101197720A (en) | 2008-06-11 |
CN101197720B true CN101197720B (en) | 2010-06-23 |
Family
ID=39547884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007103014059A Expired - Fee Related CN101197720B (en) | 2007-12-27 | 2007-12-27 | Method and device for configuring Ethernet equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101197720B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376090A (en) * | 2015-10-27 | 2016-03-02 | 上海斐讯数据通信技术有限公司 | Switch configuration and display methods, switch configuration and display systems, switch and control device |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102255762A (en) * | 2011-08-25 | 2011-11-23 | 华为技术有限公司 | Method and device for constructing network example |
CN103139017B (en) * | 2013-02-28 | 2017-11-24 | 上海斐讯数据通信技术有限公司 | The test system and method for a kind of network equipment |
CN107357597B (en) * | 2016-05-10 | 2021-11-12 | 霍尼韦尔环境自控产品(天津)有限公司 | Method for configuring batch equipment |
US10581673B2 (en) * | 2017-03-08 | 2020-03-03 | Futurewei Technologies, Inc. | Abstracting wireless device to virtual Ethernet interface |
CN110191043B (en) * | 2019-05-23 | 2021-08-27 | 北京永信至诚科技股份有限公司 | VLAN (virtual local area network) dividing method and system for urban network target range |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1505322A (en) * | 2002-12-04 | 2004-06-16 | ��Ϊ��������˾ | A management method of network device |
CN1514590A (en) * | 2002-12-31 | 2004-07-21 | 深圳市中兴通讯股份有限公司上海第二 | Sevice quality control/device and method based on virtual network marker |
CN1863089A (en) * | 2006-04-17 | 2006-11-15 | 华为技术有限公司 | Method for configurating slave node of virtual LAN |
-
2007
- 2007-12-27 CN CN2007103014059A patent/CN101197720B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1505322A (en) * | 2002-12-04 | 2004-06-16 | ��Ϊ��������˾ | A management method of network device |
CN1514590A (en) * | 2002-12-31 | 2004-07-21 | 深圳市中兴通讯股份有限公司上海第二 | Sevice quality control/device and method based on virtual network marker |
CN1863089A (en) * | 2006-04-17 | 2006-11-15 | 华为技术有限公司 | Method for configurating slave node of virtual LAN |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376090A (en) * | 2015-10-27 | 2016-03-02 | 上海斐讯数据通信技术有限公司 | Switch configuration and display methods, switch configuration and display systems, switch and control device |
CN105376090B (en) * | 2015-10-27 | 2019-05-31 | 上海斐讯数据通信技术有限公司 | Method, system and the interchanger of interchanger configuration and display, control equipment |
Also Published As
Publication number | Publication date |
---|---|
CN101197720A (en) | 2008-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8031640B2 (en) | Packet transmission apparatus, packet forwarding method and packet transmission system | |
CN1943190B (en) | Flooding suppression method | |
JP4898812B2 (en) | Promoting service quality differentiation in Ethernet passive optical networks | |
CN101197720B (en) | Method and device for configuring Ethernet equipment | |
US9154330B2 (en) | Method and device of link aggregation and method and system for transceiving MAC frames | |
TWI559705B (en) | Unified network management of hybrid fiber coaxial (hfc) network | |
US7869432B1 (en) | Peer-to-peer link aggregation across a service provider network | |
CN104581419B (en) | Double net implementation methods based on android Intelligent set top boxes | |
CN101335708B (en) | Packet forwarding method and operator edge converging equipment | |
CN102355610B (en) | Method for implementing circuit identification in optical network unit (ONU) system based on EOC (Ethernet over Coaxial cable) | |
JP5295273B2 (en) | Data stream filtering apparatus and method | |
CN101848186B (en) | Three-layer plastic optical fiber Ethernet switch | |
CN101227404B (en) | Method and apparatus for in-band managing for Ethernet switch without network manage | |
EP3817286A1 (en) | Method and apparatus for generating network topology | |
CN102857428A (en) | Message transmitting method and message transmitting equipment on basis of access control list | |
US20020034962A1 (en) | Subscriber wireless access system | |
CN102104528B (en) | Network system applied in rural area and service message transmission method | |
CN102916874B (en) | A kind of file transmitting method and equipment | |
JP2010268322A (en) | Information distribution system and information distribution method | |
CN112003685B (en) | Flexible Ethernet message forwarding method and device | |
CN106375100A (en) | Multicast realization method and device in video monitoring system | |
CN102932228A (en) | Communication method, device and system for TRILL (Transparent Interconnection of Lots of Links) network | |
CN100493031C (en) | Method for realizing two and three layer compatibility RPR network up ring and down ring treatment | |
WO2019061269A1 (en) | Pspupv implementation for docsis access network | |
CN202696628U (en) | Network optimization system |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100623 Termination date: 20181227 |