CN105591919B - A kind of processing method and equipment of FLUSH message - Google Patents

A kind of processing method and equipment of FLUSH message Download PDF

Info

Publication number
CN105591919B
CN105591919B CN201510547484.6A CN201510547484A CN105591919B CN 105591919 B CN105591919 B CN 105591919B CN 201510547484 A CN201510547484 A CN 201510547484A CN 105591919 B CN105591919 B CN 105591919B
Authority
CN
China
Prior art keywords
vlan
port
filtering meter
meter item
forwarding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510547484.6A
Other languages
Chinese (zh)
Other versions
CN105591919A (en
Inventor
吴文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201510547484.6A priority Critical patent/CN105591919B/en
Publication of CN105591919A publication Critical patent/CN105591919A/en
Application granted granted Critical
Publication of CN105591919B publication Critical patent/CN105591919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This application discloses a kind of processing methods of FLUSH message, forwarding device in SMART-LINK group is after passing through the port configured with the first filtering meter item comprising control VLAN or the second filtering meter item and receiving and control FLUSH message corresponding to VLAN, option and installment has other ports of the second filtering meter item comprising control VLAN to be forwarded, to no longer need that the control VLAN for receiving FLUSH message is artificially arranged for each port of forwarding device, in the automatic processing for guaranteeing to realize FLUSH message under conditions of accuracy, improve the treatment effeciency of FLUSH message.

Description

A kind of processing method and equipment of FLUSH message
Technical field
The present invention relates to field of communication technology, in particular to a kind of processing method and equipment for refreshing FLUSH message.
Background technique
Flexible link (SMART-LINK) group works as active link for realizing the redundancy backup of double-ascending network main/slave link After failure, it can be rapidly switched to reserve link, to avoid Single Point of Faliure, improve network stabilization.
As shown in Figure 1, being typical SMART-LINK networking structure figure, wherein the port Port1 of source device Device C Belong to SMART-LINK group with port Port2, the port Port1 and port Port2 of source device Device D belongs to SMART- LINK group, wherein the port Port1 of source Device C and source Device D are respectively the master of respective SMART-LINK group The port Port2 of the port MASTER, source Device C and source Device D are the standby end SLAVE of respective SMART-LINK group Mouthful, when there is no utilizing link converting flow where master port when failure for link;The link where master port breaks down When, SMART-LINK group can switch, for example, uplink traffic is switched to the port Port2 from the port Port1 by source Device C, A refreshing FLUSH message can be sent from the port Port2 simultaneously, which is an agreement MAC Address (that is, media are visited Ask control address) message of encapsulation, for notifying the equipment progress MAC Address of SMART-LINK group belonging to Device C to delete It removes, so that the equipment in SMART-LINK group be made to refresh MAC Address, the forwarding of flow is carried out using new MAC Address.
In the prior art, in order to ensure FLUSH message can be handled in the equipment for supporting SMART-LINK function, people Control VLAN (the Virtual Local of FLUSH message is received for each port of forwarding device in setting SMART-LINK group Area Network, virtual LAN).
As can be seen that needing in the prior art artificial for forwarding device from the treatment process of above-mentioned FLUSH message The control VLAN that each port setting can receive is the FLUSH message of particular vlan, reduces the treatment effeciency of FLUSH message.
Summary of the invention
This application provides a kind of processing methods and equipment for refreshing FLUSH message, utilize logon message and probe messages It realizes forwarding according to filtering meter item to received FLUSH Message processing for the configurating filtered list item in each port of forwarding device and sets The standby filtering to the FLUSH message sent in control VLAN automatically.
In order to achieve the above objectives, this application provides a kind of processing method for refreshing FLUSH message, it is applied to include multiple In the flexible link SMART-LINK group of forwarding device, this method includes:
When forwarding device configured with the port comprising the first filtering meter item or the second filtering meter item that control VLAN by connecing When receiving with FLUSH message corresponding to control VLAN, option and installment has other of the second filtering meter item comprising control VLAN Port is forwarded;
Wherein, the first filtering meter item or the second filtering meter item comprising control VLAN, are matched especially by following manner It sets:
When forwarding device receives the logon message comprising control virtual LAN VLAN that source device is sent, registration is reported First filtering meter item of the receiving port configuration comprising control VLAN of text;
When forwarding device is received by the port configured with the first filtering meter item comprising controlling VLAN comprising control When the probe messages of VLAN, to second filtering meter item of the forwarding port configuration comprising control VLAN of probe messages;
When forwarding device is received by being not configured with the port of the first filtering meter item comprising control VLAN comprising control The second filter table of receiving port and the configuration of forwarding port comprising control VLAN when the probe messages of VLAN, to probe messages ?.
Correspondingly, present invention also provides a kind of processing methods for refreshing FLUSH message, set applied to including multiple forwardings In standby and source device flexible link SMART-LINK group, this method includes:
When source device needs to forward logon message, the note comprising control VLAN is sent by the main/slave link of itself respectively Volume message, so that the forwarding device connecting with main/slave link includes the first of control VLAN to the receiving port configuration of logon message Filtering meter item;
When source device needs to forward probe messages, the detection report comprising control VLAN is sent by the primary link of itself Text, so that forwarding port configuration second filter table comprising control VLAN of the forwarding device being connect with primary link to probe messages ?;
When active/standby link switchover, source device sends the FLUSH message comprising control VLAN by standby link, so that with standby The forwarding device option and installment of link connection includes that the port of the second filtering meter item of control VLAN forwards FLUSH message.
Correspondingly, present invention also provides a kind of forwarding device, it is applied to include source device and multiple forwarding devices Flexible link SMART-LINK group in, which includes:
Forwarding module, for by configured with the port comprising the first filtering meter item or the second filtering meter item that control VLAN Receiving has the second filtering meter item comprising the control VLAN with FLUSH message corresponding to the control VLAN, option and installment Other ports be forwarded;
First configuration module, the registration report comprising control virtual LAN VLAN sent for receiving the source device Text includes the first filtering meter item of the control VLAN to the receiving port configuration of the logon message;
Second configuration module, for being received by the port configured with the first filtering meter item comprising the control VLAN Probe messages comprising the control VLAN include the second of the control VLAN to the forwarding port configuration of the probe messages Filtering meter item;
Second configuration module is also used to the end by being not configured with the first filtering meter item comprising the control VLAN Mouth receives the probe messages comprising the control VLAN, and the receiving port and the configuration of forwarding port to the probe messages include The second filtering meter item of the control VLAN.
Correspondingly, present invention also provides a source device, applied to including multiple forwarding devices and the source device In flexible link SMART-LINK group, which includes:
First sending module, for sending the logon message comprising control VLAN respectively by primary link and standby link, with The forwarding device for connecting the primary link with the standby link includes the control to the receiving port configuration of the logon message The first filtering meter item of VLAN processed;
Second sending module, for sending the probe messages comprising the control VLAN by the primary link, so that with The forwarding device of the primary link connection includes the second mistake of the control VLAN to the forwarding port configuration of the probe messages Filter list item;
Third sending module includes by the new primary link transmission for the standby link to be switched to new primary link The FLUSH message of the control VLAN, so that the forwarding device option and installment connecting with the new primary link includes the control The port of the second filtering meter item of VLAN forwards the FLUSH message.
Compared with prior art, the application has the following advantages that:
By the technical solution of application the application, the forwarding device in SMART-LINK group is including control by being configured with The first filtering meter item of VLAN or the port of the second filtering meter item are received with after FLUSH message corresponding to control VLAN, are selected It selects other ports configured with the second filtering meter item comprising controlling VLAN to be forwarded, turn to no longer need artificially to be directed to The control VLAN for receiving FLUSH message is arranged in each port of hair equipment, realizes FLUSH under conditions of guaranteeing accuracy The automatic processing of message improves the treatment effeciency of FLUSH message.
Detailed description of the invention
Fig. 1 is SMART-LINK group schematic diagram in the prior art;
Fig. 2 is a kind of flow diagram of the processing method of FLUSH message proposed by the invention;
Fig. 3 is the flow diagram of the processing method of another FLUSH message proposed by the invention
Fig. 4 is the structural schematic diagram of forwarding device provided by the invention;
Fig. 5 is the structural schematic diagram of source device provided by the invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear Chu, complete description, it is clear that the embodiments described below are only a part of the embodiment of the present invention, rather than whole realities Apply example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained under that premise of not paying creative labor Every other embodiment, belong to the embodiment of the present invention protection range.
The treatment process of FLUSH message is divided into (1) according to the first filtering meter item and the second filtering meter item pair in the application FLUSH message is forwarded the stage;(2) stage of the first filtering meter item and the second filtering meter item is configured.
First below to (1) according to the first filtering meter item and the second filtering meter item to FLUSH message be forwarded the stage into Row is described in detail:
Forwarding device passes through to be received configured with the port comprising the first filtering meter item or the second filtering meter item that control VLAN With control VLAN corresponding to FLUSH message, option and installment have comprising control VLAN the second filtering meter item other ports into Row forwarding.
Specifically, when forwarding device passes through configured with the first filtering meter item or second filtering meter item comprising controlling VLAN When port is received with FLUSH message corresponding to control VLAN, i.e., according to the first filtering meter item or the second filtering meter item It is filtered when the FLUSH message received to port, which only receives and the first filtering meter item or the second filtering meter item In the consistent FLUSH message of VLAN.If control VLAN and the first filtering meter item or the second filtering meter item in FLUSH message In VLAN it is inconsistent, then abandon the FLUSH message.
When forwarding device configured with the port comprising the first filtering meter item or the second filtering meter item that control VLAN by connecing When receiving with FLUSH message corresponding to control VLAN, option and installment has other of the second filtering meter item comprising control VLAN Port is forwarded.Why other ports of second filtering meter item of the selection comprising control VLAN are forwarded, without selecting Port comprising controlling the first filtering meter item of VLAN is forwarded, and is due to consideration that when forwarding device receives FLUSH report Wen Shi, primary link have occurred and that failure, and therefore, the port for the forwarding device connecting with primary link is no longer to the FLUSH received Message is forwarded, and the port for the forwarding device connecting with standby link can receive FLUSH message, no longer needs to pass through certainly The port forwards received FLUSH message, that is, the port for being configured with the first filtering meter item all will not be to the FLUSH message It is forwarded.
Secondly, the stage for configuring the first filtering meter item and the second filtering meter item to (2) is described in detail:
It should be noted that in view of that may be wrapped in the variation and SMART-LINK networking of the VLAN of forwarding device Containing multiple SMART-LINK groups, for example, source Device C and source Device D are different SMART-LINK group, this Shen in Fig. 1 It is please provided with timer on source device, according to the stability of the VLAN of forwarding device, periodically sends logon message and spy Text is observed and predicted, therefore, forwarding device receives logon message and probe messages not sequential restriction.
A, forwarding device receives the logon message comprising control virtual LAN VLAN that source device is sent, to logon message Receiving port configuration comprising control VLAN the first filtering meter item.
In specific application scenarios, after the completion of the creation of SMART-LINK group, standby link is in obstruction BLOCK state, general Logical data message can not forward, but SMART-LINK protocol massages can be handled normally, and therefore, source device can pass through active and standby chain Road sends the logon message comprising identical control VLAN simultaneously.
It further include that forwarding is forbidden to configure, so that forwarding device is receiving in logon message received by forwarding device After logon message, next-hop forwarding no longer is carried out to logon message.It specifically, can be by by the life time in logon message The method that TTL is set as 1 realizes that the logon message is forbidden forwarding, i.e., after forwarding device receives the logon message, no longer turns Send out the logon message.
B, forwarding device is received by the port configured with the first filtering meter item comprising controlling VLAN comprising control The probe messages of VLAN, to second filtering meter item of the forwarding port configuration comprising control VLAN of probe messages.
Wherein, protection VLAN is also carried in probe messages.
When forwarding device is received by the port configured with the first filtering meter item comprising controlling VLAN comprising control When the probe messages of VLAN, forwarding device traverses itself port, configure allow in port by VLAN include probe messages Protect VLAN port the second filtering meter item, wherein allow in port by VLAN include probe messages protection VLAN Port be probe messages forwarding port.
C, forwarding device is received by being not configured with the port of the first filtering meter item comprising control VLAN comprising control The probe messages of VLAN, the second filtering meter item of receiving port and the configuration of forwarding port comprising control VLAN to probe messages.
When forwarding device is received by the port configured with the first filtering meter item comprising controlling VLAN comprising control When the probe messages of VLAN, to second filtering meter item of the receiving port configuration comprising control VLAN of probe messages, and traverse certainly Body port, configure port in allow by VLAN include probe messages protection VLAN port the second filtering meter item, In, allow in port by VLAN include probe messages protection VLAN port be probe messages forwarding port.
Below with reference to specific embodiment, in a cycle in the same SMART-LINK group the first filtering meter item and The configuration of second filtering meter item is described in detail.As shown in Fig. 2, for the flow diagram that forwarding device side is handled, by In control VLAN generally there are with probe messages, and the packet filtering function of the port in forwarding device needs to pass through filter table Item is realized, therefore in order to realize the automatic forwarding for being directed to FLUSH message, forwarding device must be obtained first comprising control VLAN's First filtering meter item or the second filtering meter item, in the preferred embodiment of the application, for the first filtering meter item and the second mistake The configuration and repeating process for filtering list item specifically include following steps:
Step S201, forwarding device receives the logon message comprising control virtual LAN VLAN that source device is sent, right First filtering meter item of the receiving port configuration comprising control VLAN of logon message.
In the same SMART-LINK group in a cycle, what forwarding device was firstly received source device transmission includes control The logon message of VLAN.SMART-LINK group creation after the completion of, standby link be in obstruction BLOCK state, general data message without Method forwarding, but SMART-LINK protocol massages can be handled normally, and therefore, source device can send packet by main/slave link simultaneously Logon message containing identical control VLAN.
Forwarding is forbidden to configure it should be noted that may also include in logon message received by forwarding device, so as to turn Equipment is sent out after receiving logon message, next-hop forwarding no longer is carried out to logon message.I.e. forwarding device is only to receiving source The port for the logon message that equipment is sent is configured with the first filtering meter item, and the first filtering meter item is used for subsequently received FLUSH message is filtered, when the port receives FLUSH message, only as the control VLAN of FLUSH message and the port When control VLAN in corresponding first filtering meter item is consistent, the FLUSH message can be just forwarded, otherwise abandoning should FLUSH message.
Step S202, forwarding device is received by the port configured with the first filtering meter item comprising controlling VLAN includes The probe messages for controlling VLAN, to second filtering meter item of the forwarding port configuration comprising control VLAN of probe messages.
Since the receiving port of probe messages has been configured with the first filtering meter item, then only need to turn the probe messages Mouth of starting configures the second filtering meter item.
Protection VLAN is also carried in probe messages, according to the protection VLAN that probe messages carry, determines the probe messages Forward port, and the second filtering meter item of the control VLAN to forwarding port configuration comprising probe messages.
Determine the forwarding ports of probe messages particular by:Forwarding device traverses itself port, and inquiring allows to pass through VLAN include probe messages protection VLAN port, port is the forwarding port of probe messages.
Step S203, forwarding device receive packet by being not configured with the port of the first filtering meter item comprising control VLAN The probe messages of the VLAN containing control, the second filtering of receiving port and the configuration of forwarding port comprising control VLAN to probe messages List item.
Since the receiving port of probe messages does not configure the first filtering meter item, then the receiving end to the probe messages is needed Mouth and forwarding port all configure the second filtering meter item.
It should be noted that application scenarios defined by the present embodiment are:A cycle in the same SMART-LINK group The configuration of interior the first filtering meter item and the second filtering meter item, i.e., be only configured with the first filtering meter item within the period, therefore, visits It observes and predicts literary receiving port and the first filtering meter item is not configured, then the second filtering meter item is also not configured, forwarding device is to probe messages When received and forwarded, the second filtering meter item is configured.
Protection VLAN is also carried in probe messages, according to the protection VLAN that probe messages carry, determines the probe messages Forward port, and the second mistake of the control VLAN to the receiving port of the probe messages and the configuration of forwarding port comprising probe messages Filter list item.
Determine the forwarding ports of probe messages particular by:Forwarding device traverses itself port, and inquiring allows to pass through VLAN include probe messages protection VLAN port, port is the forwarding port of probe messages.
By applying the allocation plan in S201-S203, each port of each forwarding device in SMART-LINK group It can be configured with the first filtering meter item or the second filtering meter item, to know FLUSH to be reported according to control VLAN in subsequent process Text is targetedly forwarded.
S204, forwarding device pass through configured with the port comprising the first filtering meter item or the second filtering meter item that control VLAN Receiving has the other termination of the second filtering meter item comprising control VLAN with FLUSH message corresponding to control VLAN, option and installment Mouth is forwarded.
After the first filtering meter item and the second filtering meter item, which configure, to be finished, forwarding device can be reported for FLUSH accordingly Text is targetedly forwarded, and in a preferred embodiment of the present application, depending on the difference of list item, there are following two pass-through modes:
(1) forwarding device is received and control VLAN by the port configured with the first filtering meter item comprising controlling VLAN Corresponding FLUSH message, option and installment have the port forwarding FLUSH message of the second filtering meter item comprising control VLAN.
In this case, when forwarding device is received by the port configured with the first filtering meter item comprising controlling VLAN With corresponding to control VLAN before FLUSH message, forwarding device needs according to corresponding to the receiving port of FLUSH message the One filtering meter item is filtered FLUSH message, that is, judges the control in the control VLAN and the first filtering meter item of FLUSH message VLAN is consistent.When the control VLAN of only FLUSH message is consistent with the control VLAN in the first filtering meter item, forwarding device just meeting Traverse the corresponding port of itself all second filtering meter item, option and installment has the port of the second filtering meter item of control VLAN Forward FLUSH message;When the control VLAN in the control VLAN of FLUSH message and the first filtering meter item is inconsistent, forwarding is set For directly by FLUSH packet loss.
When the control VLAN of FLUSH message is consistent with the control VLAN in the first filtering meter item, forwarding device needs pair FLUSH message is forwarded, and forwarding only needs to be traversed for the corresponding port of itself all second filtering meter item, and option and installment has control The port of the second filtering meter item of VLAN forwards FLUSH message.
(2) forwarding device is received and control VLAN by the port configured with the second filtering meter item comprising controlling VLAN Corresponding FLUSH message forwards FLUSH report by the port that other configurations have the second filtering meter item comprising control VLAN Text.
In this case, when forwarding device is received by the port configured with the second filtering meter item comprising controlling VLAN With corresponding to control VLAN before FLUSH message, forwarding device needs according to corresponding to the receiving port of FLUSH message the Two filtering meter items are filtered FLUSH message, that is, judge the control in the control VLAN and the second filtering meter item of FLUSH message VLAN is consistent.When the control VLAN of only FLUSH message is consistent with the control VLAN in the second filtering meter item, forwarding device just meeting Traverse the corresponding port of itself all second filtering meter item, option and installment has the port of the second filtering meter item of control VLAN Forward FLUSH message;When the control VLAN in the control VLAN of FLUSH message and the second filtering meter item is inconsistent, forwarding is set For directly by FLUSH packet loss.
When the control VLAN of FLUSH message is consistent with the control VLAN in the second filtering meter item, forwarding device needs pair FLUSH message is forwarded, and forwarding only needs to be traversed for the corresponding port of itself all second filtering meter item, and option and installment has control The port of the second filtering meter item of VLAN forwards FLUSH message.
As shown in figure 3, in a cycle in the same SMART-LINK group, the processing that source device side carries out, including with Lower step:
Step S301, source device send the logon message comprising control VLAN by primary link and standby link respectively, so that Receiving port configuration first filter table comprising control VLAN of the forwarding device that primary link is connected with standby link to logon message ?.
Wherein, further include in logon message:Forwarding is forbidden to configure, so that forwarding device is after receiving logon message, no Next-hop forwarding is carried out to logon message again, specifically, logon message can be prohibited by setting 1 setting for life time TTL Rotation stop hair, the i.e. logon message are after being forwarded equipment and receiving, and the life of the logon message terminates, and forwarding device will not be again to this Logon message is forwarded.
It should be noted that logon message forbids forwarding to be not limited in being configured by source device, it can also be by connecing The forwarding device for receiving logon message is configured.
Step S302, source device sends the probe messages comprising control VLAN by primary link, so as to connect with primary link Forwarding device to probe messages forwarding port configuration comprising control VLAN the second filtering meter item.
Probe messages include:Protect VLAN.
Wherein, logon message and probe messages are distinguished as:
(1) logon message includes control VLAN and forwarding is forbidden to configure;Probe messages include control VLAN and protection VLAN.
(2) logon message can be sent port corresponding to the main/slave link by source device respectively, and probe messages are only It can the transmission of the port corresponding to primary link or standby link.
Standby link is switched to new primary link by step S303, source device, and source device is sent by new primary link comprising control The FLUSH message of VLAN, so that the forwarding device option and installment connecting with new primary link includes the second filter table of control VLAN The port of item forwards FLUSH message.
It should be noted that periodicity sending when due to logon message and probe messages, then register when across period transmission and report Text and when probe messages, it may appear that the problem of the covering and update of the first filtering meter item and the second filtering meter item, below with reference to Specific application scenarios, in the same SMART-LINK group the first filtering meter item and the second filtering meter item across period assignment It is described in detail.
(1) when current configured second filtering meter item of the receiving port of logon message;
When configured second filtering meter item of the receiving port of logon message, forwarding device is according to the control in logon message VLAN processed to first filtering meter item of the receiving port configuration comprising control VLAN of logon message, and is covered with the first filtering meter item The second filtering meter item of lid.
As shown in Figure 1, if the Port 2 of Device E before receiving logon message, according to Device E's Port1 it is received control VLAN be 10 the second filtering meter item, then 2 port Port of Device E receive control VLAN be When 10 logon message, the first filtering meter item that control VLAN is 10 is configured for the port, meanwhile, which covers it Second filtering meter item of preceding configuration.
(2) when the receiving port of probe messages is configured with the first filtering meter item;
When forwarding device is received by the port configured with the first filtering meter item comprising controlling VLAN comprising control When the probe messages of VLAN, forwarding device traverses itself port, configure allow in port by VLAN in comprising probe messages Protection VLAN and be not configured the first filtering meter item port the second filtering meter item;
As shown in Figure 1, if Device B receives the logon message for being 10 comprising control VLAN by 3 port Port, And after being configured with the first filtering meter item that control VLAN is 10, being had received again by 3 port Port includes that control VLAN is 10, the probe messages that protection VLAN is 10-30, then Device B traverses itself port, discovery Port 3, Port 2 and Port 1 Allow by VLAN include 10-30, then Device B selects Port 2 and Port1 to forward probe messages, and to 2 He of Port The second filtering meter item that Port1 configuration control VLAN is 10.
(3) when the first filtering meter item is not configured in the receiving port of probe messages;
When forwarding device is received by being not configured with the port of the first filtering meter item comprising control VLAN comprising control When the probe messages of VLAN, forwarding device configuration pin traverses itself to the second filtering meter item of the receiving port of probe messages Port, configure allow in other ports by VLAN in comprising probe messages protection VLAN and the first filtering meter item is not configured Port the second filtering meter item.
As shown in Figure 1, it is 10 that the Port 1 of Device A, which is received comprising control VLAN, the spy that protection VLAN is 10-30 Text is observed and predicted, then Device A is the second filtering meter item that the configuration control of Port 1 VLAN is 10;And itself port is traversed, find it In his port Port 2 allow by VLAN include 10-30, then Device A selects Port 2 to forward probe messages, and right The second filtering meter item that the configuration control of Port 2 VLAN is 10.And the Port3 of Device A is configured with and terminates SMART-LINK's Hong Fan, therefore it is no longer thought of as the configurating filtered list item in the port, it is of course also possible to after configuring the second filtering meter item, to reception To FLUSH message carry out termination flooding.
It should be noted that when the control VLAN change in the logon message and probe messages that source device is sent, forwarding Equipment can find the first filtering meter item to be updated and the second filtering according to the source MAC in logon message and probe messages List item updates the control VLAN in original the first filtering meter item and the second filtering meter item using the control VLAN after change.
It further, may include multiple SMART-LINK groups in SMART-LINK networking, for example, in Fig. 1, source Device C and source Device D is different SMART-LINK group, and the period of different SMART-LINK groups may be different, under Face combines specific application scenarios, meets to the first filtering meter item in different SMART-LINK groups and the second Filtration Filtration list item Situation is illustrated.
(1) when the probe messages comprising different control VLAN are met;
As shown in Figure 1, after Device B passes through Port 1 and is configured with the second filtering meter item that control VLAN is 10, It is 20 that the port Port2 of Device B, which has received comprising control VLAN, protects the probe messages that VLAN is 10-30, due to Device B by Port 1 allow by VLAN include protection VLAN 10-30, therefore Device B can also match Port 1 The second filtering meter item that control VLAN is 20 is set, the control VLAN in the second original filtering meter item can also be merged into 10 Hes 20。
(2) when the probe messages comprising different control VLAN and logon message meet;
As shown in Figure 1, if Device B is comprising control VLAN receive Device D transmission by Port 2 Before 20 logon message, be configured with comprising control VLAN be 10 the second filtering meter item, then with the reception of logon message Configuration rule when current configured second filtering meter item in port is the same, configures the first mistake that control VLAN is 20 for the port List item is filtered, meanwhile, the second filtering meter item that the control VLAN configured before first filtering meter item covering is 10.
It should be noted that since source device main/slave link can all be connect with forwarding device, it is only active and standby with source device The port of the forwarding device of link connection can just configure the first filtering meter item;And probe messages are sent by primary link, are not had There is the port connecting with the main/slave link of source device that can configure the second filtering meter item.
By above technical scheme as can be seen that technical scheme enables the forwarding device in SMART-LINK group logical It crosses and receives and controlled corresponding to VLAN configured with the port comprising the first filtering meter item or the second filtering meter item that control VLAN After FLUSH message, option and installment has other ports of the second filtering meter item comprising control VLAN to be forwarded, thus no longer It needs each port for being artificially directed to forwarding device that the control VLAN for receiving FLUSH message is set, is guaranteeing accuracy Under the conditions of realize the automatic processing of FLUSH message, improve the treatment effeciency of FLUSH message.
To reach the above technical purpose, the application also proposed a kind of forwarding device, be applied to comprising source device and multiple In the flexible link SMART-LINK group of forwarding device, as shown in figure 4, the forwarding device includes:
Forwarding module 41, for by configured with the end comprising the first filtering meter item or the second filtering meter item that control VLAN Mouth receives and controls FLUSH message corresponding to VLAN, and it includes other for controlling the second filtering meter item of VLAN that option and installment, which has, Port is forwarded;
First configuration module 42, for receiving the logon message comprising control virtual LAN VLAN of source device transmission, To first filtering meter item of the receiving port configuration comprising control VLAN of logon message;
Second configuration module 43, for receiving packet by the port configured with the first filtering meter item comprising controlling VLAN The probe messages of the VLAN containing control, to second filtering meter item of the forwarding port configuration comprising control VLAN of probe messages;
Second configuration module 43 is also used to by being not configured with include the port reception for controlling the first filtering meter item of VLAN To the probe messages comprising controlling VLAN, receiving port and the configuration of forwarding port to probe messages include the second of control VLAN Filtering meter item.
Further include that forwarding is forbidden to configure in specific application scenarios, in logon message received by forwarding device, prohibits Rotation stop, which is transported to, sets to make forwarding device after receiving logon message, terminates forwarding logon message.
In specific application scenarios, the first configuration module is specifically used for:
Determine configured second filtering meter item of the receiving port of logon message, then according to the control in logon message VLAN, to first filtering meter item of the receiving port configuration comprising control VLAN of logon message, and with the covering of the first filtering meter item Second filtering meter item.
In specific application scenarios, protection VLAN is also carried in probe messages;
Second configuration module is received by the port configured with the first filtering meter item comprising controlling VLAN comprising control The probe messages of VLAN, to second filtering meter item of the forwarding port configuration comprising control VLAN of probe messages, specially:
Configuration port in allow by VLAN in comprising probe messages protection VLAN and the first filtering meter item is not configured Port the second filtering meter item;
Second configuration module is received by being not configured with the port of the first filtering meter item comprising control VLAN comprising control The probe messages of VLAN processed, the second filter table of receiving port and the configuration of forwarding port comprising control VLAN to probe messages , specially:
Configuration pin to the second filtering meter item of the receiving port of probe messages, configure allow in other ports by VLAN In comprising probe messages protection VLAN and be not configured the first filtering meter item port the second filtering meter item.
In specific application scenarios, forwarding module is specifically used for:
It is received and is controlled corresponding to VLAN by the port configured with the first filtering meter item comprising controlling VLAN FLUSH message, option and installment have the port forwarding FLUSH message of the second filtering meter item comprising control VLAN;
Or, being received and being controlled corresponding to VLAN by the port configured with the second filtering meter item comprising controlling VLAN FLUSH message has the port of the second filtering meter item comprising control VLAN to forward FLUSH message by other configurations.
Correspondingly, the application also proposed a source device, applied to including the flexible of multiple forwarding devices and source device In link SMART-LINK group, as shown in figure 5, the source device includes:
First sending module 51, for sending the logon message comprising control VLAN respectively by primary link and standby link, So that the forwarding device that primary link is connected with standby link includes the first mistake of control VLAN to the receiving port configuration of logon message Filter list item;
Second sending module 52, for sending the probe messages comprising control VLAN by primary link, so that and primary link Forwarding port configuration second filtering meter item comprising control VLAN of the forwarding device of connection to probe messages;
Third sending module 53 is sent by new primary link comprising control for standby link to be switched to new primary link The FLUSH message of VLAN, so that the forwarding device option and installment connecting with new primary link includes the second filter table of control VLAN The port of item forwards FLUSH message.
In specific application scenarios, further include in logon message:Forwarding is forbidden to configure, so that forwarding device is receiving After logon message, next-hop forwarding no longer is carried out to logon message.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software.Based on this understanding, this hair Bright technical solution can be embodied in the form of software products, which can store in a non-volatile memories In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are used so that a computer equipment (can be Personal computer, server or network equipment etc.) method that executes each implement scene of the present invention.
It will be appreciated by those skilled in the art that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, module in attached drawing or Process is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in implement scene can be described according to implement scene into Row is distributed in the device of implement scene, can also be carried out corresponding change and is located at the one or more dresses for being different from this implement scene In setting.The module of above-mentioned implement scene can be merged into a module, can also be further split into multiple submodule.
Disclosed above is only several specific implementation scenes of the invention, and still, the present invention is not limited to this, Ren Heben What the technical staff in field can think variation should all fall into protection scope of the present invention.

Claims (14)

1. a kind of processing method for refreshing FLUSH message, applied to the flexible link including multiple forwarding devices and source device In SMART-LINK group, which is characterized in that this method includes:
Forwarding device passes through port reception and institute configured with the first filtering meter item comprising controlling VLAN or the second filtering meter item FLUSH message corresponding to control VLAN is stated, option and installment has the other termination of the second filtering meter item comprising the control VLAN Mouth is forwarded, and first filtering meter item for being filtered to the FLUSH message received, use by second filtering meter item It is forwarded in the FLUSH message received;
Wherein, it is described comprising it is described control VLAN the first filtering meter item or the second filtering meter item, especially by following manner into Row configuration:
The forwarding device receives the logon message comprising control virtual LAN VLAN that the source device is sent, to the note First filtering meter item of the receiving port configuration of volume message comprising the control VLAN;
The forwarding device is received by the port configured with the first filtering meter item comprising the control VLAN comprising described The probe messages for controlling VLAN include the second filter table of the control VLAN to the forwarding port configuration of the probe messages ?;
The forwarding device is received by being not configured with the port of the first filtering meter item comprising the control VLAN comprising institute The probe messages for stating control VLAN, receiving port and the configuration of forwarding port to the probe messages include the control VLAN's Second filtering meter item.
2. the method as described in claim 1, which is characterized in that
It further include that forwarding is forbidden to configure in the logon message received by the forwarding device, it is described that forwarding configuration is forbidden to use So that the forwarding device after receiving the logon message, terminates and forwards the logon message.
3. the method as described in claim 1, which is characterized in that the forwarding device received source device transmission includes control The logon message of VLAN includes the first filtering meter item of the control VLAN, tool to the receiving port configuration of the logon message Body includes:
The forwarding device determines configured second filtering meter item of the receiving port of the logon message, then according to the registration Control VLAN in message includes the first filtering meter item of the control VLAN to the receiving port configuration of the logon message, And second filtering meter item is covered with first filtering meter item.
4. the method as described in claim 1, which is characterized in that
Protection VLAN is also carried in the probe messages;
The forwarding device is received by the port configured with the first filtering meter item comprising the control VLAN comprising described The probe messages for controlling VLAN include the second filter table of the control VLAN to the forwarding port configuration of the probe messages , it specifically includes:
Allow in forwarding device configuration port by VLAN in the protection VLAN comprising the probe messages and be not configured Second filtering meter item of the port of the first filtering meter item;
The forwarding device is received by being not configured with the port of the first filtering meter item comprising the control VLAN comprising institute The probe messages for stating control VLAN, receiving port and the configuration of forwarding port to the probe messages include the control VLAN's Second filtering meter item, specifically includes:
The forwarding device configuration pin configures in other ports and permits to the second filtering meter item of the receiving port of the probe messages Perhaps in the VLAN passed through comprising the probe messages protection VLAN and be not configured the first filtering meter item port second filter List item.
5. the method as described in claim 1, which is characterized in that forwarding device passes through configured with the first mistake comprising controlling VLAN The port of filter list item or the second filtering meter item, which is received, has packet with FLUSH message corresponding to the control VLAN, option and installment Other ports of the second filtering meter item containing the control VLAN are forwarded, and are specifically included:
Forwarding device is received and control VLAN institute by the port configured with the first filtering meter item comprising controlling VLAN Corresponding FLUSH message, option and installment have the port of the second filtering meter item comprising the control VLAN to forward the FLUSH report Text;
Forwarding device is received and control VLAN institute by the port configured with the second filtering meter item comprising controlling VLAN Corresponding FLUSH message has described in the port forwarding of the second filtering meter item comprising the control VLAN by other configurations FLUSH message.
6. a kind of processing method for refreshing FLUSH message, applied to the flexible link including multiple forwarding devices and source device In SMART-LINK group, which is characterized in that this method includes:
Source device sends the logon message comprising control VLAN by primary link and standby link respectively, so that the primary link and institute The forwarding device for stating standby link connection includes the first filtering of the control VLAN to the receiving port configuration of the logon message List item, first filtering meter item is for being filtered the FLUSH message received;
The source device sends the probe messages comprising the control VLAN by the primary link, so as to connect with the primary link The forwarding device connect includes the second filtering meter item of the control VLAN to the forwarding port configuration of the probe messages, and described the Two filtering meter items are for being forwarded the FLUSH message received;
The standby link is switched to new primary link by the source device, and it includes institute that the source device is sent by the new primary link The FLUSH message of control VLAN is stated, so that the forwarding device option and installment connecting with the new primary link includes the control The port of the second filtering meter item of VLAN forwards the FLUSH message.
7. method as claimed in claim 6, which is characterized in that
Further include in the logon message:Forwarding is forbidden to configure, so that the forwarding device is after receiving the logon message, Next-hop forwarding no longer is carried out to the logon message.
8. a kind of forwarding device, applied to the flexible link SMART-LINK group comprising source device and multiple forwarding devices In, which is characterized in that the forwarding device includes:
Forwarding module, for by being received configured with the port comprising the first filtering meter item or the second filtering meter item that control VLAN With FLUSH message corresponding to the control VLAN, option and installment has its of the second filtering meter item comprising the control VLAN He is forwarded port, and first filtering meter item is for being filtered the FLUSH message received, second filter table Item is for being forwarded the FLUSH message received;
First configuration module, the logon message comprising control virtual LAN VLAN sent for receiving the source device are right First filtering meter item of the receiving port configuration of the logon message comprising the control VLAN;
Second configuration module, for including by being received configured with the port comprising first filtering meter item for controlling VLAN The probe messages of the control VLAN include the second filtering of the control VLAN to the forwarding port configuration of the probe messages List item;
Second configuration module is also used to connect by the port for being not configured with the first filtering meter item comprising the control VLAN The probe messages comprising the control VLAN are received, the receiving port and the configuration of forwarding port to the probe messages are comprising described Control the second filtering meter item of VLAN.
9. forwarding device as claimed in claim 8, which is characterized in that
It further include that forwarding is forbidden to configure in the logon message received by the forwarding device, it is described that forwarding configuration is forbidden to use So that the forwarding device after receiving the logon message, terminates and forwards the logon message.
10. forwarding device as claimed in claim 8, which is characterized in that first configuration module is specifically used for:
Determine configured second filtering meter item of the receiving port of the logon message, then according to the control in the logon message VLAN includes the first filtering meter item of the control VLAN to the receiving port configuration of the logon message, and with described first Filtering meter item covers second filtering meter item.
11. forwarding device as claimed in claim 8, which is characterized in that also carry protection VLAN in the probe messages;
Second configuration module is received by the port configured with the first filtering meter item comprising the control VLAN The probe messages of the control VLAN include the second filtering of the control VLAN to the forwarding port configuration of the probe messages List item, specially:
Configuration port in allow by VLAN in comprising the probe messages protection VLAN and the first filtering meter item is not configured Port the second filtering meter item;
Second configuration module receives packet by being not configured with the port of the first filtering meter item comprising the control VLAN Probe messages containing the control VLAN, receiving port and the configuration of forwarding port to the probe messages include the control The second filtering meter item of VLAN, specially:
Configuration pin to the second filtering meter item of the receiving port of the probe messages, configure allow in other ports by VLAN In comprising the probe messages protection VLAN and be not configured the first filtering meter item port the second filtering meter item.
12. forwarding device as claimed in claim 8, which is characterized in that the forwarding module is specifically used for:
By configured with comprising control VLAN the first filtering meter item port receive with corresponding to the control VLAN FLUSH message, option and installment have the port of the second filtering meter item comprising the control VLAN to forward the FLUSH message;
Or, by configured with comprising control VLAN the second filtering meter item port receive with corresponding to the control VLAN FLUSH message has the port of the second filtering meter item comprising the control VLAN that the FLUSH is forwarded to report by other configurations Text.
13. a source device, applied to include multiple forwarding devices and the source device flexible link SMART-LINK group in, It is characterized in that, the source device includes:
First sending module, for sending the logon message comprising control VLAN respectively by primary link and standby link, so that institute It states the forwarding device that primary link is connected with the standby link and the control is included to the receiving port configuration of the logon message The first filtering meter item of VLAN, first filtering meter item is for being filtered the FLUSH message received;
Second sending module, for sending the probe messages comprising the control VLAN by the primary link, so that with described The forwarding device of primary link connection includes the second filter table of the control VLAN to the forwarding port configuration of the probe messages , second filtering meter item is for being forwarded the FLUSH message received;
Third sending module is sent by the new primary link comprising described for the standby link to be switched to new primary link The FLUSH message of VLAN is controlled, so that the forwarding device option and installment connecting with the new primary link includes the control VLAN The port of the second filtering meter item forward the FLUSH message.
14. source device as claimed in claim 13, which is characterized in that
Further include in the logon message:Forwarding is forbidden to configure, so that the forwarding device is after receiving the logon message, Next-hop forwarding no longer is carried out to the logon message.
CN201510547484.6A 2015-08-31 2015-08-31 A kind of processing method and equipment of FLUSH message Active CN105591919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510547484.6A CN105591919B (en) 2015-08-31 2015-08-31 A kind of processing method and equipment of FLUSH message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510547484.6A CN105591919B (en) 2015-08-31 2015-08-31 A kind of processing method and equipment of FLUSH message

Publications (2)

Publication Number Publication Date
CN105591919A CN105591919A (en) 2016-05-18
CN105591919B true CN105591919B (en) 2018-11-27

Family

ID=55931155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510547484.6A Active CN105591919B (en) 2015-08-31 2015-08-31 A kind of processing method and equipment of FLUSH message

Country Status (1)

Country Link
CN (1) CN105591919B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452834A (en) * 2016-08-31 2017-02-22 大连环宇移动科技有限公司 Method for guaranteeing series connection equipment to keep consistency of main/standby network ports in communication process

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815029A (en) * 2009-02-19 2010-08-25 中兴通讯股份有限公司 Address refreshing method of sub-loop virtual channel
CN101834770A (en) * 2009-03-09 2010-09-15 中兴通讯股份有限公司 Ethernet multiple-ring network address refreshing method and device
CN102412984A (en) * 2011-10-24 2012-04-11 杭州华三通信技术有限公司 Management method and equipment for forwarded table entry
US8659993B2 (en) * 2012-05-04 2014-02-25 Extreme Networks, Inc. Priority domains for protection switching processes
CN103607293A (en) * 2013-10-30 2014-02-26 杭州华三通信技术有限公司 Flow protection method and equipment thereof
CN104780104A (en) * 2015-04-20 2015-07-15 杭州华三通信技术有限公司 Packet forwarding method and device in Smart Link networking

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815029A (en) * 2009-02-19 2010-08-25 中兴通讯股份有限公司 Address refreshing method of sub-loop virtual channel
CN101834770A (en) * 2009-03-09 2010-09-15 中兴通讯股份有限公司 Ethernet multiple-ring network address refreshing method and device
CN102412984A (en) * 2011-10-24 2012-04-11 杭州华三通信技术有限公司 Management method and equipment for forwarded table entry
US8659993B2 (en) * 2012-05-04 2014-02-25 Extreme Networks, Inc. Priority domains for protection switching processes
CN103607293A (en) * 2013-10-30 2014-02-26 杭州华三通信技术有限公司 Flow protection method and equipment thereof
CN104780104A (en) * 2015-04-20 2015-07-15 杭州华三通信技术有限公司 Packet forwarding method and device in Smart Link networking

Also Published As

Publication number Publication date
CN105591919A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
EP4017206A1 (en) Connection establishment method and device, link state notification method and device, interface establishment method and device, information transmission method and device, integrated access backhaul node, centralized unit, system and storage medium
CN111385165A (en) Method and device for configuring Seamless Bidirectional Forwarding Detection (SBFD) mechanism
EP2701342A1 (en) Method and system for implementing elastic network interface and interconnection
CN105577500B (en) The correlating method and device of VXLAN and tunnel
EP2924951A1 (en) Configuration of networks using switch device access of remote server
CN103534982A (en) Method, equipment and network virtualization system for protecting business reliability
EP2924949A1 (en) Configuration of networks using client device access of remote server
CN104301226A (en) Designated routing bridge (DRB) election method, equipment and system
KR101658824B1 (en) Method, apparatus and computer program for updating flow rules of software defined network
CN113852976A (en) Data processing method, controller and forwarding equipment
CN105264869B (en) A kind of system and method for IP address distribution
CN109150638A (en) A kind of route management method and device
CN108075927A (en) Network-building method, privately owned cloud platform and storage medium
EP4250649A1 (en) Packet forwarding method and apparatus, and network system
WO2015081785A1 (en) Method and device for virtualized access
CN105591919B (en) A kind of processing method and equipment of FLUSH message
CN105915465A (en) Method, device and system for adjusting priority of BGP (Border Gateway Protocol) flow-spec table
CN105656814B (en) A kind of SDN network repeater system and method
CN108512737A (en) A kind of method and SDN controllers of data center IP layers of interconnection
WO2019085755A1 (en) Tunnel establishment method and apparatus, and software-defined network controller
CN108092810A (en) A kind of virtual machine management method, VTEP equipment and management equipment
EP3068082B1 (en) Fault processing method and apparatus for edge route bridge in trill network
CN105099743B (en) A kind of train redundancy Dynamic Configuration and system
CN102857415A (en) Routing bridge and device and method for controlling media access control address study
CN107222409A (en) The method and node of a kind of converting flow

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant