CN106789536B - The method and system of protocol massages are sent in a kind of VSM system - Google Patents
The method and system of protocol massages are sent in a kind of VSM system Download PDFInfo
- Publication number
- CN106789536B CN106789536B CN201611250023.3A CN201611250023A CN106789536B CN 106789536 B CN106789536 B CN 106789536B CN 201611250023 A CN201611250023 A CN 201611250023A CN 106789536 B CN106789536 B CN 106789536B
- Authority
- CN
- China
- Prior art keywords
- vlan
- protocol massages
- target
- exchange chip
- dedicated
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/70—Virtual switches
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Massaging Devices (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides the method and system that protocol massages are sent in a kind of VSM system, the method is applied to VSM system, this method comprises: the CPU of host apparatus adds the label of dedicated vlan to protocol massages and protocol massages is sent to the exchange chip of target device, the exchange chip of target device determines target VLAN according to the VLAN tag of protocol massages, and target obstruction group is determined according to target VLAN, when the VLAN of target device exchange chip allows list to include target VLAN, and in the obstruction group information that target device exchange chip saves, when target obstruction group is configured forwarding state by the outgoing interface of target device, after removing the dedicated vlan label of protocol massages, protocol massages are sent by the outgoing interface of target device.It can be seen that, dedicated transmission channel of the embodiment of the present invention by using dedicated vlan as protocol massages, the protocol massages forwarding based on exchange chip is realized, so that the forwarding of protocol massages is eliminated the reliance on the backup of host apparatus CPU, improves the stability of VSM system when sending protocol massages.
Description
Technical field
This application involves fields of communication technology, in particular to the method and system of protocol massages are sent in VSM system.
Background technique
The more network equipments can be invented one by VSM (Virtual Switch Matrix, virtual switch matrix) technology
The network equipment.In VSM system, a host apparatus and more stand-by equipments, host apparatus and stand-by equipment are generally comprised
All it is inserted with business board, common finishing service flow forwarding.Wherein, host apparatus is also responsible for the association of VSM system and external equipment
View interaction, completes the calculating of information reconciliation and forward-path.This just needs outgoing interface and spare of the host apparatus by itself
The outgoing interface of equipment to need protocol interaction external equipment send protocol massages.
In the prior art, for the protocol massages for needing to send by host apparatus itself outgoing interface, host apparatus can be with
Call its outgoing interface to directly transmit, for the protocol massages for needing to send by stand-by equipment outgoing interface, host apparatus need by
Protocol massages are backed up to be recalled its outgoing interface and is sent to stand-by equipment after stand-by equipment receives protocol massages.But backup association
View message can consume host apparatus compared with multi -CPU (Central Processing Unit, central processing unit) resource, and then can shadow
Ring the stability of VSM system.
Summary of the invention
The embodiment of the present invention provides the method and system that protocol massages are sent in VSM system, existing in VSM system for solving
The problem of some protocol massages transmission technologies can reduce the stability of VSM system.
According to a first aspect of the embodiments of the present invention, a kind of method that protocol massages are sent in VSM system, feature are provided
It is, the method is applied to VSM system, and the VSM system includes a host apparatus and more and the host apparatus
The stand-by equipment of connection, the host apparatus and stand-by equipment include exchange chip, outgoing interface and cascade port, wherein are appointed
Exchange chip in one equipment in the equipment outgoing interface and cascade port it is associated, and preserve associated outgoing interface and grade
Connection mouth allow by VLAN (Virtual Local Area Network, virtual LAN) VLAN permission list, with
And the obstruction group information that outgoing interface in the equipment and cascade port are configured, wherein saved in the exchange chip of any appliance
VLAN allow list in include same dedicated vlan, the dedicated vlan be VSM system send protocol massages it is dedicated
VLAN can not be changed by user, and the dedicated vlan is added into dedicated obstruction group and is the unique member in the dedicated obstruction group,
It is the outgoing interface and cascade port and spare of the host apparatus when the dedicated obstruction group is that VSM system sends protocol massages
The dedicated obstruction group of outgoing interface and the cascade port configuration of equipment, can not be changed by user, be protected in the exchange chip of any appliance
In the obstruction group information deposited, the outgoing interface and cascade port of the host apparatus and the outgoing interface and cascade port of stand-by equipment will
Dedicated obstruction group is configured to forwarding state, which comprises
Label of the CPU of host apparatus to protocol massages addition dedicated vlan;
The protocol massages are sent to the exchange chip of target device by the CPU of host apparatus, and the target device is institute
State the equipment where the outgoing interface of protocol massages;
The exchange chip of target device determines target VLAN, the target according to the VLAN tag of received protocol massages
VLAN is VLAN belonging to the protocol massages, and determines target obstruction group, the target obstruction group according to the target VLAN
It is the obstruction group that the affiliated VLAN of the protocol massages is added;
The exchange chip of target device judges that the VLAN itself saved allows whether list includes the target VLAN, such as
Fruit is then to continue to judge in the obstruction group information that the exchange chip of the target device saves, and the target device goes out to connect
Mouthful whether by target obstruction group forwarding state is configured, if it is, after removing the dedicated vlan label of the protocol massages,
The protocol massages are sent by the outgoing interface of the target device.
According to a second aspect of the embodiments of the present invention, the system that protocol massages are sent in a kind of VSM system, feature are provided
It is, the system is applied to VSM system, and the VSM system includes a host apparatus and more and the host apparatus
The stand-by equipment of connection, the host apparatus and stand-by equipment include exchange chip, outgoing interface and cascade port, wherein are appointed
Exchange chip in one equipment in the equipment outgoing interface and cascade port it is associated, and preserve associated outgoing interface and grade
Connection mouth allow by VLAN VLAN permission list and the equipment on outgoing interface and the obstruction group that is configured of cascade port
Information, wherein allow in the VLAN that the exchange chip of any appliance is saved comprising same dedicated vlan in list, it is described special
It is the dedicated vlan that VSM system sends protocol massages with VLAN, can not be changed by user, the dedicated vlan is added into dedicated resistance
Plug group and be the unique member in the dedicated obstruction group be described when the dedicated obstruction group is that VSM system sends protocol massages
The dedicated obstruction group of the outgoing interface and cascade port of the outgoing interface and cascade port of host apparatus and stand-by equipment configuration, can not by with
Family change, in the obstruction group information that is saved of exchange chip of any appliance, the outgoing interface and cascade port of the host apparatus
And the outgoing interface and cascade port of stand-by equipment configure forwarding state for dedicated obstruction group, the system comprises:
The CPU of host apparatus, for the label to protocol massages addition dedicated vlan;It is also used to send out the protocol massages
It send to the exchange chip of target device, the target device is the equipment where the outgoing interface of the protocol massages, can be master
With equipment, it is also possible to stand-by equipment;
The exchange chip of host apparatus and the exchange chip of stand-by equipment, for the VLAN according to received protocol massages
Label determines that target VLAN, the target VLAN are VLAN belonging to the protocol massages, and is determined according to the target VLAN
Target obstruction group, the target obstruction group are the obstruction groups that the affiliated VLAN of the protocol massages is added;It is also used to judge itself
The VLAN saved allows whether list includes the target VLAN, if it is, continuing to judge the obstruction itself being saved
In group information, whether the outgoing interface of equipment where itself by target obstruction group configures forwarding state, if it is, removing
After the dedicated vlan label for stating protocol massages, the protocol massages are sent by the outgoing interface of equipment where itself.
By above technical scheme as it can be seen that the embodiment of the present invention is added with all outgoing interfaces of VSM system and cascade by introducing
The dedicated vlan of mouth, and the dedicated obstruction group of forwarding state is all set in all outgoing interfaces of VSM system and cascade port.
By adding the label of dedicated vlan to protocol massages, uses dedicated vlan as the dedicated transmission channel of protocol massages, realize
It is forwarded based on the protocol massages of host apparatus and stand-by equipment exchange chip, so that the forwarding of protocol massages is eliminated the reliance on primary set
The backup of standby CPU, improves the stability of VSM system when sending protocol massages.
Detailed description of the invention
Fig. 1 is the application scenarios schematic diagram that the method for protocol massages is sent in VSM of embodiment of the present invention system;
Fig. 2 is one embodiment flow chart that the method for protocol massages is sent in VSM system of the present invention;
Fig. 3 is another embodiment flow chart that the method for protocol massages is sent in VSM system of the present invention;
Fig. 4 is the configuration diagram according to the system for sending protocol massages in the VSM system of one embodiment of the invention.
Specific embodiment
In order to make those skilled in the art better understand the technical solution in the embodiment of 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 the technology in the embodiment of the present invention
Scheme is described in further detail.
Fig. 1 is the application scenarios schematic diagram that the method for protocol massages is sent in VSM of embodiment of the present invention system.
As shown in Figure 1, including a host apparatus and two stand-by equipments in the VSM system, wherein shown host apparatus
With include CPU, exchange chip, outgoing interface and cascade port, shown host apparatus and shown two stand-by equipments in stand-by equipment
It is connected by cascade port.Wherein, the exchange chip on any appliance in the equipment CPU, outgoing interface and cascade port it is associated,
Exchange chip can receive protocol massages from CPU, can call and control outgoing interface and cascade port retransmission protocol message.
For the VSM system shown in Fig. 1 sends protocol massages, in the prior art, for needing through host apparatus itself
The protocol massages that outgoing interface is sent, host apparatus can call its outgoing interface to directly transmit, for needing through stand-by equipment 1
The protocol massages that the outgoing interface of outgoing interface and stand-by equipment 2 is sent, host apparatus need to back up protocol massages to stand-by equipment 1
It recalls its outgoing interface after the CPU of stand-by equipment receives protocol massages with stand-by equipment 2 and is sent.But backup protocol message
The more cpu resource of host apparatus can be consumed, and then will affect the stability of VSM system.
In embodiments of the present invention, the dedicated of all outgoing interfaces and cascade port in shown VSM system is added with by being introduced into
VLAN, and the dedicated obstruction group of forwarding state is all set in all outgoing interfaces of VSM system and cascade port.By to association
The label for discussing message addition dedicated vlan, uses dedicated vlan as the dedicated transmission channel of protocol massages, realizes based on master
It is forwarded with the protocol massages of equipment and stand-by equipment exchange chip, the forwarding of protocol massages is made to eliminate the reliance on host apparatus CPU's
Backup improves the stability of VSM system when sending protocol massages.
Below with reference to application scenarios shown in fig. 1, the embodiment of the present invention is described in detail.
Referring to fig. 2, Fig. 2 is one embodiment flow chart that the method for protocol massages is sent in VSM system of the present invention, the reality
Example is applied applied to VSM system, in this embodiment, the exchange chip of the exchange chip of host apparatus and stand-by equipment is respectively and respectively
It is associated from the outgoing interface and cascade port of place equipment, and preserve associated outgoing interface and cascade port allow by
The obstruction group information that the VLAN permission list of VLAN and the outgoing interface in the equipment and cascade port are configured.Wherein, any
The VLAN that the exchange chip of equipment is saved allows to include same dedicated vlan in list, which is VSM system hair
The dedicated vlan of protocol massages is sent, can not be changed by user, which is added into dedicated obstruction group and is the dedicated obstruction
Unique member in group is the outgoing interface and cascade port of host apparatus when the dedicated obstruction group is that VSM system sends protocol massages
And the dedicated obstruction group of outgoing interface and the cascade port configuration of stand-by equipment, it can not be changed by user, in the exchange of any appliance
In the obstruction group information that chip is saved, the outgoing interface and cascade port of the host apparatus and the outgoing interface and grade of stand-by equipment
Connection mouth configures forwarding state for dedicated obstruction group.The embodiment the following steps are included:
Step 201: label of the CPU of host apparatus to protocol massages addition dedicated vlan.
In an optional example, above-mentioned dedicated vlan can be VLAN 4095.
It should be noted that definition has totally 4096 VLAN of VLAN 0-VLAN 4095 in existing VLAN agreement,
Middle VLAN 4095 be used as reserved value, be to user it is sightless, user can not also operate VLAN 4095.Herein I
The feature invisible for user, inoperable according to VLAN 4095, define VLAN 4095 as dedicated vlan be to be based on
The selection of agreement at present should not be construed as the definition to dedicated vlan in the embodiment of the present invention and the limitation of purposes.
Step 202: the protocol massages are sent to the exchange chip of target device by the CPU of host apparatus.
In this step, the target device refers to the equipment where the outgoing interface of protocol massages, can be host apparatus,
It can be stand-by equipment.Wherein, the CPU of host apparatus can send agreement report to the exchange chip of stand-by equipment by cascade port
Text.
Step 203: the exchange chip of target device determines target VLAN according to the VLAN tag of received protocol massages, and
Target obstruction group is determined according to the target VLAN.
In this step, the target VLAN refers to VLAN belonging to protocol massages, and the target obstruction group refers to agreement report
The obstruction group that VLAN belonging to text is added.
Step 204: the exchange chip of target device judges that the VLAN itself saved allows whether list includes the mesh
VLAN is marked, if it is, continuing to judge in the obstruction group information that the exchange chip of the target device saves, the target is set
Whether standby outgoing interface by target obstruction group configures forwarding state, if it is, removing the dedicated of the protocol massages
After VLAN tag, the protocol massages are sent by the outgoing interface of the target device.
In an optional example, if the exchange chip of target device judges that the VLAN itself saved allows list
And do not include target VLAN, then abandon the corresponding protocol massages of target VLAN.
In another optional example, if the exchange chip of target device judges the exchange chip in the target device
In the obstruction group information of preservation, the outgoing interface of the target device does not configure forwarding state for target obstruction group, then abandoning should
The corresponding protocol massages of target VLAN.
In another optional example, if the exchange chip of the target device abandons the corresponding agreement of target VLAN
Message, then the exchange chip of the target device is fed back to the CPU of host apparatus sends result.
By above embodiments as it can be seen that the embodiment of the present invention is added with all outgoing interfaces of VSM system and cascade port by introducing
Dedicated vlan, and be all set to the dedicated obstruction group of forwarding state in all outgoing interfaces of VSM system and cascade port.It is logical
It crosses to the label of protocol massages addition dedicated vlan, dedicated vlan is used to realize as the dedicated transmission channel of protocol massages
It is forwarded based on the protocol massages of host apparatus and stand-by equipment exchange chip, the forwarding of protocol massages is made to eliminate the reliance on host apparatus
The backup of CPU improves the stability of VSM system when sending protocol massages.
It is another embodiment flow chart for inventing the method that protocol massages are sent in VSM system referring to Fig. 3, Fig. 3.The reality
Example is applied the process for sending protocol massages in VSM system is described in detail, in the embodiment, the exchange chip of host apparatus
And the exchange chip of stand-by equipment is associated with the outgoing interface of respective place equipment and cascade port respectively, and preserves associated
Outgoing interface and cascade port allow by the VLAN of VLAN allow outgoing interface and cascade port in list and the equipment to be matched
The obstruction group information set.Wherein, allow in list in the VLAN that the exchange chip of any appliance is saved comprising same dedicated
VLAN, the dedicated vlan are the dedicated vlan that VSM system sends protocol massages, can not be changed by user, which is added
Enter dedicated obstruction group and is the unique member in the dedicated obstruction group, when which is that VSM system sends protocol massages,
It, can not be by for the dedicated obstruction group of outgoing interface and the cascade port configuration of the outgoing interface and cascade port and stand-by equipment of host apparatus
User's change, in the obstruction group information that is saved of exchange chip of any appliance, the outgoing interface of the host apparatus and cascade
The outgoing interface and cascade port of mouth and stand-by equipment configure forwarding state for dedicated obstruction group.The embodiment includes following step
It is rapid:
Step 301: label of the CPU of host apparatus to protocol massages addition dedicated vlan.
In an optional example, above-mentioned dedicated vlan can be VLAN 4095.
It should be noted that definition has totally 4096 VLAN of VLAN 0-VLAN 4095 in existing VLAN agreement,
Middle VLAN 4095 be used as reserved value, be to user it is sightless, user can not also operate VLAN 4095.Herein I
The feature invisible for user, inoperable according to VLAN 4095, define VLAN 4095 as dedicated vlan be to be based on
The selection of agreement at present should not be construed as the definition to dedicated vlan in the embodiment of the present invention and the limitation of purposes.
Step 302: above-mentioned protocol massages are sent to the exchange chip of target device by the CPU of host apparatus.
In this step, the target device refers to the equipment where the outgoing interface of protocol massages, can be host apparatus,
It can be stand-by equipment.Wherein, the CPU of host apparatus can send agreement report to the exchange chip of stand-by equipment by cascade port
Text.
Step 303: the exchange chip of target device determines target VLAN according to the VLAN tag of received protocol massages, and
Target obstruction group is determined according to the target VLAN.
In this step, the target VLAN is VLAN belonging to above-mentioned protocol massages, and the target obstruction group is above-mentioned association
The obstruction group that the view affiliated VLAN of message is added.
Step 304: the exchange chip of target device judges that the VLAN itself saved allows whether list includes the mesh
VLAN is marked, if not, 306 are thened follow the steps, if so, thening follow the steps 305.
Step 305: the exchange chip of target device judges that in the obstruction group information that it is saved, target device goes out to connect
Mouthful whether by target obstruction group forwarding state is configured, if not, 306 are thened follow the steps, if so, thening follow the steps 307.
Step 306: the exchange chip of target device abandons the corresponding protocol massages of target VLAN and to host apparatus
CPU feedback sends result.
In an optional mode, feedback report can be sent to the CPU of host apparatus with target device exchange chip
Text.
Step 307: the exchange chip of target device is set after removing the dedicated vlan label of the protocol massages by target
Standby outgoing interface sends the protocol massages.
By above step as it can be seen that the embodiment is dedicated added with all outgoing interfaces of VSM system and cascade port by introducing
VLAN, and the dedicated obstruction group of forwarding state is all set in all outgoing interfaces of VSM system and cascade port.By to association
The label for discussing message addition dedicated vlan, uses dedicated vlan as the dedicated transmission channel of protocol massages, realizes based on master
It is forwarded with the protocol massages of equipment and stand-by equipment exchange chip, the forwarding of protocol massages is made to eliminate the reliance on host apparatus CPU's
Backup improves the stability of VSM system when sending protocol massages.
The embodiment of the present invention is illustrated below by a specific application example, application example combination Fig. 1 shows
Application scenarios out are described.Assuming that the exchange chip of shown VSM system host apparatus and the exchange chip point of stand-by equipment
It is not associated with the outgoing interface of respective place equipment and cascade port, and preserve associated outgoing interface and cascade port and allow to lead to
The obstruction group information that the VLAN permission list of the VLAN crossed and the outgoing interface in the equipment and cascade port are configured.Wherein, In
The VLAN that the exchange chip of any appliance is saved allows to include VLAN 4095 in list, and VLAN 4095 is added into obstruction group
1 and be the unique member in obstruction group 1, when obstruction group 1 is that VSM system sends protocol massages, be host apparatus outgoing interface and
The dedicated obstruction group of the outgoing interface and cascade port of cascade port and stand-by equipment configuration, can not be changed by user, in any appliance
The obstruction group information that is saved of exchange chip in, the outgoing interface and cascade port of the host apparatus and stand-by equipment go out to connect
Mouth and cascade port configure forwarding state for obstruction group 1.
It is now assumed that shown VSM system needs to send protocol massages 1, protocol massages 2 and protocol massages 3, wherein agreement
The outgoing interface of message 1 is the outgoing interface of host apparatus, and the outgoing interface of protocol massages 2 and 3 is the outgoing interface of stand-by equipment 2, is sent
Process is as follows:
The CPU of host apparatus gives protocol massages 1 to be sent, protocol massages 2 and protocol massages 3 to add VLAN respectively
4095 label.After the completion of addition, protocol massages 1 are sent directly to the exchange chip of itself by the CPU of host apparatus, and are passed through
Protocol massages 2 and protocol massages 3 are sent to the exchange chip of stand-by equipment 2 by cascade port.
The exchange chip of host apparatus and the exchange chip of stand-by equipment 2 are sentenced according to the LAN label of received protocol massages
Break its affiliated VLAN, and judges that the obstruction group that its affiliated VLAN is added, judging result are as follows again according to its affiliated VLAN:
The exchange chip of host apparatus and the exchange chip of stand-by equipment 2 allow in list in its own VLAN saved
VLAN 4095 is searched, judgement show that VLAN 4095 is all contained in its respective VLAN and allows in list.The exchange of host apparatus
The exchange chip of chip and stand-by equipment 2 respectively in the obstruction group information that its own is saved search obstruction group 1 match confidence
Breath, it is forwarding state in the configuration of the outgoing interface obstruction group 1 of the outgoing interface and stand-by equipment 2 of host apparatus that judgement, which is obtained,.
The exchange chip of host apparatus extracts 4095 label of VLAN of protocol massages 1, sends the association by its outgoing interface
Discuss message.
The exchange chip of stand-by equipment 2 extracts 4095 label of VLAN of protocol massages 2 and protocol massages 3, passes through it
Outgoing interface sends the protocol massages.
Corresponding with the transmission embodiment of method of protocol massages in aforementioned VSM system, present invention also provides VSM systems
The embodiment of the middle system for sending protocol massages.
Referring to FIG. 4, Fig. 4 is the framework according to the system for sending protocol massages in the VSM system of one embodiment of the invention
Schematic diagram.The system is applied to VSM system, and the VSM system includes a host apparatus and more primary to be set with described
The stand-by equipment of standby connection, the host apparatus and stand-by equipment include exchange chip, outgoing interface and cascade port, wherein
Exchange chip on any appliance in the equipment outgoing interface and cascade port it is associated, and preserve associated outgoing interface and
Cascade port allow by VLAN the VLAN obstruction that allows outgoing interface in list and the equipment and cascade port to be configured
Group information, wherein allow in the VLAN that the exchange chip of any appliance is saved comprising same dedicated vlan in list, it is described
Dedicated vlan is the dedicated vlan that VSM system sends protocol massages, can not be changed by user, the dedicated vlan is added into dedicated
Obstruction group and be the unique member in the dedicated obstruction group, when the dedicated obstruction group is that VSM system sends protocol massages, for institute
The dedicated obstruction group of outgoing interface and the cascade port configuration of the outgoing interface and cascade port and stand-by equipment of host apparatus is stated, it can not be by
User's change, in the obstruction group information that is saved of exchange chip of any appliance, the outgoing interface of the host apparatus and cascade
The outgoing interface and cascade port of mouth and stand-by equipment configure forwarding state for dedicated obstruction group, the system comprises: it is primary
The CPU 410 of equipment, the exchange chip 420 of host apparatus, the exchange chip 430 of stand-by equipment.
Wherein, the CPU 410 of host apparatus, for the label to protocol massages addition dedicated vlan;Being also used to will be described
Protocol massages are sent to the exchange chip of target device, and the target device is setting where the outgoing interface of the protocol massages
It is standby, it can be host apparatus, be also possible to stand-by equipment;
The exchange chip 420 of host apparatus and the exchange chip 430 of stand-by equipment, for according to received protocol massages
VLAN tag determine that target VLAN, the target VLAN are VLAN belonging to the protocol massages, and according to the target
VLAN determines that target obstruction group, the target obstruction group are the obstruction groups that the affiliated VLAN of the protocol massages is added;It is also used to
Judging the VLAN itself saved allows whether list includes the target VLAN, if it is, continuing to judge to be protected at itself
In the obstruction group information deposited, whether the outgoing interface of equipment where itself by target obstruction group configures forwarding state, if it is,
After removing the dedicated vlan label of the protocol massages, the protocol massages are sent by the outgoing interface of the target device.
In an optional example, the exchange chip 420 of the host apparatus and the exchange chip of stand-by equipment
430, it is also used to abandon the target when the VLAN for judging itself to be saved allows list and do not include the target VLAN
The corresponding protocol massages of VLAN.
In another optional example, the exchange chip 420 of the host apparatus and the exchange chip of stand-by equipment
430, it is also used to obtain when judgement, in the obstruction group information that itself is saved, the outgoing interface of equipment is not by target where itself
When obstruction group is configured to forwarding state, the corresponding protocol massages of the target VLAN are abandoned.
In another optional example, the dedicated vlan, comprising:
VLAN 4095。
In another optional example, the exchange chip 420 of the host apparatus and the exchange chip of stand-by equipment
430, it is also used to after abandoning the corresponding protocol massages of the target VLAN, is fed back to the CPU of host apparatus and send result.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.
Claims (10)
1. sending the method for protocol massages in a kind of VSM system, which is characterized in that the method is applied to VSM system, described
VSM system includes a host apparatus and the more stand-by equipments connecting with the host apparatus, the host apparatus and standby
It include exchange chip, outgoing interface and cascade port with equipment, wherein going out on the exchange chip and the equipment on any appliance
Interface and cascade port are associated, and preserve associated outgoing interface and cascade port allow by the VLAN of VLAN allow to arrange
The obstruction group information that table and outgoing interface in the equipment and cascade port are configured, wherein in the exchange chip institute of any appliance
The VLAN of preservation allows to include same dedicated vlan in list, and the dedicated vlan is that VSM system sends the special of protocol massages
With VLAN, can not be changed by user, the dedicated vlan be added into dedicated obstruction group and in the dedicated obstruction group it is unique at
Member is the outgoing interface and cascade port and standby of the host apparatus when the dedicated obstruction group is that VSM system sends protocol massages
The dedicated obstruction group configured with the outgoing interface and cascade port of equipment, can not be changed by user, in the exchange chip institute of any appliance
In the obstruction group information of preservation, the outgoing interface and cascade port of the host apparatus and the outgoing interface and cascade port of stand-by equipment are equal
Forwarding state is configured by dedicated obstruction group, which comprises
Label of the CPU of host apparatus to protocol massages addition dedicated vlan;
The protocol massages are sent to the exchange chip of target device by the CPU of host apparatus, and the target device is the association
Discuss the equipment where the outgoing interface of message;
The exchange chip of target device determines that target VLAN, the target VLAN are according to the VLAN tag of received protocol massages
VLAN belonging to the protocol massages, and target obstruction group is determined according to the target VLAN, the target obstruction group is described
The obstruction group that the affiliated VLAN of protocol massages is added;
The exchange chip of target device judges that the VLAN itself saved allows whether list includes the target VLAN, if
It is then to continue to judge in the obstruction group information that the exchange chip of the target device saves, the outgoing interface of the target device
Whether by target obstruction group forwarding state is configured, if it is, leading to after removing the dedicated vlan label of the protocol massages
The outgoing interface for crossing the target device sends the protocol massages.
2. the method according to claim 1, wherein the method also includes:
If the exchange chip of target device judges that the VLAN itself saved allows list and do not include the target VLAN,
Abandon the corresponding protocol massages of the target VLAN.
3. the method according to claim 1, wherein the method also includes:
If the exchange chip of target device judges in the obstruction group information that the exchange chip of the target device saves, described
The outgoing interface of target device does not configure forwarding state for target obstruction group, then abandons the corresponding agreement report of the target VLAN
Text.
4. the method according to claim 1, wherein the dedicated vlan, comprising:
VLAN 4095。
5. according to the method in claim 2 or 3, which is characterized in that the method also includes:
After the exchange chip of the target device abandons the corresponding protocol massages of the target VLAN, the exchange core of target device
Piece is fed back to the CPU of host apparatus sends result.
6. sending the system of protocol massages in a kind of VSM system, which is characterized in that the system is applied to VSM system, described
VSM system includes a host apparatus and the more stand-by equipments connecting with the host apparatus, the host apparatus and standby
It include exchange chip, outgoing interface and cascade port with equipment, wherein going out on the exchange chip and the equipment on any appliance
Interface and cascade port are associated, and preserve associated outgoing interface and cascade port allow by the VLAN of VLAN allow to arrange
The obstruction group information that table and outgoing interface in the equipment and cascade port are configured, wherein in the exchange chip institute of any appliance
The VLAN of preservation allows to include same dedicated vlan in list, and the dedicated vlan is that VSM system sends the special of protocol massages
With VLAN, can not be changed by user, the dedicated vlan be added into dedicated obstruction group and in the dedicated obstruction group it is unique at
Member is the outgoing interface and cascade port and standby of the host apparatus when the dedicated obstruction group is that VSM system sends protocol massages
The dedicated obstruction group configured with the outgoing interface and cascade port of equipment, can not be changed by user, in the exchange chip institute of any appliance
In the obstruction group information of preservation, the outgoing interface and cascade port of the host apparatus and the outgoing interface and cascade port of stand-by equipment are equal
Forwarding state is configured by dedicated obstruction group, the system comprises:
The CPU of host apparatus, for the label to protocol massages addition dedicated vlan;It is also used to for the protocol massages being sent to
The exchange chip of target device, the target device are the equipment where the outgoing interface of the protocol massages, the target device
For host apparatus or stand-by equipment;
The exchange chip of host apparatus and the exchange chip of stand-by equipment, for the VLAN tag according to received protocol massages
It determines that target VLAN, the target VLAN are VLAN belonging to the protocol massages, and target is determined according to the target VLAN
Obstruction group, the target obstruction group are the obstruction groups that the affiliated VLAN of the protocol massages is added;It is also used to judge itself to be protected
The VLAN deposited allows whether list includes the target VLAN, if it is, continuing to judge the obstruction group letter itself being saved
In breath, whether the outgoing interface of equipment where itself by target obstruction group configures forwarding state, if it is, removing the association
After the dedicated vlan label for discussing message, the protocol massages are sent by the outgoing interface of equipment where itself.
7. system according to claim 6, which is characterized in that
The exchange chip of the host apparatus and the exchange chip of stand-by equipment, are also used in the VLAN for judging itself to be saved
When allowing list and not including the target VLAN, the corresponding protocol massages of the target VLAN are abandoned.
8. system according to claim 6, which is characterized in that
The exchange chip of the host apparatus and the exchange chip of stand-by equipment are also used to obtain when judgement, itself save
Obstruction group information in, when the outgoing interface of equipment where itself does not configure forwarding state for target obstruction group, described in discarding
The corresponding protocol massages of target VLAN.
9. system according to claim 6, which is characterized in that the dedicated vlan, comprising:
VLAN 4095。
10. system according to claim 7 or 8, which is characterized in that
The exchange chip of the host apparatus and the exchange chip of stand-by equipment are also used to corresponding in the discarding target VLAN
Protocol massages after, to the CPU of host apparatus feed back send result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611250023.3A CN106789536B (en) | 2016-12-29 | 2016-12-29 | The method and system of protocol massages are sent in a kind of VSM system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611250023.3A CN106789536B (en) | 2016-12-29 | 2016-12-29 | The method and system of protocol massages are sent in a kind of VSM system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106789536A CN106789536A (en) | 2017-05-31 |
CN106789536B true CN106789536B (en) | 2019-11-12 |
Family
ID=58927737
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611250023.3A Active CN106789536B (en) | 2016-12-29 | 2016-12-29 | The method and system of protocol massages are sent in a kind of VSM system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106789536B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954218A (en) * | 2014-03-24 | 2015-09-30 | 杭州华三通信技术有限公司 | Distributed virtual switching device and forwarding method |
CN105227419A (en) * | 2014-06-13 | 2016-01-06 | 杭州迪普科技有限公司 | Based on machinery of consultation and the consulting device of VEM |
CN105227463A (en) * | 2014-06-13 | 2016-01-06 | 杭州迪普科技有限公司 | Communication means in a kind of distributed apparatus between business board |
CN105959198A (en) * | 2015-12-01 | 2016-09-21 | 杭州迪普科技有限公司 | Message transmission method and network device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9130775B2 (en) * | 2013-07-10 | 2015-09-08 | Cisco Technology, Inc. | Support for virtual extensible local area network segments across multiple data center sites |
-
2016
- 2016-12-29 CN CN201611250023.3A patent/CN106789536B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954218A (en) * | 2014-03-24 | 2015-09-30 | 杭州华三通信技术有限公司 | Distributed virtual switching device and forwarding method |
CN105227419A (en) * | 2014-06-13 | 2016-01-06 | 杭州迪普科技有限公司 | Based on machinery of consultation and the consulting device of VEM |
CN105227463A (en) * | 2014-06-13 | 2016-01-06 | 杭州迪普科技有限公司 | Communication means in a kind of distributed apparatus between business board |
CN105959198A (en) * | 2015-12-01 | 2016-09-21 | 杭州迪普科技有限公司 | Message transmission method and network device |
Also Published As
Publication number | Publication date |
---|---|
CN106789536A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102318291B (en) | Business flow processing method, device and system | |
CN105939291B (en) | Message processing method and the network equipment | |
CN105991445B (en) | Setting method and device of link aggregation group | |
US20060262798A1 (en) | Port isolation for restricting traffic flow on layer 2 switches | |
CN104272684A (en) | Dynamic service insertion in a fabric switch | |
CN103428094A (en) | Method and device for packet transmitting in Open Flow system | |
KR20100004951A (en) | Ubiquitous sensor network system and method of configuring the same | |
CN106301956B (en) | A kind of network equipments configuration management method based on NETCONF | |
CN105187311B (en) | A kind of message forwarding method and device | |
US10182132B2 (en) | Method, apparatus and system for communication between OpenFlow device and IP network device | |
CN102281181A (en) | Method, device and system for realizing multicast forwarding in EVB (Extended VLAN (Virtual Local Area Network) Bridge) equipment | |
US20140269700A1 (en) | Systems and methods for an extranet multicast virtual private network in a virtual routing and fowarding based customer edge device | |
CN105978828B (en) | A kind of method and interchanger for realizing the forwarding of virtual machine message | |
CN109739622A (en) | Active and standby master control configuration and synchronization method and device based on frame type equipment | |
CN103795630A (en) | Message transmitting method and device of label switching network | |
KR20170052002A (en) | System and method for chaining virtualized network funtion | |
WO2016107269A1 (en) | Device and method for data transmission in virtual extensible local area network | |
CN104301449A (en) | Method and device for modifying IP address | |
CN100446509C (en) | Method for realizing re-oriented message correctly repeat and first-part and second-part | |
CN104144130A (en) | Virtual machine system interconnection method and system and access switch | |
CN106789536B (en) | The method and system of protocol massages are sent in a kind of VSM system | |
CN103944886B (en) | A kind of realization method and system of port security | |
CN104320286A (en) | Wireless router simple and convenient configuration device and router configuration method by adoption of wireless router simple and convenient device | |
CN104994071B (en) | The backup method and device of broadband remote access server equipment | |
US20160072733A1 (en) | Using a network switch to control a virtual local network identity association |
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 |