Background technology
Current at RRPP (Rapid Ring Protection Protocol; Rapid ring protection protocol) in the networking structure; Comprise: (1) RRPP domain has identical territory ID (sign) and control VLAN (Virtual Local Area Network, VLAN); And the equipment that is interconnected constitutes a RRPP domain, and a RRPP domain has key elements such as RRPP main ring, subring, control VLAN, host node, transmission node, Primary port and secondary port, common port and edge port.(2) RRPP ring, the ethernet network topology of an annular connection is called a RRPP ring, and RRPP ring is divided into main ring and subring.(3) control VLAN and data vlan, control VLAN is used to transmit the RRPP protocol massages, and data vlan is used for data message transmission.(4) node, every equipment on the RRPP ring is called a node, is divided into host node, transmission node, fringe node, assistant edge node.(5) Primary port and secondary port, host node and transmission node each have two ports and insert RRPP ring, and one is master port, and another is secondary port.(6) common port and edge port, public port are the ports that inserts main ring on the Edge node and assistant edge node, and edge port is the port that only inserts subring on the Edge node and assistant edge node.
In the polling mechanism of RRPP, host node cycle property ground sends hello packet from its master port, propagates on ring through each transmission node successively; If loop ruptures; The secondary port of host node can't be received hello packet before timer expiry; Host node will be removed the blocked state of data vlan at secondary port, and send all transmission nodes of Common-Flush-FDB (Forwarding Database refreshes forwarding database) message notifying; Make it upgrade MAC (Media Access Control separately; Medium access control) list item and ARP (Address Resolution Protocol, address resolution protocol)/ND (Neighbor Discovery, neighbours find) list item.
In the linkdown alarming mechanism of RRPP, when any one belongs to the port down of RRPP domain when transmission node, fringe node or the discovery of assistant edge node self, can send Link-Down (link failure) message at once and give host node; After host node is received the Link-Down message, remove the blocked state of data vlan, and send all transmission nodes of Common-Flush-FDB message notifying, Edge node and assistant edge node, make it upgrade separately MAC address entries and ARP/ND list item at secondary port.
Currently (propose to double-ascending network at Smart Link; Can realize the redundancy backup of main/slave link; And after active link breaks down, make flow switch to reserve link rapidly) networking structure in, comprising: (1) Smart Link (flexibly link) group only comprises two ports in each group; One is master port, and another is from port; A port is in forwarding state, and another port gets clogged, and is ready; When the port that is in forwarding state broke down, Smart Link organized meeting automatically with this port block, and the port that is ready is switched to forwarding state.(2) master port/from port, master port and be two port roles the Smart Link group from port.(3) primary link/from link, the link at master port place is called primary link, and the link that belongs to from port is called from link.(4) protection VLAN is the user data VLAN of its forwarding state of Smart Link group control.(5) send control VLAN, for being used to send the VLAN of Flush (refreshing) message; When link switchover took place, equipment can broadcasting send the Flush message in sending control VLAN.(6) receive control VLAN, for being used to receive and handle the VLAN of Flush message; When link switchover took place, equipment received and handles and belongs to the Flush message that receives control VLAN, carries out the refresh operation of MAC address entries and ARP/ND list item.(7) Flush message, when link switchover takes place for Smart Link group, original MAC address entries and ARP/ND list item will not be suitable for new topological network, need that all devices carries out the renewal of MAC address entries and ARP/ND list item in the network; At this moment, Smart Link group need be through sending the refresh operation that Flush message notifying miscellaneous equipment carries out MAC address entries and ARP/ND list item.
As shown in Figure 1; Networking sketch map for Smart Link; Device C and Device D port Ethernet 1/1 has separately been formed a Smart Link group respectively with Ethernet1/2, and Ethernet1/1 is in forwarding state, and Ethernet1/2 is ready; Device C and Device D port Ethernet 1/1 separately is a master port, and Ethernet1/2 is from port; The link at port Ethernet 1/1 place of Device C is a primary link, and the link at Ethernet1/2 place is from link.Based on above-mentioned networking, under the normal condition, Ethernet1/1 is in forwarding state, and Ethernet1/2 is ready; When primary link breaks down, Ethernet1/1 will block and switch to armed state, and Ethernet1/2 will switch to forwarding state.
When link switchover took place Smart Link, MAC address entries in the network on each equipment and ARP/ND list item possibly not be last states, in order to guarantee the correct transmission of message, the update mechanism of MAC address entries and ARP/ND list item need be provided; Update mechanism has following two kinds at present: MAC address entries and ARP/ND list item are refreshed through flow automatically in (1), and this mode needs uplink traffic and triggers.(2) send the Flush message by Smart Link equipment from new link, this mode needs up equipment can both discern the Flush message of Smart Link, and upgrades the processing of MAC address entries and ARP/ND list item.
In sum; In current RRPP networking structure; The method for refreshing of MAC address entries and ARP/ND list item is: refresh through sending the flush-FDB message, this method requires the equipment in the RRPP networking all can discern the flush-FDB message, otherwise; Can not after change in topology, refresh MAC address entries and ARP/ND list item immediately, thereby the networking that has limited RRPP equipment and other vendor equipment is used.
In current Smart Link networking structure; The method for refreshing of MAC address entries and ARP/ND list item is: refresh through sending the flush message; This method requires the equipment in the Smart link networking all can discern the flush message; Otherwise, can not after change in topology, refresh MAC address entries and ARP/ND list item immediately, thereby the networking that has limited Smart link equipment and other vendor equipment is used.
Summary of the invention
The present invention provides a kind of management method and equipment of forwarding-table item, thereby makes and not support to specify the network equipment of topological agreement can in time delete forwarding-table item, and the range of application of topological agreement is specified in expansion.
In order to achieve the above object; The present invention provides a kind of management method of forwarding-table item; Be applied to comprise in the network system of the network equipment of supporting to specify the network equipment of topological agreement and do not support the topological agreement of said appointment; In the network equipment of topological agreement is specified in said support, a network equipment being arranged is the control appliance of said network system, and said control appliance each network equipment of being used for controlling said network system upgrades the forwarding-table item of self, and this method may further comprise the steps:
Said control appliance finds that network topology changes;
Said control appliance sends the many virtual local network log-on protocols MVRP message that is used to remove forwarding-table item to the said network equipment of the topological agreement of said appointment of not supporting, indicates the said network equipment of the topological agreement of said appointment of not supporting to remove the forwarding-table item of self.
The topological agreement of said appointment comprises rapid ring protection protocol RRPP agreement or flexible link Smart Link agreement.
When the topological agreement of said appointment was the RRPP agreement, said control appliance sent the MVRP message that is used to remove forwarding-table item to the said network equipment of the topological agreement of said appointment of not supporting, specifically comprises:
Said control appliance other network equipments in the network equipment of supporting the topological agreement of said appointment send forwarding database and refresh the Flush-FDB message, indicate said other network equipments to utilize said Flush-FDB message to remove the forwarding-table item of self; And, indicate the said network equipment of the topological agreement of said appointment of not supporting to utilize said MVRP message to remove the forwarding-table item of self to the said network equipment transmission MVRP message of not supporting the topological agreement of said appointment.
When the topological agreement of said appointment was Smart Link agreement, said control appliance sent the MVRP message that is used to remove forwarding-table item to the said network equipment of the topological agreement of said appointment of not supporting, specifically comprises:
Said control appliance other network equipments in the network equipment of supporting the topological agreement of said appointment send and refresh the Flush message, indicate said other network equipments to utilize said Flush message to remove the forwarding-table item of self; And, indicate the said network equipment of the topological agreement of said appointment of not supporting to utilize said MVRP message to remove the forwarding-table item of self to the said network equipment transmission MVRP message of not supporting the topological agreement of said appointment; Perhaps,
Said control appliance other network equipments in the network equipment of supporting the topological agreement of said appointment and the network equipment transmission MVRP message of not supporting the topological agreement of said appointment are indicated said other network equipments and are not supported the network equipment of the topological agreement of said appointment to utilize said MVRP message to remove the forwarding-table item of self.
The said MVRP message that is used to remove forwarding-table item comprises: based on the new message of MVRP agreement.
On the other hand; The present invention also provides a kind of management equipment of forwarding-table item; Be applied to comprise in the network system of the network equipment of supporting to specify the network equipment of topological agreement and do not support the topological agreement of said appointment; In the network equipment of topological agreement is specified in said support, a network equipment being arranged is the control appliance of said network system; Each network equipment that said control appliance is used for controlling said network system upgrades the forwarding-table item of self, and said management equipment is as said control appliance, and this control appliance comprises:
Find module, be used to find that network topology changes;
Sending module; Be used for when finding that network topology changes; Send the many virtual local network log-on protocols MVRP message that is used to remove forwarding-table item to the said network equipment of the topological agreement of said appointment of not supporting, indicate the said network equipment of the topological agreement of said appointment of not supporting to remove the forwarding-table item of self.
The topological agreement of said appointment comprises rapid ring protection protocol RRPP agreement or flexible link Smart Link agreement.
When the topological agreement of said appointment is the RRPP agreement;
Said sending module; Specifically be used for refreshing the Flush-FDB message, indicate said other network equipments to utilize said Flush-FDB message to remove the forwarding-table item of self to other network equipments transmission forwarding databases of the network equipment of supporting the topological agreement of said appointment; And, indicate the said network equipment of the topological agreement of said appointment of not supporting to utilize said MVRP message to remove the forwarding-table item of self to the said network equipment transmission MVRP message of not supporting the topological agreement of said appointment.
When the topological agreement of said appointment is Smart Link agreement;
Said sending module specifically is used for refreshing the Flush message to other network equipments transmissions of the network equipment of supporting the topological agreement of said appointment, indicates said other network equipments to utilize said Flush message to remove the forwarding-table item of self; And, indicate the said network equipment of the topological agreement of said appointment of not supporting to utilize said MVRP message to remove the forwarding-table item of self to the said network equipment transmission MVRP message of not supporting the topological agreement of said appointment; Perhaps; Other network equipments in the network equipment of supporting the topological agreement of said appointment and the network equipment transmission MVRP message of not supporting the topological agreement of said appointment are indicated said other network equipments and are not supported the network equipment of the topological agreement of said appointment to utilize said MVRP message to remove the forwarding-table item of self.
The said MVRP message that is used to remove forwarding-table item comprises: based on the new message of MVRP agreement.
Compared with prior art; The present invention has the following advantages at least: after finding that network topology changes; MVRP (the Multiple VLAN Register Protocol that is used to remove forwarding-table item through transmission; Multi-VLAN log-in protocol) message, thus specify under the scene of topological agreement in RRPP agreement and Smart Link agreement etc., make and do not support to specify the network equipment of topological agreement can in time delete forwarding-table item; In time recover the service traffics in the network, thereby the range of application of topological agreement is specified in expansion.
Embodiment
The present invention provides a kind of management method of forwarding-table item; To the network equipment of not supporting to specify topological agreement (like RRPP agreement or Smart Link agreement) in the prior art; Can't in time delete the problem of forwarding-table item (like MAC address entries and ARP/ND list item); Through using MVRP message (can also be the change in topology message of MSTP in the practical application, follow-up is that example describes with the MVRP message), notice does not support to specify the network equipment of topological agreement in time to delete forwarding-table item.
MVRP is the application of MRP (Multiple Register Protocol, many log-in protocols) on the VLAN attribute, is used at equipment room issue and study VLAN configuration information, the equipment that makes can be automatically VLAN configuration information synchronously, minimizing webmaster personnel's configuration effort; After network topology changed, MVRP issued and learns the VLAN configuration information again according to new topology, upgraded synchronously with real-time and network topology.
Based on the MVRP agreement; The management method of forwarding-table item provided by the invention; Be applied to comprise and support to specify the network equipment of topological agreement and do not support to specify in the network system of the network equipment of topological agreement, and each network equipment in the network system all need support the MVRP agreement, in addition; In the network equipment of supporting the topological agreement of appointment, a network equipment being arranged is the control appliance of network system, and control appliance is used for the forwarding-table item of each network equipment renewal self of Control Network system.
Among the present invention, this specifies topological agreement to include but not limited to RRPP agreement or Smart Link agreement, and when specifying topological agreement to be the RRPP agreement, then control appliance is the host node (being the host node in the RRPP networking structure) in the network system; When specifying topological agreement to be Smart Link agreement, then control appliance is the Smart Link equipment (promptly disposing the network equipment of Smart Link group) in the network system.
As shown in Figure 2, the management method of this forwarding-table item may further comprise the steps:
Step 201, control appliance find that network topology changes.
When specifying topological agreement to be the RRPP agreement, control appliance finds that the mode that network topology changes comprises:
(1) in the RRPP polling mechanism; Host node (being control appliance) periodically sends hello packet from its master port; Propagate on ring through each transmission node successively; If loop ruptures, then the secondary port of host node can't be received hello packet before timer expiry, finds that network topology changes.
(2) in the linkdown alarming mechanism of RRPP; When any one belongs to the port down of RRPP domain when transmission node, fringe node or the discovery of assistant edge node self, can send Link-Down (link failure) message at once and give host node (being control appliance); After host node is received the Link-Down message, find that network topology changes.
When specifying topological agreement to be Smart Link agreement; Control appliance finds that the mode that network topology changes comprises: when link switchover took place Smart Link group, the Smart Link equipment (being control appliance) at Smart Link group place found that network topology changes.
Step 202, control appliance is not to supporting to specify the network equipment of topological agreement to send the MVRP message that is used to remove forwarding-table item, indication does not support to specify the network equipment of topological agreement to remove the forwarding-table item of self.This forwarding-table item is MAC address entries and ARP/ND list item; This MVRP message that is used to remove forwarding-table item comprises: based on the new message of MVRP agreement.
When specifying topological agreement to be the RRPP agreement, control appliance comprises to not supporting to specify the network equipment of topological agreement to send the MVRP message that is used to remove forwarding-table item:
Control appliance other network equipments in the network equipment of supporting the topological agreement of appointment send the Flush-FDB message, indicate other network equipments to utilize the Flush-FDB message to remove the forwarding-table item of self; And to not supporting to specify the network equipment of topological agreement to send the MVRP message, indication does not support to specify the network equipment of topological agreement to utilize the MVRP message to remove the forwarding-table item of self.
When specifying topological agreement to be Smart Link agreement, control appliance comprises to not supporting to specify the network equipment of topological agreement to send the MVRP message that is used to remove forwarding-table item:
Mode one, control appliance other network equipments in the network equipment of supporting the topological agreement of appointment send the Flush message, indicate other network equipments to utilize the Flush message to remove the forwarding-table item of self; And to not supporting to specify the network equipment of topological agreement to send the MVRP message, indication does not support to specify the network equipment of topological agreement to utilize the MVRP message to remove the forwarding-table item of self.
Mode two, control appliance other network equipments in the network equipment of supporting the topological agreement of appointment and the network equipment transmission MVRP message of not supporting to specify topological agreement are indicated other network equipments and are not supported to specify the network equipment of topological agreement to utilize the MVRP message to remove the forwarding-table item of self.
Step 203 does not support to specify the network equipment of topological agreement to remove the forwarding-table item of self.
Among the present invention, when specifying topological agreement to be the RRPP agreement,, after receiving the Flush-FDB message, can't discern this Flush-FDB message for the network equipment of not supporting the RRPP agreement, therefore can be based on the forwarding-table item of Flush-FDB message deletion self; But after the new message that receives based on the MVRP agreement, owing to can discern this new message, and, can remove the forwarding-table item of self based on the characteristic of new message itself based on the MVRP agreement.
When specifying topological agreement to be Smart Link agreement,, after receiving the Flush message, can't discern this Flush message for the network equipment of not supporting Smart Link agreement, therefore can be based on the forwarding-table item of Flush message deletion self; But after the new message that receives based on the MVRP agreement, owing to can discern this new message, and, can remove the forwarding-table item of self based on the characteristic of new message itself based on the MVRP agreement.
Be elaborated below in conjunction with application scenarios shown in Figure 3 process to the RRPP agreement.
Suppose that Device A, Device B, Device C, Device D, Device E are the network equipment (like router) of supporting the RRPP agreement; Device A, Device B, Device C, Device D form the Ring (ring) 1 of RRPP, and Device A, Device B, Device C, Device D, Device E form the Ring2 of RRPP.In addition, between Device A and Device D, also there is a Device F who does not support the RRPP agreement.
Suppose that the link between Device B and the Device A breaks down; And Device B is host node (being control appliance); Then in the prior art, after the Device B discovery fault (finding that promptly network topology changes), can send the Flush-FDB message and give each node in the ring; With Ring1 is example; Then this Flush-FDB message can be sent on Device A, Device C, Device D, the Device F, owing to Device A, Device C, Device D can discern the Flush-FDB message, and therefore can be based on the forwarding-table item of this Flush-FDB message deletion self; But because Device F can not discern the Flush-FDB message; Therefore can not delete the forwarding-table item of self; Cause the forwarding-table item of Device F can not be cleared; Communicate by letter thereby make this Device F following hang normally to go up to hang fully under other nodes and these nodes fully, the link switchover performance of RRPP is impacted with ring.
Among the present invention; After the Device B discovery fault (finding that promptly network topology changes); Can be when transmission Flush-FDB message be given each node in the ring; Send MVRP message (, wherein comprised all related vlan informations of RRPP change in topology, and the type of message of these VLAN being new) promptly based on the new message of MVRP agreement; Because Device A, Device C, Device D can discern the Flush-FDB message, therefore can be based on the forwarding-table item of this Flush-FDB message deletion self; Though Device F can not discern the Flush-FDB message; But Device F can discern the new message based on the MVRP agreement; And clear and definite regulation " after receiving the new message of MVRP; need all forwarding-table items in the transmitting of assigned vlan on the packet receiving port (being all the related vlan informations of change in topology that carry in the new message) be emptied " in IEEE, so Device F can be based on the forwarding-table item of this new message deletion self.
In sum, said method can solve the limited problem of networking of RRPP technology; After topology changed, in time other equipment in the informing network (support the network equipment of RRPP agreement or do not support the network equipment of RRPP agreement) were deleted its forwarding-table item, in time recover the service traffics in the network.
Be elaborated below in conjunction with application scenarios shown in Figure 1 process to Smart Link agreement.
Suppose that Device A, Device B, Device C, Device D are the network equipment (like router) of supporting Smart Link agreement, Device E is not for supporting the network equipment of Smart Link agreement; And configuration Smart Link group on Device C, the Device D, Device C, Device D are Smart Link equipment (being control appliance).When the Smart Link principal and subordinate link on the Device C switched, the flow in the network also needed can switch on the new active link.
In the prior art; After Device C discovery Smart Link principal and subordinate link switches (finding that promptly network topology changes); Can send the Flush message and give each node in the network; And this Flush message can be sent on Device A, Device B, Device D, the Device E, owing to Device A, Device B, Device D can discern the Flush message, and therefore can be based on the forwarding-table item of this Flush message deletion self; But because Device E can not discern the Flush message; Therefore can not delete the forwarding-table item of self; Cause the forwarding-table item of Device E can not be cleared; Active link direction that still can traffic steering is old when being Device E transmitted traffic, promptly the flow of Device E can't switch on the new active link, and the link switchover performance of Smart Link is impacted.
Among the present invention; After Device C discovery Smart Link principal and subordinate link switches (finding that promptly network topology changes); Can be directly transmission MVRP message (promptly based on the new message of MVRP agreement; All related vlan informations of Smart Link change in topology have wherein been comprised; And the type of message of these VLAN is new) to each node in the network; And should can be sent on Device A, Device B, Device D, the Device E based on the new message of MVRP agreement; Because Device A, Device B, Device D, Device E all can discern the new message based on the MVRP agreement, and in IEEE clearly regulation " after receiving the new message of MVRP, need all forwarding-table items in the transmitting of assigned vlan on the packet receiving port (being all the related vlan informations of change in topology that carry in the new message) be emptied "; Therefore Device A, Device B, Device D, Device E can delete the forwarding-table item of self based on this new message, thereby the flow in the network is switched on the new active link.
In sum, said method can solve the limited problem of networking of Smart Link technology; After topology changed, in time other equipment in the informing network (support the network equipment of Smart Link agreement or do not support the network equipment of Smart Link agreement) were deleted its forwarding-table item, in time recover the service traffics in the network.
Based on the inventive concept same with said method; The present invention also proposes a kind of management equipment of forwarding-table item; Be applied to comprise in the network system of the network equipment of supporting to specify the network equipment of topological agreement and do not support the topological agreement of said appointment; In the network equipment of topological agreement is specified in said support, a network equipment being arranged is the control appliance of said network system, and each network equipment that said control appliance is used for controlling said network system upgrades the forwarding-table item of self, and said management equipment is as said control appliance; As shown in Figure 4, this control appliance comprises:
Find module 11, be used to find that network topology changes;
Sending module 12; Be used for when finding that network topology changes; Send the many virtual local network log-on protocols MVRP message that is used to remove forwarding-table item to the said network equipment of the topological agreement of said appointment of not supporting, indicate the said network equipment of the topological agreement of said appointment of not supporting to remove the forwarding-table item of self.
Among the present invention, the topological agreement of said appointment comprises rapid ring protection protocol RRPP agreement or flexible link Smart Link agreement.
When the topological agreement of said appointment is the RRPP agreement; Said sending module 12; Specifically be used for refreshing the Flush-FDB message, indicate said other network equipments to utilize said Flush-FDB message to remove the forwarding-table item of self to other network equipments transmission forwarding databases of the network equipment of supporting the topological agreement of said appointment; And, indicate the said network equipment of the topological agreement of said appointment of not supporting to utilize said MVRP message to remove the forwarding-table item of self to the said network equipment transmission MVRP message of not supporting the topological agreement of said appointment.
When the topological agreement of said appointment is Smart Link agreement; Said sending module 12 specifically is used for refreshing the Flush message to other network equipments transmissions of the network equipment of supporting the topological agreement of said appointment, indicates said other network equipments to utilize said Flush message to remove the forwarding-table item of self; And, indicate the said network equipment of the topological agreement of said appointment of not supporting to utilize said MVRP message to remove the forwarding-table item of self to the said network equipment transmission MVRP message of not supporting the topological agreement of said appointment; Perhaps,
Other network equipments in the network equipment of supporting the topological agreement of said appointment and the network equipment transmission MVRP message of not supporting the topological agreement of said appointment are indicated said other network equipments and are not supported the network equipment of the topological agreement of said appointment to utilize said MVRP message to remove the forwarding-table item of self.
Among the present invention, the said MVRP message that is used to remove forwarding-table item comprises: based on the new message of MVRP agreement.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.