CN101242252B - Method for realizing dual-link redundancy backup of network device based on Combo interface - Google Patents
Method for realizing dual-link redundancy backup of network device based on Combo interface Download PDFInfo
- Publication number
- CN101242252B CN101242252B CN2007100035528A CN200710003552A CN101242252B CN 101242252 B CN101242252 B CN 101242252B CN 2007100035528 A CN2007100035528 A CN 2007100035528A CN 200710003552 A CN200710003552 A CN 200710003552A CN 101242252 B CN101242252 B CN 101242252B
- Authority
- CN
- China
- Prior art keywords
- interface
- link
- gigabit
- network equipment
- combo
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a network equipment field, especially to a method for realizing two-way link redundancy backup of a network equipment by using a Combo interface, specifically comprising: networking the network equipments for establishing a giga optical interface link and a giga electrical interface link by optical fiber and netting twine; starting the network equipments for selecting an operating mode of PHY chip by setting the value of a register in PHY chip, and then determining the principal and subordinate links; automatically detecting PHY chip to judging whether the principal link normally works, if the principal link normal works, starting a normal receiving and sending of data message, and if the principal link can not normal work, switching to the subordinate link for a normal receiving and sending of data message. The invention can provides a two-way link backup function without reducing the number of available interfaces, and reduce the complex degree of the operation process.
Description
Technical field
The invention belongs to network equipment field, be specifically related to a kind of method that in network equipment networking process, realizes the network interface link backup, specifically is through using the Combo interface to realize the dual link redundancy backup of gigabit business interface.
Background technology
In carrying out the networking process of the network equipment, for important service link, generally needing to adopt two separate links is that dual link is carried out redundancy backup, and dual mode is generally arranged at present:
First kind is to adopt two links of principal and subordinate, and primary link work is not just often worked from link, has only after the primary link failover is broken off just can start from link, switches timely, guarantees that with this user service flow amount is unaffected.
Fig. 1 is seen in concrete method of attachment, and the interface 1 of equipment 1 is connected with the interface 1 of equipment 2, is set to primary link; The interface 2 of equipment 1 is connected with the interface 2 of equipment 2, is set to from link, and device start, the sending and receiving of data message are carried out in primary link work, are in connection status from link, but do not carry out the transmission of any data message.When primary link breaks down, in the time of can not carrying out the normal transmitting-receiving of data,, replace primary link to carry out the transmitting-receiving of data message from link startup.
Second kind is the link backup mode of balancing flow, and just often, two links are worked simultaneously, and every link is shared the half the of total service traffics, and when wherein a link broke off, all service traffics all switched on the link that does not break down.
Fig. 1 is seen in concrete method of attachment, and the interface 1 of equipment 1 is connected with the interface 1 of equipment 2, is set to link 1; The interface 2 of equipment 1 is connected with the interface 2 of equipment 2, is set to link 2, device start; Link 1 carries out the reception of data message; Link 2 carries out the transmission of data message, when link 1 breaks down, in the time of can not carrying out the reception of data message; The reception work of data message moves on the link 2 to be carried out, and promptly link 2 is born the reception and the transmission of data message.
Be illustrated in figure 1 as in the dual link fallback circuit structure; Adopt above-mentioned two kinds of methods to carry out the dual link backup, every equipment all need use two fully independently interfaces, like this when circuit is designed; Just require circuit to comprise complete MAC (the Media Access Control of two covers; MAC sublayer) and PHY (physical layer) chip, increased the cost of product, because a cover MAC and PHY chip can only provide an interface in these two kinds of methods; And link backup needs two interfaces to realize; Therefore can offer two effective business interfaces of user originally, in fact just as an interface using, reduced the valid interface quantity that can offer the user like this.
Aforesaid two kinds of link backup modes, when equipment carries out three layers of route switching, i.e. configuration of IP (Internet Protocol; Internet protocol) address and MAC Address; Since adopt 2 fully independently interface backup each other, so each link all need dispose different IP address and MAC Address, when two links switch; List items such as corresponding route also need upgrade, and have increased operation complexity so undoubtedly.
As shown in Figure 1, primary link is provided with IP1 and MAC1, is set to IP2 and MAC2 from link.When device start; Primary link is in normal operating conditions, when beginning to have data to receive and dispatch, sets up corresponding route table items; Wherein relevant information comprises IP1, and the data message that receives from the interface 1 of primary link all can carry out the forwarding of data message according to this route table items.When primary link broke down, from link startup, this moment, data message was taken in from the interface 2 from link, because therefore the list item of not being correlated with therewith in the routing table needs software processes to set up new list item, the information that comprises comprises IP2.And, therefore need regular deleting for obsolete list item owing to deposit the limited storage space of Lu Youbiao in the equipment.Therefore, after the deletion time has been set in wait, could will comprise the route table items deletion of P1, concrete steps are following: 1, set up the route table items that comprises information IP1; 2, set up the route table items that comprises information IP2; 3, deletion comprises the route table items of information IP1.
Summary of the invention
The present invention specifically is achieved in that
Utilize the Combo interface to realize the method for network equipment dual link redundancy backup, comprise the steps:
Step 1 realizes the connection of Combo interface;
Step 2, network equipment networking uses optical fiber and netting twine to set up gigabit light mouth interface link and gigabit electricity mouthful interface link;
Step 3 starts the network equipment, selects the mode of operation of physical chip and then definite principal and subordinate's link through the value of setting the register in the physical chip;
Step 4, physical chip detects automatically, judges whether operate as normal of primary link, if the primary link operate as normal then begins to carry out the transmitting-receiving of normal data message, the primary link cisco unity malfunction then switches to the transmitting-receiving that begins to carry out normal data message from link.
Said step 1 specifically comprises the steps:
(1) selects the gigabit physical chip, a serial/separate serial line interface and an electricity mouthful interface are provided;
(2) serial/separate serial line interface to be connected with gigabit light mouth interface;
(3) electricity mouthful interface is connected with a gigabit electricity mouthful interface through the gigabit transformer.
The said method of utilizing the Combo interface to realize network equipment dual link redundancy backup, in the said step 3:
Through the priority of gigabit light mouth interface, gigabit electricity mouthful two interfaces of interface is set, confirm corresponding master and slave link.
The present invention proposes a kind of method that realizes the backup of network equipment dual link, through the function that the method can provide dual link to back up, can not reduce user's valid interface quantity again, has also reduced the complexity of operating process.
Description of drawings
Fig. 1 is the double link structure sketch map;
Fig. 2 realizes sketch map for the interface section circuit;
Fig. 3 is a Combo interface section circuit diagram;
Fig. 4 specifically realizes circuit diagram for the Combo interface;
Fig. 5 realizes dual link back-up job flow chart for the Combo interface.
Embodiment
Do further detailed description below in conjunction with accompanying drawing to inventing said method.
The present invention improves to the method for first kind of dual link backup; One cover MAC and PHY chip can be drawn two physical interfaces; Comprise a gigabit optical interface and a gigabit electrical interface; Once cover MAC and PHY chip effective dual link backup functionality can be provided like this, avoid before owing to carrying out the problem that link backup has reduced effective port number of user, this improvement just is to use the Combo interface to realize.
And in the present invention; Because two interfaces are a shared cover MAC and PHY chips; Therefore only need a cover IP and MAC Address to get final product, promptly interface 1 all is IP1 and MAC1 with interface 2, even therefore the primary link of interface 1 breaks down; Switch to interface 2 from link, need not rebulid new route table items and the old route table items of deletion yet.During concrete operations, only need to set up the route table items that comprises information IP1, reduced operating procedure, reduced complexity.
Gigabit PHY chip provides Serdes (serial/separate serial) interface and gigabit electricity mouthful interface simultaneously.Draw a gigabit light mouth interface through the Serdes interface; Draw a gigabit electrical interface through a gigabit electricity mouthful interface; These two interfaces can not be in the state of data transmit-receive simultaneously, and the user need be provided with 2 registers of PHY chip after the normal startup of equipment, and is specific as follows:
1, register 1 is provided with the interface mode of operation of PHY, and 3 kinds of patterns are arranged, and example is following:
Register value | Mode of operation |
00 | Interface only can work in gigabit electricity mouthful pattern |
01 | Interface only can work in gigabit light mouth pattern |
10 | Interface can work in the auto pattern |
11 | Keep, do not provide the user to be provided with |
2, register 2 is used to be provided with the status of primary link of light mouth and electricity mouth, and only the value at register 1 is set at 01 o'clock, and being provided with just of this register can come into force.
Register value | Priority |
0 | Gigabit light mouth is a primary link |
1 | Gigabit electricity mouth is a primary link |
For example: gigabit light mouth interface priority is set is higher than gigabit electricity mouthful interface, the user connects gigabit light mouth interface and gigabit electricity mouthful interface simultaneously, and when gigabit light mouth interface link was in connection status, gigabit light mouth was a primary link, and a gigabit electricity mouthful interface is from link.When gigabit light mouth interface link fault was broken off, the PHY chip promptly automatically switched under the mode of operation of gigabit electricity mouth, and after 3 seconds, a gigabit electricity mouthful interface becomes primary link and begins operate as normal.
The concrete performing step of Combo interface is following among the present invention:
1, select the PHY chip, requirement can provide a Serdes interface and an electricity mouthful interface;
2, Serdes interface signal and light mouth interface signal are connected realization gigabit light mouth interface one by one;
3, electricity mouthful interface is connected with an electricity mouthful module through the gigabit transformer, realizes gigabit electricity mouthful interface;
The concrete steps of the method for the invention are following:
Step 1 realizes the connection of Combo interface;
Step 2 when equipment network, uses optical fiber and netting twine to set up gigabit light mouth interface link and gigabit electricity mouthful interface link;
Step 3, device start, the register 1 that is provided with in the PHY chip is set to 10; The value of register 2 is if be set to 0, and then gigabit light mouth interface link is a primary link, if be set to 1, then a gigabit electricity mouthful interface link is from link;
Step 4, PHY detects automatically, but primary link operate as normal whether, but the primary link operate as normal then begins to carry out the transmitting-receiving of normal data message, and the primary link cisco unity malfunction then switches to from link and starts working.
In network, data and message transmission is discerned according to its purpose IP address, and each MAC chip all has oneself an IP address, and 2 MAC chips use same IP address, can cause the conflict of network ip address, are unallowed.And a gigabit light mouth interface and gigabit electricity mouthful interface is a shared cover MAC and a PHY chip among the present invention; As shown in Figure 4; Therefore these two interfaces use common IP address, and when primary link failure caused from link startup, software need not done any operation to the list item of equipment.
Comparison diagram 3 and 2 kinds of used chips of Fig. 4; Because the function that the used PHY chip of Fig. 3 can not provide Serdes interface and electricity mouthful interface to use jointly; Therefore a cover MAC and PHY chip can only provide a gigabit light mouth or a gigabit electricity mouth; Can not form master and slave link and carry out work, if the function of realistic existing master and slave link backup then needs two cover MAC and PHY chips.And the used PHY chip of Fig. 4 has the function that Serdes interface and electric mouthful interface can use jointly, and therefore a cover MAC and PHY chip can provide a gigabit Guang Kou and the electric mouth of gigabit, can form master and slave link and carry out work.
To sum up, realize the backup functionality of master and slave link equally, the present invention can save 50% cost, and available valid interface number has increased by 50%.
Claims (3)
1. utilize the Combo interface to realize the method for network equipment dual link redundancy backup, it is characterized in that, comprise the steps:
Step 1 realizes the connection of Combo interface;
Step 2, network equipment networking uses optical fiber and netting twine to set up gigabit light mouth interface link and gigabit electricity mouthful interface link;
Step 3 starts the network equipment, selects the mode of operation of physical chip and then definite principal and subordinate's link through the value of setting the register in the physical chip;
Step 4, physical chip detects automatically, judges whether operate as normal of primary link, if the primary link operate as normal then begins to carry out the transmitting-receiving of normal data message, the primary link cisco unity malfunction then switches to the transmitting-receiving that begins to carry out normal data message from link.
2. the method for utilizing the Combo interface to realize network equipment dual link redundancy backup as claimed in claim 1, it is characterized in that: said step 1 specifically comprises the steps:
(1) selects the gigabit physical chip, a serial/separate serial line interface and an electricity mouthful interface are provided;
(2) serial/separate serial line interface to be connected with gigabit light mouth interface
(3) electricity mouthful interface is connected with a gigabit electricity mouthful interface through the gigabit transformer.
3. according to claim 1 or claim 2 the Combo interface that utilizes is realized the method for network equipment dual link redundancy backup; It is characterized in that; In the said step 3,, confirm corresponding master and slave link through the priority of gigabit light mouth interface, gigabit electricity mouthful two interfaces of interface is set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100035528A CN101242252B (en) | 2007-02-08 | 2007-02-08 | Method for realizing dual-link redundancy backup of network device based on Combo interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100035528A CN101242252B (en) | 2007-02-08 | 2007-02-08 | Method for realizing dual-link redundancy backup of network device based on Combo interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101242252A CN101242252A (en) | 2008-08-13 |
CN101242252B true CN101242252B (en) | 2012-05-09 |
Family
ID=39933484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007100035528A Active CN101242252B (en) | 2007-02-08 | 2007-02-08 | Method for realizing dual-link redundancy backup of network device based on Combo interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101242252B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2519443B (en) * | 2013-07-05 | 2021-07-21 | Pismo Labs Technology Ltd | Methods and systems for transmitting packets through network interfaces |
CN106101032B (en) * | 2016-08-11 | 2020-02-04 | 迈普通信技术股份有限公司 | Method and device for COMBO interface self-adaptive Ethernet interface |
CN106921834A (en) * | 2017-03-28 | 2017-07-04 | 北京小鸟科技股份有限公司 | KVM light matrix switching systems |
CN107133429A (en) * | 2017-06-09 | 2017-09-05 | 郑州云海信息技术有限公司 | A kind of onboard network transmission system and its design method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1466280A (en) * | 2002-06-22 | 2004-01-07 | 华为技术有限公司 | Method and device for inversing optical fibre node |
CN1571347A (en) * | 2003-07-15 | 2005-01-26 | 深圳市中兴通讯股份有限公司南京分公司 | An apparatus for implementing disaster recovery of 10G Ethernet port |
CN1953405A (en) * | 2005-10-17 | 2007-04-25 | 中兴通讯股份有限公司 | A method to realize the master-standby switching of optical channel of kilomega service in communication system and its system |
WO2007066914A1 (en) * | 2005-12-08 | 2007-06-14 | Electronics And Telecommunications Research Institute | Wlan combo access point device for interface with wimedia uwb based wireless usb and software layer structure of combo access point device |
-
2007
- 2007-02-08 CN CN2007100035528A patent/CN101242252B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1466280A (en) * | 2002-06-22 | 2004-01-07 | 华为技术有限公司 | Method and device for inversing optical fibre node |
CN1571347A (en) * | 2003-07-15 | 2005-01-26 | 深圳市中兴通讯股份有限公司南京分公司 | An apparatus for implementing disaster recovery of 10G Ethernet port |
CN1953405A (en) * | 2005-10-17 | 2007-04-25 | 中兴通讯股份有限公司 | A method to realize the master-standby switching of optical channel of kilomega service in communication system and its system |
WO2007066914A1 (en) * | 2005-12-08 | 2007-06-14 | Electronics And Telecommunications Research Institute | Wlan combo access point device for interface with wimedia uwb based wireless usb and software layer structure of combo access point device |
Also Published As
Publication number | Publication date |
---|---|
CN101242252A (en) | 2008-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102148677B (en) | Method for updating address resolution protocol table entries and core switch | |
CN101483558B (en) | Method, system and apparatus for packet switching network access by network appliance | |
CN100407646C (en) | Method for realizing data service backup | |
CN1925496B (en) | System and method for load sharing of network layer with multiple network interface cards terminal equipment | |
CN101465859B (en) | Method and device for triggering main and standby interface board inverse switch | |
CN100461697C (en) | Service take-over method based on device disaster tolerance, service switching device and backup machine | |
CN101483540A (en) | Master-slave switching method in high class data communication equipment | |
CN101150439A (en) | A method, system and device for realizing master/slave switching | |
CN100454875C (en) | Method and system for realizing dual attachment or multiple attachment of user network boundary device | |
CN102546778B (en) | Agent-based cross-platform wireless network access controller multi-board communication method | |
CN100370761C (en) | Intelligent net business control device disaster tolerance system | |
CN101841432A (en) | Port backup method, device and system for service access router | |
CN101123603B (en) | Configurable Ethernet interface backup system and method | |
CN101277214A (en) | Method and system for managing blade type server | |
CN101257405A (en) | Method for implementing double chain circuits among master-salve equipments | |
CN101197733A (en) | Automatic detection method and device for network connectivity | |
CN102647304A (en) | Synchronizing method of address resolution protocols and device | |
CN101262366A (en) | Debugging method, system and distributed device for target single board | |
CN101242252B (en) | Method for realizing dual-link redundancy backup of network device based on Combo interface | |
CN101964719A (en) | Data processing method based on operating/standby switch of master control boards, line card and master control boards | |
CN101242254B (en) | Virtual redundant router system and method for transmitting virtual redundant routing protocol packet | |
CN103514121B (en) | A kind of network card redundancy switching method under WindowsXp operating system | |
CN102571311B (en) | Master-slave switching communication system and master-slave switching communication method | |
CN101674171B (en) | Port configuration management method, single board and port configuration management system | |
CN102187627A (en) | Method, device and broadband access server system for load share |
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 |