CN107493244A - The data forwarding port selecting method and device of a kind of vertical stack system - Google Patents
The data forwarding port selecting method and device of a kind of vertical stack system Download PDFInfo
- Publication number
- CN107493244A CN107493244A CN201610420117.4A CN201610420117A CN107493244A CN 107493244 A CN107493244 A CN 107493244A CN 201610420117 A CN201610420117 A CN 201610420117A CN 107493244 A CN107493244 A CN 107493244A
- Authority
- CN
- China
- Prior art keywords
- port
- multicast
- broadcast
- equipment
- aggregation
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/20—Support for services
- H04L49/201—Multicast operation; Broadcast operation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of the data forwarding port selecting method and device of vertical stack system.Methods described includes:Multicast/broadcast member is scanned, identifies aggregation port therein;From the member port of the aggregation port, multicast/broadcast exit port is selected according to setting means;The multicast/broadcast exit port is bound with sendaisle so that when message forwards, the multicast/broadcast exit port can be sent to.Described device includes:Aggregation port identification module;Port selecting module;Binding module.Method and apparatus provided by the present invention can effectively carry out routing under networking scene.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of data forwarding port selecting method of vertical stack system
And device.
Background technology
With the fast development at current data center, a series of virtualization technology is entered by improving processor service efficiency
One step reduces data center's cost.With the development of cloud computing technology, virtual machine surges, and the data center of enterprise is inevitable
The problems for generating some management, the development of network technology must adapt to new virtualization technology trend.Therefore, IEEE
(Institute of Electrical and Electronics Engineers, Institute of Electrical and Electric Engineers) tissue
A series of 802.1 new standards are proposed for new technologies such as data center's virtual machine (vm) migrations, including 802.1Qau (lead to by congestion
Accuse), 802.1Qaz (enhanced transmission selection), 802.1Qbb (the stream control based on priority), 802.1Qbg (edge virtual bridge),
802.1BR (virtual bridge Interface Expanding) etc..
Wherein, remote exchange can be deployed as the policy control interchanger in virtual environment by 802.1BR standards, pass through
Multiple tunnels, edge virtual bridge copy packet is allowed to one group of remote interface, utilize the serial interface of waterfall type and flexible
Planned network is more effectively multicast frames, broadcast frame and unicast frame distribute bandwidth.
802.1BR standards also define PE CSP, and (Port Extender Content Security Policy, port are expanded
Open up device content safety strategy) agreement, control bridge to configure by PE CSP protocol massages, monitoring bridge joint mouth expansion equipment.Such as Fig. 1
It is that PE CSP agreements create virtual bridge process schematic, PE (Port Extender, port expander) is that equipment removes uplink port
Outer all of the port is applied creating ECP Extended Capabilities Port, transmission Extended successively to CB (Controlling Bridge, control bridge)
Port Create (ECP Extended Capabilities Port establishment) message, to ask expansion interface corresponding to CB establishments, E-channel (E passages, control
The multiple passages established between bridge and website), and E-channel is tied to expansion interface;CB receives Extended Port
After Create message, create corresponding extension BEP (Ext.Bridge Port Extender, extension bridge port expander) and connect
Mouthful, it is BEP port assignments E-CID (E-channel Identifier, extended channel mark).
After extending the establishment of BEP interfaces, if PE ECP Extended Capabilities Port passes through LACP (Link Aggregation Control
Protocol, link aggregate control protocol) protocol aggregation into aggregation port, and the aggregation port is added to some group
Broadcast/broadcast group in.Under such a networking scene, data message needs to be forwarded in multicast/broadcast group, while aggregation port
Routing and load balancing can be carried out, usually, there is that two schemes are available, it is as follows:
The first scheme is that LACP configurations are pushed into PE, are managed by PE, routing.The program the disadvantage is that, due to
Configuration needs to be pushed to PE from CB, and reliability can not be protected;And if the extension mouth of polymerization is distributed in two or more
PE on, then for PE, it can not know other information about firms of aggregation port, also can not be to the port of other equipment
Carry out routing calculating.Therefore, there is very big defect in the program, can not support.
Second scheme is, by LACP configuration distributings to CB, routing to be carried out according to LACP member in itself by chip.If
LACP member is common physical port, and this method is feasible.But if LACP member is ECP Extended Capabilities Port, PE does not feel
Know aggregation port, can not also know the port of oneself equipment whether in LACP.The physical port of the upper physical presence of CB is
CASCADE ports (port that CSP messages are received on CB), can not carry out routing and load balancing.Therefore, there is also one for the program
The problem of determining.
The content of the invention
In view of this, the present invention provides a kind of the data forwarding port selecting method and device of vertical stack system, can
Routing is effectively carried out under networking scene.
Based on the data forwarding port selecting method of above-mentioned purpose vertical stack system provided by the invention, including following step
Suddenly:
Multicast/broadcast member is scanned, identifies aggregation port therein;
From the member port of the aggregation port, multicast/broadcast exit port is selected according to setting means;
The multicast/broadcast exit port is bound with sendaisle so that when message forwards, can be sent to described
Multicast/broadcast exit port.
Optionally, the aggregation port is the port based on link aggregate control protocol LACP, and its member port includes end
The port of mouth extension PE equipment, the ports-Extending PE equipment comprise at least one.
Optionally, described the step of being bound the multicast/broadcast exit port with sendaisle, specifically includes:
Extract the mark of the multicast/broadcast exit port;
Multicast is sent to the multicast/broadcast extension gap marker ECID and the mark of the multicast exit port of equipment generation
It is filled in together in sendaisle logon message and is sent to ports-Extending PE equipment;
According to the multicast/broadcast extension gap marker ECID parsed in the sendaisle logon message, by described in
Multicast/broadcast exit port and the Multicast Extensions gap marker ECID corresponding relations of generation are simultaneously tied up with the sendaisle
It is fixed.
Optionally, before the step of scanning multicast/broadcast member, identification aggregation port therein, in addition to:
The physical port of the ports-Extending PE equipment is set as that multicast/broadcast sends the ECP Extended Capabilities Port of equipment, it is described
It is control bridge CB equipment that multicast/broadcast, which sends equipment,;
After the ECP Extended Capabilities Port is polymerized at least one aggregation port, by least one aggregation port addition group
Broadcast/broadcast group in, turn into the multicast/broadcast member in multicast group.
Optionally, the setting means includes hash algorithm.
Meanwhile the present invention provides a kind of data forwarding port selection device of vertical stack system, including:
Aggregation port identification module:For scanning multicast/broadcast member, aggregation port therein is identified;
Port selecting module:For from the member port of the aggregation port, multicast/broadcast to be selected according to setting means
Exit port;
Binding module:For the multicast/broadcast exit port to be bound with sendaisle so that when message forwards,
The multicast/broadcast exit port can be sent to.
Optionally, the aggregation port is the port based on link aggregate control protocol LACP, and its member port includes end
The port of mouth extension PE equipment, the ports-Extending PE equipment comprise at least one.
Optionally, the binding module specifically includes:
Port-mark extraction unit:For extracting the mark of the multicast/broadcast exit port;
Packet sending unit:For multicast to be sent to multicast/broadcast extension gap marker ECID and the institute of equipment generation
The mark for stating multicast exit port is filled in sendaisle logon message and is sent to ports-Extending PE equipment together;
The binding module is according to the multicast/broadcast extension gap marker number parsed in the sendaisle logon message
ECID, by the multicast/broadcast exit port with the Multicast Extensions gap marker ECID corresponding relations of generation and with it is described
Sendaisle is bound.
Optionally, described device also includes:
ECP Extended Capabilities Port setting module:For the physical port of the ports-Extending PE equipment to be set as into multicast/broadcast is sent out
The ECP Extended Capabilities Port of equipment is sent, it is control bridge CB equipment that the multicast/broadcast, which sends equipment,;
Aggregation port adds module:For it is described polymerization ECP Extended Capabilities Port be polymerized at least one aggregation port after, it is near
A few aggregation port is added in multicast/broadcast group, turns into the multicast/broadcast member in multicast group.
Optionally, the setting means includes hash algorithm.
The data forwarding port selecting method and device of vertical stack system provided by the invention, efficiently solve multicast/
Broadcasting packet forward routing on the LACP ports that aggregate into of PE extension mouths the problem of, avoid PE equipment to aggregation port it is all into
Member's mouth multicast/broadcast massage.It will be selected in itself according to LACP member on LACP configuration distributings to CB, by chip so as to solve
Lu Shi, if LACP member includes aggregation port, the problem of being difficult to routing.
Meanwhile by the data forwarding port selecting method and device of vertical stack system provided by the invention, both can be with
When effectively solving LACP aggregation ports addition multicast group, because aggregation port does not have unicast ECID, the multicast ECID of distribution can not
With actual physics port binding, so as to cause multicast message LACP can not carry out routing forwarding and load balancing the problem of,
Can be by, in advance according to a kind of method, the multicast forwarding path of outgoing packet being selected, so as to avoid general biography in software view
System scheme shows certain technical advantage reliability etc. the defects of.
Brief description of the drawings
Fig. 1 is that the PE physical ports of the embodiment of the present invention are created as the process schematic of ECP Extended Capabilities Port;
Fig. 2 is the method flow schematic diagram of the embodiment of the present invention;
Fig. 3 is the vertical stack BEP port trunking figures of the embodiment of the present invention;
Fig. 4 A are that the vertical stack CB equipment LACP ports of the embodiment of the present invention record schematic diagram;
Fig. 4 B are that the vertical stack PE device ports of the embodiment of the present invention record schematic diagram;
Fig. 5 is the apparatus structure schematic diagram of the embodiment of the present invention.
Embodiment
In order to provide effective implementation, the invention provides following embodiments, below in conjunction with Figure of description to this
Inventive embodiments illustrate.
Present invention firstly provides a kind of data forwarding port selecting method of vertical stack system, as shown in Fig. 2 including such as
Lower step:
Step 201:Multicast/broadcast member is scanned, identifies aggregation port therein;
Step 202:From the member port of the aggregation port, multicast/broadcast exit port is selected according to setting means;
Step 203:The multicast/broadcast exit port is bound with sendaisle so that message can be sent out when forwarding
It is sent to the multicast/broadcast exit port.
From the above it can be seen that the data forwarding port selecting method of vertical stack system provided by the invention, energy
It is enough to select a port to be received and dispatched as the message of all member ports of aggregation port or other data messages from aggregation port
Exit port, solve in the case of by LACP configuration distributings to CB, multicast or broadcast member in exist by one or two
The port trunking of above PE equipment into aggregation port and the problem of lead to not routing.
In the specific embodiment of the invention, the moment is forwarded when different messages forward or in different messages, can basis
The actual conditions of port occupancy and the content of message, attribute etc. select different ports to be used as end in an aggregation port
Mouthful.
In the specific embodiment of the invention, the setting means can be random selection mode.
In some embodiments of the invention, the aggregation port is the port based on link aggregate control protocol LACP, its
Member port includes the port of ports-Extending PE equipment, and the ports-Extending PE equipment comprises at least one.
In some embodiments of the invention, the step that the multicast/broadcast exit port and sendaisle are bound
Suddenly specifically include:
Extract the mark of the multicast/broadcast exit port;
Multicast is sent to the multicast/broadcast extension gap marker ECID and the mark of the multicast exit port of equipment generation
It is filled in together in sendaisle logon message and is sent to ports-Extending PE equipment;
According to the multicast/broadcast extension gap marker ECID parsed in the sendaisle logon message, by described in
Multicast/broadcast exit port and the Multicast Extensions gap marker ECID corresponding relations of generation are simultaneously tied up with the sendaisle
It is fixed.
When the ECP Extended Capabilities Port on PE is an aggregation port by LACP protocol aggregations, CB can record this aggregation port
Member corresponding to port-mark.And aggregation port member port possesses different ECID respectively, LACP ports extend as PE
The logic interface that mouth is aggregating, will not reallocate new ECID.Now, if by the aggregation port add some multicast or
Broadcast group, CB send PE CSP message E-channel registration messages to PE, and PE, which is received, carries E-channel registration messages
After CSP messages, multicast ECID and the aggregation port can be bound.
In some embodiments of the invention, the scanning multicast/broadcast member, identify the step of aggregation port therein it
Before, referring still to Fig. 2, in addition to:
Step 200:The physical port of the ports-Extending PE equipment is set as that multicast/broadcast sends the extension end of equipment
Mouthful, it is control bridge CB equipment that the multicast/broadcast, which sends equipment,;
Step 2001:After the ECP Extended Capabilities Port is polymerized at least one aggregation port, by least one polymerization end
Mouth is added in multicast/broadcast group, turns into the multicast/broadcast member in multicast group.
In 802.1BR agreements, PE can notice PE equipment successively to CB by Extended Port Create messages
Port.CB receives the message, therefrom parses the mark of PE ports, and records.At the same time, CB can be uniquely every
One PE port assignment, one ECID, and the corresponding relation of ECID and reception the message port is issued in CB hardware, this
Sample just creates an expansion interface on CB.By Extended Port Create messages it is continuous on send with ECID
Hair, CB can create ECP Extended Capabilities Port one by one on CASCADE mouths and be corresponded with each actual port on PE.Meanwhile
CB can send Extended Port Create Reply messages to PE, and carry and be assigned on PE ports in the message
ECID, the unique mark as the port on PE.
Specifically, as shown in figure 1, control bridge device CB and bridge Interface Extender BPE1 is extended when creating ECP Extended Capabilities Port
Process is:
101:Control bridge device CB to find BPE1, initiate internal extended bridge Interface Extender and create process.Control bridge device
Mutually hair LLDP (Link Layer Discovery Protocol, link layer hair between CB and extension bridge Interface Extender BPE1
Existing agreement) protocol massages, find the direct-connected port of other side and other side.
102:PE CSP are initialized.After CB and BPE1 have found other side mutually, independently trigger equipment and send CSP
Open (CSP openings) message, notify CSP agreements to open to other side, while wait other side to respond.
103:After CB equipment or PE equipment receive CSP Open messages, CSP Open Reply messages are sent to opposite end
Carry out response.Only when CB and PE receive CSP Open Reply messages, it was demonstrated that bilateral agreement, equipment are all ready, Neng Goulian
Connect foundation.
104:When bilateral agreement, equipment are all ready, CB cans initialize flow port on BPE1.By sending Port
Parameters Set (port parameter setting) message carries out some settings to PE ports.PE replys Port Parameters
Set Reply messages are responded.
105:CB initialization C-VLAN components port, PE create ECP Extended Capabilities Port.PE sends Extended Port to CB
Create (ECP Extended Capabilities Port establishment) message, physical port information on PE is carried in the message.PE to CB by sending Extended
The port of Port Create message notification devices, CB receive Extended Port Create messages, by parsing, obtain
The PE port-marks that are carried in message are simultaneously recorded.Specifically, for example, sharing N number of port on PE, PE is each port assignment
A port identifies, such as the numeral such as 1,2,3 ... N is used as uniquely tagged.In fact, the port-mark includes but is not limited to count
Word, if can distinguish different port can, for example, it is also possible to be symbol etc..These port-marks and port are recorded on PE
Corresponding relation.Finally, the upper all of the ports of PE all report CB by way of sending Extended Port Create messages.
106:After CB receives these Extended Port Create messages, parse port-mark therein such as 1,
2nd, 3 ... N etc., and the size for each such PE port assignments one unicast ECID, the ECID is 0-4 kilobytes, together
When, ECID and PE the port-mark corresponding relation for port assignment are recorded in CB local database or resource chained list,
And transmittable Extended Port Create Replay messages are replied.
107:It is similar with prior process that subsequent expansion port creates process.
The port that CSP messages are received on CB is referred to as CASCADE ports, such as Port1, Port2 in Fig. 3.CB will connect
Receive the CASCADE ports for the Extended Port Create messages for carrying port-mark n and the ECID mono- for port n distribution
The part that hardens is removed, is that the port on PE creates respective extension port.Meanwhile CB will seal to be identified as the ECID of n port assignment
In Extended Port Create Reply messages, PE is sent to.By taking Fig. 3 as an example:PE1 and PE2 have port respectively
Port3、Port4;Port, Port5, Port6 port.PE1 and PE2 is respectively that the port-mark that these ports are extracted or constructed is
Numeral 3,4;5、6、7.PE1 records port and port-mark corresponding relation:Port3-3, Port4-4.PE2 records port and port
Identify corresponding relation:Port5-5, Port6-6, Port7-7.PE sends Extended Port Create messages, message to CB
The port-mark of middle carrying 3,4,5,6,7.Respectively, it is 3,4 that the message that PE1 is sent, which carries port-mark,;The message that PE2 is sent
The port-mark of carrying is 5,6,7.Port1 receives the Extended Port Create messages of PE1 transmissions, and Port2 is received
The Extended Port Create messages sent to PE2.CB is port Port3, Port4 points that PE1 upper ports are identified as 3,4
With ECID:13、14;Port Port5, Port6, Port7 to be identified as 5,6,7 on PE2 distribute ECID:15、16、17.Note
Record corresponding relation PE1:3-13、4-14;PE2:5-15、6-16、7-17.Wherein PE1, PE2 be PE on port-mark, the latter
For the ECID of port-mark distribution.CB by this to should corresponding relation insert Extended Port Reply messages, to PE send out
Send.PE receives Extended Port Create Reply messages, parses the ECID wherein distributed and port-mark (PE1:
3-13、4-14;PE2:5-15,6-16,7-17) after, then the content (PE1 with locally having recorded:Port3-3、Port4-4;PE2:
Port5-5, Port6-6, Port7-7) compare.ECID and its port are obtained, hardware is then issued, by ECID and corresponding physics
Mouth is bound.Each port is just so on PE and CB extension mouth generates one-to-one relation, reference picture 3,
Port3, Port4, Port5, Port6, Port7 correspond to ECP Extended Capabilities Port Bep3, Bep4, Bep5, Bep6, Bep7 respectively.
As shown in figure 3, working as CB and PE has formed 802.1BR environment, now, if two ECP Extended Capabilities Ports are polymerized to one
Aggregation port, turn into an aggregation port as Bep4, Bep5 are polymerized to an aggregation port TRUNK1 or Bep6, Bep7 polymerization
There is new logic port to produce on TRUNK2, PE.Wherein, E1 E-channel1, E2 E-channel2.Now, it is polymerization
Port sets mark, has two schemes available:1) aggregation port (such as TRUNK1/TRUNK2) regenerates port-mark X
And send Extended Port Create messages to CB, CB be the logic port generate new unicast ECID-X and
Send back and in Extended Port Create Reply messages.But there is following problem in this method:First, account for
With unicast ECID resources, reduce the expansible capacity in port;Secondly, even if the problem of not considering ECID, the unicast redistributed
ECID-X can not with actual physics port binding, because actual physical port has possessed allocated unicast ECID, such as 13,
14、15、16、17;Again, 802.1BR agreements are not specified by logic port distribution unicast ECID to be.3 points based on more than,
TRUNK1, TRUNK2 no longer send Extended Port Create messages to CB to be applied.Therefore, TRUNK1, TRUNK2
Exist as the logic interface floated on BEP mouths, bound therewith without single unicast ECID.Although TRUNK1, TRUNK2 do not have
New unicast ECID is corresponded to therewith, but CB can record aggregation port member, CASCADE ports and its unicast ECID-
TURNK1:4-14-Port1(CASCADE)、5-15-Port2(CASCADE);TRUNK2:6-16-Port2(CASCADE)、7-
17-Port2 (CASCADE), the visible Fig. 4 A of detailed device, Fig. 4 B.
TRUNK1, TRUNK2 are added in some multicast or broadcast group, CB can be that multicast/broadcast distributes a multicast
ECID, and multicast ECID is tied on all members of this multicast group/broadcast group.CB sends to PE and carries E-
Channel Register (E-channel registrations) message.PE equipment receives E-channel Register messages and parsed
Multicast ECID therein.And the ECID and physical port actual on PE are bound.
Due to Bep4, Bep5 and Bep6, Bep7 the LACP ports aggregated into do not have corresponding unicast ECID can and group
Broadcast E-channel to be bound, therefore in embodiments of the present invention, send PE CSP messages in CB and carry out E-channel and end
Before mouth binding, multicast member is scanned by CB, if some member is LACP aggregation ports and its member port is extension mouth,
So CB just calculates exit port of the member port for electing LACP as aggregation port, the exit port according to setting means
For receiving multicast or the message of broadcast or other data;After selecting exit port, extraction member's port-mark, and the multicast
ECID is filled in E-channel Register messages and is sent to PE, is bound.
In some embodiments of the invention, the setting means includes hash algorithm.
In a kind of specific embodiment of the present invention, by taking Fig. 3 as an example, TRUNK1 and Bep6 that Bep4, Bep5 are polymerized,
The TRUNK2 that Bep7 is polymerized is added separately in multicast ip224.1.1.1 and VLAN1000.CB records TRUNK1, TRUNK2
And its member identities and ECID:3-13、4-14;5-15、6-16.CB is that TRUNK1, TRUNK2 distribute multicast ECID (scope 4k
+ 1~16k) it is 5001,12002.Hash multicast ECID1 (5001) divided by TRUNK1 member can will be added with TRUNK1
The remainder (such as remainder is m) of number selectes the m+1 port of LACP member as multicast exit port as final value:
Multicast ECID1%2=5001%2=1, remainder 1, then take TRUNK1 second port Bep5 finally selected as algorithm
Exit port represents LACP ports and is added in multicast ip224.1.1.1.And by under the CASCADE mouths (Port2) where Bep5 mouths
CB hardware is sent out, is added in multicast ip224.1.1.1.Meanwhile 5-15 (unicast ECID) and 5001 (groups will be identified corresponding to Bep5
Broadcast ECID) insert E-channel Register messages transmission PE.If TRUNK1 is added to another multicast
Ip224.1.1.2, and the multicast ECID that CB is the Multicast Group Assignment is 5002, then according to same algorithm:5002%2=0,
The port so elected is TRUNK1 a port Bep4.Insert the port of E-channel Register messages
Mark, unicast ECID, multicast ECID are respectively just 4,14,5002, and the CASCADE mouths for issuing CB hardware are Port1.With
TRUNK2 is added exemplified by VLAN1000, it is assumed that CB is that the multicast ECID of VLAN1000 distribution is 12002, then according to algorithm picks
The port gone out is:12002%2=0, corresponding ports are TRUNK2 a port Port6, and unicast ECID is 16, end
Mouth is identified as 6.The CASCADE mouths for issuing CB hardware are Port2, insert the mark of the port in E-channel Register messages
Knowledge, unicast ECID, multicast ECID are respectively:6、16、12002.
PE receives E-channel Register messages, parses multicast ECID and port-mark therein, only with
TRUNK1 is added exemplified by multicast ip224.1.1.1.PE parses 5,15,5001 from E-channel Register messages.Root
According to the record shown in Fig. 4 A, Fig. 4 B, it is Port5 to find corresponding ports, is then bound Port5 and multicast ECID5001.
So, that be actually added into multicast ip224.1.1.1 is exactly port Port5, and Port4 is not in multicast ip224.1.1.1.
Similarly, TRUNK1 is added to multicast ip224.1.1.2 and TRUNK2 and is added to VLAN1000 and can adopt this method, final real
The port that border adds is respectively Port4 and Port6.
So the retransmission method proposed according to above example of the present invention, when a multicast message, in multicast group, (ip is
224.1.1.1 when) forwarding, if its multicast exit port is TRUNK1, then it can find exit port Port1 on CB
(the upper Port1 of CB and the IP 224.1.1.1 of multicast group play hardware), after message reaches PE, it is forwarded to Bep5.
Because the aggregation port does not have the ECID (different from LACP member port ECID) for distributing unicast, i.e., CB fails
The LACP aggregation ports perceived on PE are an independent extension mouth.So some of LACP can be chosen by a kind of method
Member port (PE ECP Extended Capabilities Port), is bound with multicast ECID.When flux of multicast forwards or copies to the LACP,
This member port elected is copied to regard to forwarding.LACP port assignment ECID are given so as to avoid, had both saved unicast ECID
Resource, reduce the complexity for carrying out hardware hash routings on PE between different ECP Extended Capabilities Ports again.
Meanwhile the present invention also provides a kind of data forwarding port selection device of vertical stack system, structure such as Fig. 5 institutes
Show, including:
Aggregation port identification module 501:For scanning multicast/broadcast member, aggregation port therein is identified;
Port selecting module 502:For from the member port of the aggregation port, according to setting means select multicast/
Broadcast exit port;
Binding module 503:For the multicast/broadcast exit port to be bound with sendaisle so that message forwards
When, the multicast/broadcast exit port can be sent to.
In some embodiments of the invention, the aggregation port is the port based on link aggregate control protocol LACP, its
Member port includes the port of ports-Extending PE equipment, and the ports-Extending PE equipment comprises at least one.
In some embodiments of the invention, the binding module specifically includes:
Port-mark extraction unit:For extracting the mark of the multicast/broadcast exit port;
Packet sending unit:For multicast to be sent to multicast/broadcast extension gap marker ECID and the institute of equipment generation
The mark for stating multicast exit port is filled in sendaisle logon message and is sent to ports-Extending PE equipment together;
The binding module is according to the multicast/broadcast extension gap marker number parsed in the sendaisle logon message
ECID, by the multicast/broadcast exit port with the Multicast Extensions gap marker ECID corresponding relations of generation and with it is described
Sendaisle is bound.
In some embodiments of the invention, described device also includes:
ECP Extended Capabilities Port setting module:For the physical port of the ports-Extending PE equipment to be set as into multicast/broadcast is sent out
The ECP Extended Capabilities Port of equipment is sent, it is control bridge CB equipment that the multicast/broadcast, which sends equipment,;
Aggregation port adds module:For it is described polymerization ECP Extended Capabilities Port be polymerized at least one aggregation port after, it is near
A few aggregation port is added in multicast/broadcast group, turns into the multicast/broadcast member in multicast group.
In some embodiments of the invention, the setting means includes hash algorithm.
The data forwarding port selecting method and device of vertical stack system provided by the invention, efficiently solve multicast/
Broadcasting packet forward routing on the LACP ports that aggregate into of PE extension mouths the problem of, avoid PE equipment to aggregation port it is all into
Member's mouth multicast/broadcast massage.It will be selected in itself according to LACP member on LACP configuration distributings to CB, by chip so as to solve
Lu Shi, if LACP member includes aggregation port, the problem of being difficult to routing.
Meanwhile by the data forwarding port selecting method and device of vertical stack system provided by the invention, both can be with
When effectively solving LACP aggregation ports addition multicast group, because aggregation port does not have unicast ECID, the multicast ECID of distribution can not
With actual physics port binding, so as to cause multicast message LACP can not carry out routing forwarding and load balancing the problem of,
Can be by, in advance according to a kind of method, the multicast forwarding path of outgoing packet being selected, so as to avoid general biography in software view
System scheme shows certain technical advantage reliability etc. the defects of.
It should be appreciated that multiple embodiments described by this specification are merely to illustrate and explain the present invention, it is not used to limit
The fixed present invention.And in the case where not conflicting, the feature in embodiment and embodiment in the application can be mutually combined.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (10)
1. a kind of data forwarding port selecting method of vertical stack system, it is characterised in that comprise the following steps:
Multicast/broadcast member is scanned, identifies aggregation port therein;
From the member port of the aggregation port, multicast/broadcast exit port is selected according to setting means;
The multicast/broadcast exit port is bound with sendaisle so that when message forwards, described group can be sent to
Broadcast/broadcast exit port.
2. according to the method for claim 1, it is characterised in that the aggregation port is based on link aggregate control protocol
LACP port, its member port include the port of ports-Extending PE equipment, and the ports-Extending PE equipment comprises at least one.
3. according to the method for claim 2, it is characterised in that described by the multicast/broadcast exit port and sendaisle
The step of being bound specifically includes:
Extract the mark of the multicast/broadcast exit port;
Multicast is sent into the multicast/broadcast extension gap marker ECID of equipment generation together with the mark of the multicast exit port
It is filled in sendaisle logon message and is sent to ports-Extending PE equipment;
According to the multicast/broadcast extension gap marker ECID parsed in the sendaisle logon message, by the multicast/
Exit port is broadcasted with the Multicast Extensions gap marker ECID corresponding relations of generation and is bound with the sendaisle.
4. according to the method for claim 2, it is characterised in that the scanning multicast/broadcast member, identification polymerization therein
Before the step of port, in addition to:
By the physical port of the ports-Extending PE equipment be set as multicast/broadcast send equipment ECP Extended Capabilities Port, the multicast/
Broadcast transmitting apparatus is control bridge CB equipment;
After the ECP Extended Capabilities Port is polymerized at least one aggregation port, at least one aggregation port is added into multicast/wide
Broadcast in group, turn into the multicast/broadcast member in multicast group.
5. according to the method for claim 1, it is characterised in that the setting means includes hash algorithm.
A kind of 6. data forwarding port selection device of vertical stack system, it is characterised in that including:
Aggregation port identification module:For scanning multicast/broadcast member, aggregation port therein is identified;
Port selecting module:For from the member port of the aggregation port, selecting multicast/broadcast to go out end according to setting means
Mouthful;
Binding module:For the multicast/broadcast exit port to be bound with sendaisle so that, can when message forwards
It is sent to the multicast/broadcast exit port.
7. device according to claim 6, it is characterised in that the aggregation port is based on link aggregate control protocol
LACP port, its member port include the port of ports-Extending PE equipment, and the ports-Extending PE equipment comprises at least one.
8. device according to claim 7, it is characterised in that the binding module specifically includes:
Port-mark extraction unit:For extracting the mark of the multicast/broadcast exit port;
Packet sending unit:For the multicast/broadcast extension gap marker ECID for generating multicast transmission equipment and described group
The mark of broadcast port is filled in sendaisle logon message together is sent to ports-Extending PE equipment;
The binding module is according to the multicast/broadcast extension gap marker number parsed in the sendaisle logon message
ECID, by the multicast/broadcast exit port with the Multicast Extensions gap marker ECID corresponding relations of generation and with it is described
Sendaisle is bound.
9. device according to claim 7, it is characterised in that described device also includes:
ECP Extended Capabilities Port setting module:Set for the physical port of the ports-Extending PE equipment to be set as into multicast/broadcast is sent
Standby ECP Extended Capabilities Port, it is control bridge CB equipment that the multicast/broadcast, which sends equipment,;
Aggregation port adds module:, will at least one for after the polymerization ECP Extended Capabilities Port is polymerized at least one aggregation port
The individual aggregation port is added in multicast/broadcast group, turns into the multicast/broadcast member in multicast group.
10. device according to claim 7, it is characterised in that the setting means includes hash algorithm.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610420117.4A CN107493244A (en) | 2016-06-13 | 2016-06-13 | The data forwarding port selecting method and device of a kind of vertical stack system |
PCT/CN2017/084546 WO2017215390A1 (en) | 2016-06-13 | 2017-05-16 | Method and device for selecting data forwarding port of longitudinal stack system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610420117.4A CN107493244A (en) | 2016-06-13 | 2016-06-13 | The data forwarding port selecting method and device of a kind of vertical stack system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107493244A true CN107493244A (en) | 2017-12-19 |
Family
ID=60642840
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610420117.4A Pending CN107493244A (en) | 2016-06-13 | 2016-06-13 | The data forwarding port selecting method and device of a kind of vertical stack system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107493244A (en) |
WO (1) | WO2017215390A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107911301A (en) * | 2017-12-28 | 2018-04-13 | 新华三技术有限公司 | A kind of message forwarding method and device |
CN108092896A (en) * | 2017-12-26 | 2018-05-29 | 新华三技术有限公司 | Pile system and aggregation group establish device |
CN108259228A (en) * | 2017-12-22 | 2018-07-06 | 新华三技术有限公司 | A kind of system and its equipment configuration method, device |
CN108696459A (en) * | 2018-04-28 | 2018-10-23 | 新华三技术有限公司 | Pile system and message forwarding method |
CN109274516A (en) * | 2017-12-22 | 2019-01-25 | 新华三技术有限公司 | A kind of extension bridge and thereon line control method |
CN111010343A (en) * | 2019-12-18 | 2020-04-14 | 锐捷网络股份有限公司 | Method, device, network equipment and storage medium for forwarding multicast message |
CN115037565A (en) * | 2022-06-02 | 2022-09-09 | 北京东土军悦科技有限公司 | Multicast data forwarding method, device, network equipment, storage medium and system |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110391979B (en) * | 2018-04-23 | 2021-01-15 | 华为技术有限公司 | Network equipment stacking method, network equipment and storage medium |
CN108924066B (en) * | 2018-06-20 | 2020-09-08 | 新华三技术有限公司 | Message forwarding method and device |
CN114189484B (en) * | 2021-12-28 | 2023-10-27 | 杭州迪普科技股份有限公司 | Method and device for forwarding message internally |
CN115484233B (en) * | 2022-09-23 | 2024-04-12 | 北京物芯科技有限责任公司 | Method, device, equipment and medium for forwarding link aggregation message in digital communication chip |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140044129A1 (en) * | 2012-08-10 | 2014-02-13 | Duane Edward MENTZE | Multicast packet forwarding in a network |
CN103780480B (en) * | 2012-10-17 | 2017-08-11 | 新华三技术有限公司 | Message forwarding method and equipment |
CN103338161B (en) * | 2013-07-10 | 2016-06-15 | 杭州华三通信技术有限公司 | A kind of method and apparatus realizing cross-equipment aggregation |
CN104410577B (en) * | 2014-11-05 | 2018-04-06 | 新华三技术有限公司 | The transmission method and equipment of a kind of broadcasting packet |
CN104935509B (en) * | 2015-04-30 | 2018-07-20 | 新华三技术有限公司 | A kind of method and apparatus that loop is prevented in vertical stack system |
-
2016
- 2016-06-13 CN CN201610420117.4A patent/CN107493244A/en active Pending
-
2017
- 2017-05-16 WO PCT/CN2017/084546 patent/WO2017215390A1/en active Application Filing
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259228A (en) * | 2017-12-22 | 2018-07-06 | 新华三技术有限公司 | A kind of system and its equipment configuration method, device |
CN109274516A (en) * | 2017-12-22 | 2019-01-25 | 新华三技术有限公司 | A kind of extension bridge and thereon line control method |
CN108092896A (en) * | 2017-12-26 | 2018-05-29 | 新华三技术有限公司 | Pile system and aggregation group establish device |
CN108092896B (en) * | 2017-12-26 | 2020-12-08 | 新华三技术有限公司 | Stacking system and aggregation group creation apparatus |
CN107911301A (en) * | 2017-12-28 | 2018-04-13 | 新华三技术有限公司 | A kind of message forwarding method and device |
CN107911301B (en) * | 2017-12-28 | 2020-11-20 | 新华三技术有限公司 | Message forwarding method and device |
CN108696459A (en) * | 2018-04-28 | 2018-10-23 | 新华三技术有限公司 | Pile system and message forwarding method |
CN111010343A (en) * | 2019-12-18 | 2020-04-14 | 锐捷网络股份有限公司 | Method, device, network equipment and storage medium for forwarding multicast message |
CN115037565A (en) * | 2022-06-02 | 2022-09-09 | 北京东土军悦科技有限公司 | Multicast data forwarding method, device, network equipment, storage medium and system |
CN115037565B (en) * | 2022-06-02 | 2023-12-12 | 北京东土军悦科技有限公司 | Multicast data forwarding method, device, network equipment, storage medium and system |
Also Published As
Publication number | Publication date |
---|---|
WO2017215390A1 (en) | 2017-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107493244A (en) | The data forwarding port selecting method and device of a kind of vertical stack system | |
JP7162117B2 (en) | NETWORK SLICE CONTROL METHOD AND APPARATUS, COMPUTER-READABLE STORAGE MEDIUM | |
US9665530B2 (en) | Method and system for implementing elastic network interface and interconnection | |
CN103748835B (en) | The dynamic renewal of label switched path | |
CN105591916B (en) | A kind of message transmitting method and device | |
CN109120962A (en) | The method and apparatus of software terminal connection view networking | |
CN108173803B (en) | A kind of networked by view accesses the method and view connection cat server-side of internet | |
CN107204907B (en) | Cloud data center interconnection method and device | |
CN111555974B (en) | Data packet processing method and device, terminal equipment and storage medium | |
CN103813336A (en) | Wireless local area network transmission control method, wireless local area network device and wireless local area network system | |
CN103944867A (en) | Dynamic host configuration protocol (DHCP) message processing method, device and system | |
CN102571375B (en) | Multicast forwarding method and device as well as network device | |
CN110048954A (en) | A kind of data transmission method and device | |
CN102984043B (en) | The retransmission method and device of multicast traffic stream | |
CN109474715A (en) | A kind of resource allocation method and device based on view networking | |
CN109450982A (en) | A kind of network communication method and system | |
CN109818960A (en) | Data processing method and device | |
CN109347844B (en) | Method and device for accessing equipment to Internet | |
CN112333210B (en) | Method and equipment for realizing data communication function of video network | |
CN110391961A (en) | A kind of tunnel binding method, equipment and system | |
CN110740087B (en) | Message transmission method, terminal, gateway device, electronic device and storage medium | |
CN111510341A (en) | Network testing method and device for video network | |
CN109361626A (en) | A kind of the port density extended method and SDN network of OpenFlow interchanger | |
CN103200620B (en) | The method of core network access and device in a kind of LTE system | |
CN116074160A (en) | Virtual networking public network forwarding method for GPU rendering computing node cluster |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171219 |
|
WD01 | Invention patent application deemed withdrawn after publication |