CN109302344A - A kind of message forwarding method and device - Google Patents
A kind of message forwarding method and device Download PDFInfo
- Publication number
- CN109302344A CN109302344A CN201811279402.4A CN201811279402A CN109302344A CN 109302344 A CN109302344 A CN 109302344A CN 201811279402 A CN201811279402 A CN 201811279402A CN 109302344 A CN109302344 A CN 109302344A
- Authority
- CN
- China
- Prior art keywords
- message
- state
- label
- port
- tunnel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
- H04L45/245—Link aggregation, e.g. trunking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/82—Miscellaneous aspects
- H04L47/825—Involving tunnels, e.g. MPLS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/101—Access control lists [ACL]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of message forwarding method and device, this method comprises: increasing by the first label in the message for the message received from the tunnel internal control link IPL;The message for being the corresponding access circuit AC of local distributed polymerization DR member port for destination port, increases by the second label in the message;When the state of local DR member port is in off state by open state variation, the message for carrying first label and second label is abandoned.It can be forwarded back and forth between DR member device by the tunnel IPL to avoid message using the embodiment of the present invention.
Description
Technical field
The present invention relates to network communication technology field more particularly to a kind of message forwarding methods and device.
Background technique
DR (Distributed Relay, distribution polymerization) polymerization is a kind of striding equipment link aggregation technology, by two objects
It manages equipment and invents an equipment in polymerization level to realize striding equipment link aggregation, to provide device level redundancy protecting and stream
It measures load balancing and creates identical two layers of polymer interface, and configuring the interface is dynamic aggregation mode.DR agreement is by dynamic aggregation
The information (member port, UP (work)/DOWN (failure) state etc.) of mouth is synchronized to opposite equip. and forms DR aggregation port.
As shown in Figure 1, be a kind of schematic diagram of typical DRS (distributed paradigmatic system), on Leaf (leaf node) 1 from
AC (Attachment Circuit accesses circuit) 3 looks into L2 (two layers) or L3 (three layers) list item after receiving message, finds mesh
Port be Tunnel (tunnel) 1, message is forwarded from Tunnel1;L2 is looked into after receiving message from Tunnel1 on Leaf 1
Or L3 list item, finding destination port is AC3, and message is forwarded from AC3.Leaf 2 is similarly.
When the link between AC3 and Leaf 2 is obstructed, i.e. when the mono- extension of AC3, the message of Tunnel 2 to AC3 cannot directly turn
Hair needs to first pass through IPL (Intra-Portal Link, internal control link) tunnel (being known as Tunnel3 in Fig. 1) and is forwarded to
Leaf 1, is then forwarded to AC3 again, realizes the forwarding of message.
However practice discovery, as all equal Down of DR member port, alternatively, when the server of downlink or interchanger power down,
Leaf1 and Leaf2 can perceive local DR member port Down, but before perceiving the DR member port Down of opposite equip.,
For the message of Tunnel2 to AC3, Leaf2 still can be transmitted to Leaf1 by Tunnel3;When Leaf1 receives the message,
Due to local DR member port Down, which can be transmitted to Leaf2 again by Tunnel3 by Leaf1, thus, cause
Message is forwarded between Leaf1 and Leaf2 by Tunnel3 back and forth, until Leaf1 and Leaf2 perceives the DR of opposite equip.
By packet loss when member port Down.
Summary of the invention
The present invention provides a kind of message forwarding method and device, to solve message between DR member device by IPL tunnel
The problem of road forwards back and forth.
According to a first aspect of the embodiments of the present invention, a kind of message forwarding method is provided, comprising:
For the message received from the tunnel internal control link IPL, increase by the first label in the message;
The message for being the corresponding access circuit AC of local distributed polymerization DR member port for destination port, in the message
Increase by the second label;
When the state of local DR member port by open state variation be in off state when, abandon carry it is described first label and
The message of second label.
According to a second aspect of the embodiments of the present invention, a kind of apparatus for forwarding message is provided characterized by comprising
First adding unit increases in the message for the message for receiving from the tunnel internal control link IPL
First label;
Second adding unit, for being the corresponding access circuit AC of local distributed polymerization DR member port for destination port
Message, in the message increase by second label;
Retransmission unit, for abandoning and carrying when the state of local DR member port is in off state by open state variation
The message of first label and second label.
Increased in the message using technical solution disclosed by the invention by the message for being received from the tunnel IPL
First label;The message for being the local corresponding AC of DR member port for destination port increases by the second label in the message, into
And when the state of local DR member port is in off state by open state variation, it abandons and carries the first label and the second label
Message, avoid message and forwarded back and forth between DR member device by the tunnel IPL.
Detailed description of the invention
Fig. 1 is the schematic diagram of typical DRS a kind of;
Fig. 2 is a kind of flow diagram of message forwarding method provided in an embodiment of the present invention;
Fig. 3 A is a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention;
Fig. 3 B~3D is the schematic diagram of DRS provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of apparatus for forwarding message provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another apparatus for forwarding message provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another apparatus for forwarding message provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another apparatus for forwarding message provided in an embodiment of the present invention.
Specific embodiment
Technical solution in embodiment in order to enable those skilled in the art to better understand the present invention, and make of the invention real
The above objects, features, and advantages for applying example can be more obvious and easy to understand, with reference to the accompanying drawing to technical side in the embodiment of the present invention
Case is described in further detail.
Fig. 2 is referred to, is a kind of flow diagram of message forwarding method provided in an embodiment of the present invention, wherein the report
Literary retransmission method can be applied to any DR member device (hereinafter referred to target DR member device) in DRS system, such as Fig. 2
Shown, which may comprise steps of:
Step 201, the message for receiving from the tunnel IPL increase by the first label in the message.
In the embodiment of the present invention, when target DR member device is from the received message in the tunnel IPL, i.e. opposite end DR member device is logical
When crossing the tunnel IPL and being sent to the message of target DR member device, target DR member device can increase a use in the message
In identifying the label (referred to herein as first mark) that the message be the message received from the tunnel IPL.
In one example, it can be realized by ACL (Access Control List, accesses control list) mode
Increase by the first label in special packet.
Correspondingly, above-mentioned message forwarding method can also include:
When creating the tunnel IPL, the first ACL table item is generated;Wherein, it is IPL that the occurrence of the first ACL table item, which is inbound port,
The tunnel face in tunnel, action item are to increase by the first label with the matched message of the occurrence of the first ACL table item.
In this example, when target DR member device and the opposite end DR member device creation tunnel IPL, target DR member is set
It is standby that the ACL table item (referred to herein as the first ACL table item) for being used to indicate the first label of increase in the message can be generated,
The first ACL table item can indicate that target DR member device is increasing by the first label from the message that the tunnel IPL receives.
Wherein, the first ACL table item can be shown in table 1:
Table 1
Occurrence | Action item |
Inbound port is the tunnel face in the tunnel IPL | Increase by the first label in messages |
It, can the ACL according to shown in the message inquiry table 1 when purpose DR member device receives message from the tunnel IPL
List item finds successful match, at this point, target DR member device can increase by the first label in the message.
Step 202, the message for being the local corresponding AC of DR member port for destination port increase by the second mark in the message
Note.
In the embodiment of the present invention, local forwarding-table item is inquired when target DR member device and determines the destination port of message for this
When the corresponding AC of ground DR member port, target DR member can increase by one in the message and need to turn from AC for identifying the message
The label (the referred to herein as second label) of hair.
It in one example, can be realizing by way of the ClassID (class mark) of corresponding empty port is arranged in spy
Determine to increase by the second label in message.
Correspondingly, above-mentioned message forwarding method can also include:
When local DR member port creates AC, the value of the destination port ClassID label of corresponding empty port is arranged
For the second label.
In this example, when target DR member device local DR member port create the tunnel IPL when, target DR member device
The second label can be set by the value of the destination port ClassID label of corresponding empty port.
As the destination port of the determining received message of target DR member device AC corresponding for local DR member port,
Target DR member device can increase by the second label in the message.
It should be noted that in embodiments of the present invention, between step 201 and step 202 and there is no inevitable timing
Relationship, it can step 201 is first carried out, it is rear to execute step 202;Alternatively, step 202 can also be first carried out, step is executed afterwards
201;Alternatively, can implement and not repeat them here herein with parallel execution of steps 201 and step 202.
Step 203, when the state of local DR member port by open state variation be in off state when, abandon carry this first
The message of label and the second label.
In the embodiment of the present invention, since the state of the local DR member port when DR member device is by UP (unlatching) state change
When for Down (closing) state, DR member device can will need pass through the tunnel IPL turn by the message that local DR member port forwards
Hair, and when the DR member port of opposite end DR member device is also Down state, which can carry out transmission back on the tunnel IPL.
In order to avoid message between DR member device by the tunnel IPL come transmission back, target DR member device is detecting
To local DR member port state by UP (unlatching) state change be Down (closings) state when, can abandon carrying first mark
With the message of the second label, i.e. discarding is received from the tunnel IPL, needs the message forwarded by local DR member port.
In one example, the discarding of the message to the label of carrying first and the second label can be realized by ACL mode.
Correspondingly, above-mentioned message forwarding method can also include:
When the state of local DR member port is in off state by open state variation, the second ACL table item is generated;Wherein,
The occurrence of the second ACL table item is to carry the first label and the second label, and action item is abandoned with the second ACL table item
With the matched message of item.
In this example, when target DR member device detects that the state of local DR member port by UP state change is Down
When state, target DR member device can be generated one and be used to indicate the first label of target DR member device discarding carrying and second
The ACL table item (referred to herein as the second ACL table item) of the message of label.
Wherein, the second ACL table item can be as shown in table 2:
Table 2
Occurrence | Action item |
Carry the first label and the second label | Dropping packets |
When target DR member device needs to E-Packet, can the ACL table item according to shown in the message inquiry table 2, if
Successful match carries the first label and the second label in message, then target DR member device can abandon the message;It is no
Then, target DR member device can normally forward message.
Further, in embodiments of the present invention, it is contemplated that when the DR member port in DR aggregation port reverts to UP state
When, above-mentioned second ACL table item can make that the message forwarded by DR member port is needed to be dropped;Alternatively, as the DR in DR aggregation port
Member port is Down state, and target DR member device perceives this state, i.e. local DR member port Down, and is perceived
When the DR member port Down of opposite end member device, corresponding AC can be deleted, and there is no matchings for above-mentioned second ACL table item at this time
Message.
Therefore, in one example, in order to avoid message error it is dropped, and improves the utilization rate of hardware resource, on
Stating message forwarding method can also include:
When the state of DR aggregation port is other states by forwarding state variation, the second ACL table item is deleted;Wherein, work as DR
There are the DR member ports of open state in aggregation port, and there are when the DR member port of closed state, the state of DR aggregation port is to turn
Hair-like state.
In this example, increase a kind of state of DR aggregation port newly, i.e., original UP state (i.e. whole DR of DR aggregation port at
The state of member's mouth is UP state) and Down state (i.e. the state of whole DR member ports of DR aggregation port is Down state,
And the Down state is perceived by DR member device) except, it can also include Forward (forwarding) state.
Wherein, when the state of the DR member port of target members' equipment local is Down state, and opposite end DR member device
The state of DR member port is that (including virtual condition is UP state or virtual condition is Down state, but target members set for UP state
Standby situations such as not perceiving) when, target members' equipment can determine that the state of DR aggregation port is Forward state.
When target members' equipment detects that the state of DR aggregation port by forwarding state variation is other states, target members
Equipment can delete the second ACL table item, it is thus possible to be dropped with avoiding message error, and improve the utilization rate of hardware resource.
In order to make those skilled in the art more fully understand technical solution provided in an embodiment of the present invention, below with reference to specific
Application scenarios are illustrated technical solution provided in an embodiment of the present invention.
In this embodiment, with EVPN (Ethernet Virtual Private Network, Ethernet Virtual Private Network
Network)+DRS without IPL link networking for.
Fig. 3 A is referred to, is a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention, such as Fig. 3 A institute
Show, VXLAN (Virtual Extensible Local Area is established in the application scenarios, between Leaf100 and Leaf130
Network, virtual expansible local area network) tunnel, Spine (backbone) 210 and Spine220 are the centres in the tunnel VXLAN
Equipment;The tunnel VXLAN is established between Leaf120 and Leaf130, Spine1 and Spine2 are the intermediate equipments in the tunnel VXLAN.
The tunnel VXLAN is established between Leaf110 and Leaf120, Spine210 and Spine220 are that the centre in the tunnel is set
It is standby.The protocol massages of DRS are forwarded between Leaf110 and Leaf120 by the tunnel VXLAN, and establish DRS system;Wherein,
The tunnel VXLAN between Leaf110 and Leaf120 is properly termed as the tunnel IPL.
Refer to Fig. 3 B, it is assumed that Leaf110 is established by VP (Virtual Port, virtual port) 111 and Leaf130
The tunnel VXLAN (referred to herein as Tunnel (tunnel) 100), Leaf120 establish the tunnel VXLAN by VP121 and Leaf130
(referred to herein as Tunnel200), Leaf110 establish the tunnel VXLAN (i.e. IPL tunnel by the VP122 of VP112 and Leaf120
Road, referred to herein as Tunnel300), the VP123 of the VP113 and Leaf120 of Leaf110 belong to DR member port.
In this embodiment, it when creating the tunnel IPL between Leaf110 and Leaf120, is locally generated respectively such as table 3
(Leaf110) and ACL table item shown in table 4 (Leaf120):
Table 3
Occurrence | Action item |
Inbound port is VP112 | Increase C1 in messages |
Table 4
Occurrence | Action item |
Inbound port is VP122 | Increase C1 in messages |
When Leaf110 and Leaf120 is when DR aggregation port creates AC, by the destination port ClassID of corresponding empty port
The value of label is set as C2.
Embodiment one
Assuming that the DR member port on Leaf110 and Leaf120 is UP state, at this point, Leaf110 and Leaf120 record
The state of DR aggregation port be UP state.
In this embodiment, when the message that Leaf110 is received from Tunnel100, by searching for local forwarding table it
Afterwards, the exit port for determining message is AC mouthfuls (VP113), and Leaf110 increases C2 label in messages, and forwards from the AC mouthfuls.
When the message that Leaf120 is received from Tunnel200, after local forwarding table, message is determined
Exit port is AC mouthfuls (VP123), and Leaf12 increases C2 label in messages, and forwards from the AC mouthfuls.
Embodiment two
Referring to Fig. 3 C, it is assumed that the DR member port state change of Leaf120 is Down state, at this point, Leaf120 record
The state of DR aggregation port is Forward state, and the DR that the DR member port Down that Leaf110 perceives Leaf120 is recorded before is poly-
The state healed up is UP state, and the state of the DR aggregation port recorded when perceiving the DR member port Down of Leaf120 is Forward
State.
When the message that Leaf110 is received from Tunnel100, after local forwarding table, message is determined
Exit port is AC mouthfuls (VP113), and Leaf110 increases C2 label in messages, and forwards from the AC mouthfuls.
When Leaf120 detects that local DR member port state change is Down state, 5 institute of table is can be generated in Leaf120
The ACL table item shown:
Table 5
Occurrence | Action item |
Carry C1 and C2 | Dropping packets |
When Leaf120 receives message from Tunnel200, local forwarding-table item is inquired, determines that message exit port is AC
Mouthful, Leaf120 increases C1 label in the message, and due to exit port Down, Leaf120 can be according to the information of Tunnel300
Tunnel encapsulation is carried out to the message, and is sent to Leaf110 from Tunnel300 by the message after encapsulation.
When Leaf110 receives message from Tunnel300, since the inbound port of the message is VP112, with ACL shown in table 3
List item matching, thus, after Leaf110 is to the message decapsulation received, C1 label can be increased in messages (at this time in message
Carry C1 and C2 label), local forwarding-table item is inquired according to the message, determines that the exit port of message is AC mouthfuls, and from the AC mouthfuls
Forwarding.
It should be noted that in this embodiment, when Leaf110 determines that the exit port of message is AC mouthfuls, determining and needing
Increase C2 label in the message, due to having carried C2 label in the message, Leaf110 can be no longer in the message at this time
Increase C2 label, alternatively, Leaf110 can increase C2 label in the message again.
Embodiment three
Referring to Fig. 3 D, it is assumed that it is Down state that the DR member port state of Leaf110 and Leaf120, which changes, when
Before Leaf110 (Leaf120) perceives the DR member port Down of Leaf120 (Leaf110), the state of the DR aggregation port of record
For Forward state.
In this embodiment, when Leaf110 detects that local DR member port state change is Down state, Leaf110
ACL table item shown in table 6 can be generated:
Table 6
Occurrence | Action item |
Carry C1 and C2 | Dropping packets |
When Leaf120 detects that local DR member port state change is Down state, 5 institute of table is can be generated in Leaf120
The ACL table item shown.
When Leaf120 receives message from Tunnel200, local forwarding-table item is inquired, determines that message exit port is AC
Mouthful, Leaf120 increases C1 label in the message, and due to exit port Down, Leaf120 can be according to the information of Tunnel300
Tunnel encapsulation is carried out to the message, and is sent to Leaf110 from Tunnel300 by the message after encapsulation.
When Leaf110 receives message from Tunnel300, since the inbound port of the message is VP112, with ACL shown in table 3
List item matching, thus, after Leaf110 is to the message decapsulation received, C1 label can be increased in messages (at this time in message
Carry C1 and C2 label), when Leaf110 needs are forwarded the message, the ACL table item as shown in the message and table 6
Match, therefore, Leaf110 can abandon the message, thus, it avoids the message and passes through between Leaf110 and Leaf120
Tunnel300 is forwarded back and forth.
When Leaf110 (Leaf120) perceives the DR member port Down of Leaf120 (Leaf110), the DR of record polymerize
The state of mouth is switched to Down state by Forward state, and Leaf110 (Leaf120) can be deleted shown in table 6 (table 5) at this time
ACL table item, and by AC mouthfuls delete, in turn, do not have checking result be DOWN DR aggregation port flow.
Through above description as can be seen that in technical solution provided in an embodiment of the present invention, by for from the tunnel IPL
The message received increases by the first label in the message;The message for being the local corresponding AC of DR member port for destination port,
Increase by the second label in the message, in turn, when the state of local DR member port is in off state by open state variation, loses
The message for carrying the first label and the second label is abandoned, message is avoided and is forwarded back and forth between DR member device by the tunnel IPL.
Fig. 4 is referred to, is a kind of structural schematic diagram of apparatus for forwarding message provided in an embodiment of the present invention, wherein the dress
The target DR member device that can be applied in above method embodiment is set, as shown in figure 4, the apparatus for forwarding message can wrap
It includes:
Adding unit 410 increases by the first label for the message for receiving from the tunnel IPL in the message;
Adding unit 410 is also used to the message for being the local corresponding AC of DR member port for destination port, in the message
Increase by the second label;
Retransmission unit 420, for when the state of local DR member port is in off state by open state variation, discarding to be taken
Message with the first label and the second label.
In an alternative embodiment, as shown in figure 5, described device further include:
First generation unit 430, for generating the first ACL table item when creating the tunnel IPL;Wherein, the first ACL table item
Occurrence be tunnel face that inbound port is the tunnel IPL, action item is in the matched message of occurrence with the first ACL table item
It is middle to increase by the first label.
In an alternative embodiment, as shown in fig. 6, described device further include:
Setting unit 440 is used for when local DR member port creates AC, by the destination port category of corresponding empty port
The value for knowing ClassID label is set as the second label.
In an alternative embodiment, as shown in fig. 7, described device further include:
Second generation unit 450, for giving birth to when the state of local DR member port is in off state by open state variation
At the second ACL table item;Wherein, the occurrence of the second ACL table item is to carry the first label and the second label, and action item is to abandon
With the matched message of occurrence of the second ACL table item.
In an alternative embodiment, the second generation unit 450, the state for being also used to work as DR aggregation port are by forwarding state variation
When other states, the second ACL table item is deleted;Wherein, when the DR member port in DR aggregation port there are open state, and exist and close
When the DR member port of state, the state of DR aggregation port is forwarding state.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize the present invention program.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
As seen from the above-described embodiment, by the message for receiving from the tunnel IPL, increase by the first mark in the message
Note;The message for being the local corresponding AC of DR member port for destination port increases by the second label in the message, in turn, when this
When the state of ground DR member port is in off state by open state variation, the message for carrying the first label and the second label is abandoned,
Message is avoided to forward back and forth between DR member device by the tunnel IPL.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (10)
1. a kind of message forwarding method characterized by comprising
For the message received from the tunnel internal control link IPL, increase by the first label in the message;
The message for being the corresponding access circuit AC of local distributed polymerization DR member port for destination port, increases in the message
Second label;
When the state of local DR member port by open state variation be in off state when, abandon carry it is described first label and it is described
The message of second label.
2. the method according to claim 1, wherein the method also includes:
When creating the tunnel IPL, the first access control list ACL list item is generated;Wherein, of the first ACL table item
It is the tunnel face that inbound port is the tunnel IPL with item, action item is in the matched report of occurrence with the first ACL table item
Increase by first label in text.
3. the method according to claim 1, wherein the method also includes:
When the local DR member port creates AC, by the destination port class mark ClassID label of corresponding empty port
Value is set as second label.
4. the method according to claim 1, wherein the method also includes:
When the state of local DR member port is in off state by open state variation, the second ACL table item is generated;Wherein, described
The occurrence of second ACL table item is to carry first label and second label, and action item is to abandon and described second
The matched message of the occurrence of ACL table item.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
When the state of DR aggregation port is other states by forwarding state variation, the second ACL table item is deleted;Wherein, work as institute
State the DR member port in DR aggregation port there are open state, and there are when the DR member port of closed state, the DR aggregation port
State is forwarding state.
6. a kind of apparatus for forwarding message characterized by comprising
Adding unit increases by the first mark for the message for receiving from the tunnel internal control link IPL in the message
Note;
The adding unit is also used to be the corresponding access circuit AC of local distributed polymerization DR member port for destination port
Message increases by the second label in the message;
Retransmission unit, for abandoning described in carrying when the state of local DR member port is in off state by open state variation
The message of first label and second label.
7. device according to claim 6, which is characterized in that described device further include:
First generation unit, for generating the first access control list ACL list item when creating the tunnel IPL;Wherein, institute
The occurrence for stating the first ACL table item is tunnel face that inbound port is the tunnel IPL, action item be with first ACL table
Increase by first label in the matched message of occurrence of item.
8. device according to claim 6, which is characterized in that described device further include:
Setting unit, for when the local DR member port creates AC, the destination port class of corresponding empty port to be identified
The value of ClassID label is set as second label.
9. device according to claim 6, which is characterized in that described device further include:
Second generation unit, for generating second when the state of local DR member port is in off state by open state variation
ACL table item;Wherein, the occurrence of the second ACL table item is to carry first label and second label, action item
To abandon the matched message of occurrence with the second ACL table item.
10. device according to claim 9, which is characterized in that
Second generation unit is also used to delete institute when the state of DR aggregation port is other states by forwarding state variation
State the second ACL table item;Wherein, when the DR member port in the DR aggregation port there are open state, and there are the DR of closed state
When member port, the state of the DR aggregation port is forwarding state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811279402.4A CN109302344B (en) | 2018-10-30 | 2018-10-30 | Message forwarding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811279402.4A CN109302344B (en) | 2018-10-30 | 2018-10-30 | Message forwarding method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109302344A true CN109302344A (en) | 2019-02-01 |
CN109302344B CN109302344B (en) | 2021-06-29 |
Family
ID=65145177
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811279402.4A Active CN109302344B (en) | 2018-10-30 | 2018-10-30 | Message forwarding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109302344B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100246396A1 (en) * | 2007-05-24 | 2010-09-30 | Sergio Licardie | Dynamic Load Balancing for Layer-2 Link Aggregation |
US20100290464A1 (en) * | 2009-05-13 | 2010-11-18 | Avaya Inc. | Method and apparatus for providing fast reroute of a multicast packet within a network element to an available port associated with a multi-link trunk |
CN102420721A (en) * | 2011-11-30 | 2012-04-18 | 瑞斯康达科技发展股份有限公司 | Loop detection message packaging method as well as loop detecting method and device |
CN103501250A (en) * | 2013-09-30 | 2014-01-08 | 杭州华三通信技术有限公司 | Data flow processing method and device in distribution type link aggregation network |
CN103905326A (en) * | 2012-12-28 | 2014-07-02 | 迈普通信技术股份有限公司 | Ethernet link aggregation packet forwarding control method and network equipment |
CN106878164A (en) * | 2016-12-13 | 2017-06-20 | 新华三技术有限公司 | A kind of message transmitting method and device |
-
2018
- 2018-10-30 CN CN201811279402.4A patent/CN109302344B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100246396A1 (en) * | 2007-05-24 | 2010-09-30 | Sergio Licardie | Dynamic Load Balancing for Layer-2 Link Aggregation |
US20100290464A1 (en) * | 2009-05-13 | 2010-11-18 | Avaya Inc. | Method and apparatus for providing fast reroute of a multicast packet within a network element to an available port associated with a multi-link trunk |
CN102420721A (en) * | 2011-11-30 | 2012-04-18 | 瑞斯康达科技发展股份有限公司 | Loop detection message packaging method as well as loop detecting method and device |
CN103905326A (en) * | 2012-12-28 | 2014-07-02 | 迈普通信技术股份有限公司 | Ethernet link aggregation packet forwarding control method and network equipment |
CN103501250A (en) * | 2013-09-30 | 2014-01-08 | 杭州华三通信技术有限公司 | Data flow processing method and device in distribution type link aggregation network |
CN106878164A (en) * | 2016-12-13 | 2017-06-20 | 新华三技术有限公司 | A kind of message transmitting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109302344B (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106953788B (en) | virtual network controller and control method | |
CN102067533B (en) | Port grouping for association with virtual interfaces | |
US9042402B1 (en) | Methods and apparatus for control protocol validation of a switch fabric system | |
CN106685903B (en) | SDN-based data transmission method, SDN controller and SDN system | |
US11190444B2 (en) | Configuration mechanisms in a switchless network | |
CN106302223B (en) | A kind of method and apparatus of aggregation group flow shunt | |
WO2014089052A1 (en) | Systems and methods for protecting an identity in network communications | |
CN105262667A (en) | Method and device for controlling multicast transmission in Overlay network | |
US20130208722A1 (en) | Packet routing with analysis assist for embedded applications sharing a single network interface over multiple virtual networks | |
CN104320350A (en) | Method and system for providing credit-based flow control | |
CN106470142B (en) | The self-service generation method of virtual network topology and system | |
CN103401797A (en) | Message processing method and equipment | |
US20130208728A1 (en) | Packet routing for embedded applications sharing a single network interface over multiple virtual networks | |
Bose et al. | Blockchain as a service for software defined networks: A denial of service attack perspective | |
Cui et al. | Synergistic policy and virtual machine consolidation in cloud data centers | |
CN109474507A (en) | A kind of message forwarding method and device | |
CN104639437A (en) | Forwarding method and apparatus of broadcast messages in stack system | |
US11283804B2 (en) | Group zoning and access control over a network | |
Cui et al. | Enabling heterogeneous network function chaining | |
US9491098B1 (en) | Transparent network multipath utilization through encapsulation | |
US20170237670A1 (en) | End to end quality of service in storage area networks | |
KR101953584B1 (en) | NFV service provider, VNF service provider, system for extending service chaining including them and method for extending service chaining | |
CN109302344A (en) | A kind of message forwarding method and device | |
CN116319296A (en) | Method and device for deploying data centers in cross-SD-WAN fusion mode | |
Park et al. | A fast recovery scheme based on detour planning for in-band OpenFlow networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |