Nothing Special   »   [go: up one dir, main page]

CN101459536A - Port configuration method and switching device - Google Patents

Port configuration method and switching device Download PDF

Info

Publication number
CN101459536A
CN101459536A CNA2008101880592A CN200810188059A CN101459536A CN 101459536 A CN101459536 A CN 101459536A CN A2008101880592 A CNA2008101880592 A CN A2008101880592A CN 200810188059 A CN200810188059 A CN 200810188059A CN 101459536 A CN101459536 A CN 101459536A
Authority
CN
China
Prior art keywords
igmp snooping
port
enabled
neighbor
lldp
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
Application number
CNA2008101880592A
Other languages
Chinese (zh)
Other versions
CN101459536B (en
Inventor
陈翀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ziguang Communication Technology Group Co ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2008101880592A priority Critical patent/CN101459536B/en
Publication of CN101459536A publication Critical patent/CN101459536A/en
Application granted granted Critical
Publication of CN101459536B publication Critical patent/CN101459536B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a port configuration method and exchange equipment, wherein the method is applied in an exchange equipment which enables IGMP Snooping, and comprises receiving neighbor information of a link layer discovery protocol LLDP transmitted by a neighbor device through a port, judging whether the neighbor device enables the IGMP Snooping or not according to the LLDP neighbor information received by the port, and doing dynamic router port configuration to the port when the neighbor device enables the IGMP Snooping. The exchange equipment can lead multicast flow to be rapidly contracted through the IGMP Snooping information of an expanded LLDP information carrying device according to an expanded LLED information dynamic configuration router port when network topology is changed, manual configuration of users is avoided under the circumstance that the port is allocated with a plurality of VLANs, and the exchange equipment is convenient to maintain.

Description

Port configuration method and switching equipment
Technical field
The present invention relates to networking technology area, particularly a kind of port configuration method and switching equipment.
Background technology
In the metropolitan area network or enterprise network of current multicast application; ubiquity double layer network topology; in order to guarantee the reliability of network; double layer network generally adopts MSTP (Multiple Spanning Tree Protocol; Multiple Spanning Tree Protocol) or RRPP (Rapid Ring Protection Protocol; rapid ring protection protocol) coming optionally, the blocking network redundant link backs up link simultaneously to reach the purpose of eliminating the network double-layer loop.In addition, in two layers of forwarding, Layer 2 switch is in order to prevent the flux of multicast diffusion, can dispose IGMP Snooping (Internet Group Management Protocol, Internet Group Management Protocol is intercepted) function is set up Layer 2 Multicast and is transmitted, and configuration unknown multicast discard prevents that invalid multicast data flow from too much spreading.
A very important role is a router port in IGMP Snooping, will receive usually in the prior art that the port designations of igmp querying message or PIM agreement hello packet is the dynamic router port.But because two layers of looped network have the port that some are in blocked state in two layers of looped network behind configuration MSTP or RRPP.And igmp querying message and PIM hello packet can't arrive the port of these blocked states.
With network scenarios shown in Figure 1 is example, be positioned at the upstream a configuration of routers 3 layers of multicast related protocol such as PIM (Protocol Independent Multicast, Protocol Independent Multicast) or IGMP, be positioned at 2 layers of looped network forming by 4 switches in downstream, and prevent loop by MSTP or RRPP.Wherein the port of the last black of S4 is in blocked state, can't receive the multicast protocol message, is not router port.The port of other white expressions is the dynamic router port.For switch S3, the P1 port is a router port in addition, and therefore the P2 port can't receive IGMP or PIM protocol massages owing to Peer-Port is in blocked state, neither router port.
After network topology change, non-router port will be owing to can't will cause flow interrupt at once by receiving that protocol massages is converted into router port.For example the transmission cycle of igmp querying message is 60s, the transmission cycle of PIMHello message is 30s, therefore non-router port may need the long period just can receive igmp querying message or PIM hello packet after topological network changes, and will cause flow interrupt.
In the prior art, in order to guarantee convergence fast after change in topology, for the port of the port blocked of the P2 port of similar S3 and S4, all manual configuration is a static routing device port.Like this, if link down between S2 and the S3, flux of multicast is quick-recovery soon.But the defective that exists in the prior art is: when the port of all devices all is configured to static routing device port, need be based on (the Virtual Local Area Network of the VALN under the port, VLAN) is configured, VLAN quantity causes the configuration effort amount bigger and dumb more for a long time under the more or port when port number.
Summary of the invention
The invention provides a kind of port configuration method and switching equipment, be used for dynamic-configuration and the router port of safeguarding on the switch.
For achieving the above object, the invention provides a kind of port configuration method, be applied to enable Internet Group Management Protocol and intercepted on the switching equipment of IGMP Snooping, comprising:
Receive the Link Layer Discovery Protocol LLDP neighbor information that neighbor device sends by port;
According to the LLDP neighbor information that described port receives, judge whether described neighbor device has enabled IGMP Snooping;
When described neighbor device has enabled IGMP Snooping, described port is carried out the dynamic router configuring ports.
Wherein, after the described Link Layer Discovery Protocol LLDP neighbor information, also comprise by the transmission of port reception neighbor device:
Write down the information of the neighbor device that comprises in the described LLDP neighbor information and the IGMP Snooping ability of described neighbor device, when the IGMP Snooping ability of described neighbor device changes, upgrade the IGMP Snooping ability of described neighbor device; Described IGMP Snooping ability comprises: enabled IGMP Snooping or do not enabled IGMP Snooping.
Wherein, the described LLDP neighbor information that receives according to described port, judge whether described neighbor device has enabled IGMP Snooping and comprised:
Resolve the expansion TLV in the LLDP neighbor information of described record;
According to the field of carrying among the described expansion TLV, judge whether neighbor device has enabled IGMPSnooping.
Wherein, when described neighbor device has enabled IGMP Snooping, described port is carried out the dynamic router configuring ports comprises:
Obtain the affiliated vlan list of described port;
Obtain the VLAN that has enabled IGMP Snooping in the described vlan list;
Based on the described VLAN that enables IGMP Snooping, described port is carried out the dynamic router configuring ports.
Wherein, also comprise:
Described neighbor device generates the LLDP neighbor information of carrying IGMP Snooping ability;
Described neighbor device regularly sends described LLDP neighbor information of carrying IGMP Snooping ability by each port; And/or after finding that arbitrary port becomes Up from Down, send described LLDP neighbor information of carrying IGMP Snooping ability from described port; Described IGMP Snooping ability comprises: enabled IGMP Snooping or do not enabled IGMP Snooping.
Wherein, described neighbor device generates the LLDP neighbor information of carrying IGMP Snooping ability and comprises:
Described neighbor device adds expansion TLV in the LLDP neighbor information, carry IGMP Snooping ability by the field among the described expansion TLV; Described IGMP Snooping ability comprises: enabled IGMPSnooping or do not enabled IGMP Snooping.
The present invention also provides a kind of switching equipment, has enabled Internet Group Management Protocol and has intercepted IGMPSnooping, comprising:
The neighbor information receiving element is used for receiving the Link Layer Discovery Protocol LLDP neighbor information that neighbor device sends by port;
Judging unit is used for the LLDP neighbor information that receives according to described neighbor information receiving element, judges whether described neighbor device has enabled IGMP Snooping;
The port arrangement unit is used for when described neighbor device has enabled IGMP Snooping described port being carried out the dynamic router configuring ports.
Wherein, also comprise:
The neighbor information record cell is used to write down the information of described neighbor device and the IGMP Snooping ability of described neighbor device, when the IGMP Snooping ability of described neighbor device changes, upgrades the IGMP Snooping ability of described neighbor device; Described IGMP Snooping ability comprises: enabled IGMP Snooping or do not enabled IGMP Snooping.
Wherein, described judging unit comprises:
Resolve subelement, be used for resolving the expansion TLV of described LLDP neighbor information;
Judgment sub-unit is used for the field of carrying according to described expansion TLV, judges whether neighbor device has enabled IGMP Snooping.
Wherein, described port arrangement unit comprises:
First obtains subelement, is used to obtain the affiliated vlan list of described port;
Second obtains subelement, is used for obtaining the VLAN that described vlan list has enabled IGMP Snooping;
The port arrangement subelement is used for the VLAN that enables IGMP Snooping based on described, and described port is carried out the dynamic router configuring ports.
The present invention also provides a kind of switching equipment, comprising:
The neighbor information generation unit is used to generate the LLDP neighbor information of carrying IGMP Snooping ability; Described IGMP Snooping ability comprises: enabled IGMP Snooping or do not enabled IGMPSnooping;
The neighbor information transmitting element is used for timing sends the described IGMP of carrying Snooping ability by each port LLDP neighbor information; And/or after finding that arbitrary port becomes Up from Down, send described LLDP neighbor information of carrying IGMP Snooping ability from described port.
Wherein, described neighbor information generation unit specifically is used for: add expansion TLV in the LLDP neighbor information, carry IGMP Snooping ability by the field among the described expansion TLV; Described IGMPSnooping ability comprises: enabled IGMP Snooping or do not enabled IGMP Snooping.
Compared with prior art, the present invention has the following advantages:
Among the present invention, the LLDP message IGMP Snooping information of carrying equipment by expansion, make that switching equipment can be according to the LLDP message dynamic-configuration router port of expansion, flux of multicast can be restrained fast when making network topology change, and the manual configuration of having avoided the user under the situation of a plurality of VLAN is arranged in port arrangement, be convenient to safeguard.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of a double layer network topology in the prior art;
Fig. 2 is the flow chart of middle port collocation method of the present invention;
Fig. 3 is the structural representation of the double layer network topology of middle port collocation method application of the present invention;
Fig. 4 is the structural representation of switching equipment among the present invention;
Fig. 5 is another structural representation of switching equipment among the present invention;
Fig. 6 is another switching equipment structural representation among the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The invention provides a kind of port configuration method, its core concept is: because LLDP (Link LayerDiscovery Protocol, Link Layer Discovery Protocol) message is not subjected to the influence of port blockeds such as MSTP/RRPP, can be between equipment advertised information, therefore can make switch can dynamically increase and safeguard router port according to the LLDP message of expansion by the LLDP message announcement IGMPSnooping state of expansion.Concrete, the invention provides a kind of port configuration method, be applied to enable Internet Group Management Protocol and intercepted on the switching equipment of IGMP Snooping, as shown in Figure 2, comprising:
Step s201, receive the Link Layer Discovery Protocol LLDP neighbor information that neighbor device sends by port.
Step s202, according to the LLDP neighbor information that this port receives, judge whether this neighbor device has enabled IGMP Snooping.
Step s203, when this neighbor device has enabled IGMP Snooping, this port is carried out the dynamic router configuring ports.
The LLDP that relates among the present invention is a link layer protocol.Concrete, local device is made into TLV (Type/Length/Value with the information sets of this equipment, type) is encapsulated in and sends to direct-connected neighbor device in the LLDP neighbor information, also the LLDP neighbor information that receives from neighbor device is preserved with the form of standard mib (Management Information Base, management information bank) simultaneously.By the LLDP agreement, the information of own and directly-connected neighbor equipment can be preserved and manage to equipment, for the communication conditions of network management system inquiry and judgement link.The fundamental type TLV that can encapsulate in neighbor information that stipulates in the existing LLDP agreement is as shown in table 1 below:
Table 1 fundamental type TLV explanation
The TLV type The TLV title Whether must issue
0 End of LLDPDU Sign LLDPDU finishes
1 Chassis ID TLV The bridge MAC Address of transmitting apparatus
2 Port ID TLV Be used for identifying the port of LLDPDU transmitting terminal.When equipment did not send MED TLV, content was the port title, and when equipment sent MED TLV, content was the MAC Address of port, used bridge MAC when not having port mac
3 Time To Live TLV The time-to-live of this facility information on neighbor device
4 Port Description TLV The description character string of ethernet port
5 System Name TLV The title of equipment
6 System Description TLV System description
7 System Capabilities TLV The major function of system and have which major function to be enabled
8 Management Address TLV Management address, and corresponding interface number and OID (Object Identifier, object identity).The management address content is the IP address of user's appointment, if not configuration of user, management address be interface allow by and the primary ip address of the minimum VLAN of VLAN ID value, as if
The minimum VLAN of VLAN ID value does not dispose primary ip address, and the management address value is 127.0.0.1
9~126 Reserved Reserved field
127 Organizationally?Specific TLVs Expanded definition
Among above-mentioned each fundamental type TLV, TYPE 127 is used for expanded definition, can define Sub TLV, and for example the Sub TLV of IEEE 802.3 tissue definition comprises:
Subtype=1:MAC/PHY Configuration/Status TLV: be used to carry port speed and duplex state, whether support port speed to consult, whether enable auto-negotiation functionality and current speed and duplex state automatically.
Subtype=2:Power Via MDI TLV: the power supply capacity that is used to carry port.
Subtype=3:Link Aggregation TLV: be used to carry port and whether support link aggregation and whether enable link polymerization.
Subtype=4:Maximum Frame Size TLV: be used to carry the maximum frame size of support, get the MTU (Max Transmission Unit, MTU) of port arrangement
Among the present invention, newly-increased Sub TLV shown in the tabulation 2 down in the LLDP neighbor information:
Table 2 increases Sub TLV explanation newly
TLV type=27 TLV?information string?length=9 OUI 00-0F-E2 subtype 01 IGSP Status Reserved
The each several part implication is as follows among the newly-increased Sub TLV shown in the table 2:
TLV type is 127, the TLV of expression expanded definition;
The length of TLV character string is 9 bits;
OUI (Organizationally Unique Identifier organizes unique identification), the tissue under the newly-increased SubTLV of expression.
Subtype is 1, and length is 8 bits.
IGSP (IGMP Snooping Protocol) Status represents the IGSP state, and length is 8 bits.The explanation of IGSP Status sees the following form 3.
The explanation of table 3 IGSP Status
Bit The Function function Value/Meaning value and implication
0 IGSP Capability IGSP ability 0 does not support IGSP function 1 to support the IGSP function
1 IGSP Status IGSP state 0 has enabled IGSP 1 does not enable IGSP
2-7 Reserved keeps --
Among the IGSP Status, when the value of IGSP Capability was 0, the value of IGSP Status can only be 0, and devices illustrated is not supported IGMP Snooping function.When the value of IGSP Capability was 1, devices illustrated was supported IGMP Snooping function, but the value of IGSP Status can be 0 or 1, and IGSPStatus illustrated that this equipment supported IGMP Snooping and enabled IGMP Snooping at 1 o'clock; Though IGSPStatus is 0 o'clock devices illustrated support IGMP Snooping but does not enable IGMP Snooping.
Below be example with network scenarios shown in Figure 3, the embodiment of middle port collocation method of the present invention is described.As shown in Figure 3, the configuration of routers in upstream 3 layers of multicast and related protocol, the downstream is 2 layers of looped network that 4 switches are formed, and prevents loop by MSTP or RRPP, its middle port P3 is labeled as black, sign is in blocked state.The corresponding VLAN of 4 the switch upper port in downstream has disposed IGMP Snooping.
Below be that example describes with switch S4.
(1) method of switch S4 transmission LLDP neighbor information is as follows:
After the switch S4 overall situation has enabled IGMP Snooping, with IGSP Capability field and the set of IGSP Status field of expansion TLV in the LLDP neighbor information (is IGSP Capability=1, IGSP Status=1), show that this equipment can support and enable IGMP Snooping.Periodically send the LLDP neighbor information to direct-connected neighbor device afterwards by all of the port.If a certain moment afterwards, the switch S4 overall situation removes to have enabled IGMP Snooping, then the IGSP Status field of expansion TLV in the LLDP neighbor information is put 0, shows that this equipment does not enable IGMP Snooping.Periodically send the LLDP neighbor information to direct-connected neighbor device afterwards by all of the port.Same, switch S1, S2 in the network and S3 also carry out similar processing.
Except above-mentioned periodicity sends the mode of LLDP neighbor information,, can send the LLDP neighbor information by this port to neighbor device at once if after certain port on the switch becomes the UP state from the Down state.And the LLDP neighbor information of after postponing special time (as 1.5 seconds), inquiring about this port record at once.
For the LLDP neighbor information sending method in other switches in the network, similar to the LLDP neighbor information sending method of above-mentioned switch S4, be not repeated in this description at this.
(2) processing method of switch S4 when receiving the LLDP neighbor information of neighbor device transmission is as follows:
Switch S4 can receive the LLDP neighbor information as the switch S3 transmission of neighbor device by port P3.According to standard LLDP agreement, the facility information of switch S4 record switch S3, by the expansion TLV in the LLDP neighbor information, obtain and write down the IGMPSnooping ability information (comprising the value of IGSP Capability and the value of IGSP Status) of switch S3 simultaneously; Comprise that switch S3 has enabled IGMP Snooping or do not enabled IGMP Snooping.When the LLDP neighbor information of switch S3 transmission changes, upgrade facility information and the IGMP Snooping ability information of the switch S3 of storage before according to the LLDP neighbor information after changing.
After switch S4 has enabled IGMP Snooping, regularly the LLDP neighbor information of local record is checked (being a proof cycle with 60s for example).When the IGSP Status when finding any LLDP neighbor information that receives from certain port is set (being IGSP Status=1), this port is carried out the dynamic router configuring ports.Need to prove,, when the IGSP Status in any one or a plurality of LLDP neighbor information is set, then judges this port is carried out the dynamic router configuring ports if certain port receives a plurality of LLDP neighbor informations.For example for port P3, when the IGSP Status in finding the LLDP neighbor information that switch S3 sends was set, then switch S4 judged and need carry out the dynamic router configuring ports to port P3.
When switch S4 carries out the dynamic router configuring ports to port P3, at first check the vlan list that this port P3 is affiliated, obtain the VLAN that has enabled IGMP Snooping in this vlan list then, based on the VLAN that has enabled IGMP Snooping, port P3 is carried out the dynamic router configuring ports, and start age timer (if be router port for certain VLAN, then refresh its corresponding age timer), do not process for the VLAN that does not enable IGMP Snooping.
Processing method when receiving the LLDP neighbor information in other switches in the network, the processing method when receiving the LLDP neighbor information to above-mentioned switch S4 is similar, is not repeated in this description at this.
By above-mentioned steps, realized the dynamic router port arrangement of switch S4 to port P3.As seen because LLDP agreement itself can not be subjected to the influence of loop agreement port blocked, therefore comprise that port blocked also can the Dynamic Maintenance router port.The port that is labeled as white among Fig. 3 is the dynamic router port, and promptly by method provided by the invention, 4 equipment all are configured to the dynamic router port with all interconnect ports automatically.
In addition, said method provided by the invention and is compared by the mode of igmp querying message and PIM hello packet configuration dynamic router port in the prior art, realizes the dynamic router configuring ports based on different Rule of judgment, therefore there is not conflict, can coexists.For the equipment of not supporting above-mentioned expansion TLV, can ignore this expansion TLV according to the LLDP protocol definition, can other LLDP information in the LLDP neighbor information not impacted.
In the said method provided by the invention, the LLDP message IGMPSnooping information of carrying equipment by expansion, make that switching equipment can be according to the LLDP message dynamic-configuration router port of expansion, flux of multicast can be restrained fast when making network topology change, and the manual configuration of having avoided the user under the situation of a plurality of VLAN is arranged in port arrangement, be convenient to safeguard.
The present invention also provides a kind of switching equipment, and it has enabled Internet Group Management Protocol and has intercepted IGMPSnooping, as shown in Figure 4, comprising:
Neighbor information receiving element 10 is used for receiving the Link Layer Discovery Protocol LLDP neighbor information that neighbor device sends by port;
Judging unit 20 is used for the LLDP neighbor information that receives according to described neighbor information receiving element, judges whether described neighbor device has enabled IGMP Snooping;
Port arrangement unit 30 is used for when described neighbor device has enabled IGMP Snooping described port being carried out the dynamic router configuring ports.
In the switching equipment provided by the present invention, as shown in Figure 5, also comprise:
Neighbor information record cell 40 is used to write down the information of neighbor device and the IGMPSnooping ability of neighbor device, when the IGMP of neighbor device Snooping ability changes, upgrades the IGMP Snooping ability of this neighbor device; IGMP Snooping ability comprises: enabled IGMPSnooping or do not enabled IGMP Snooping.
Above-mentioned judging unit 20 can comprise:
Resolve subelement 21, be used for resolving the expansion TLV of the LLDP neighbor information of described record;
Judgment sub-unit 22 is used for the field of carrying according to described expansion TLV, judges whether neighbor device has enabled IGMP Snooping.
Above-mentioned port arrangement unit 30 can comprise:
First obtains subelement 31, is used to obtain the affiliated vlan list of described port;
Second obtains subelement 32, is used for obtaining the VLAN that described vlan list has enabled IGMP Snooping;
Port arrangement subelement 33 is used for the VLAN that enables IGMP Snooping based on described, and described port is carried out the dynamic router configuring ports.
The present invention also provides a kind of switching equipment, as shown in Figure 6, comprising:
Neighbor information generation unit 50 is used to generate the LLDP neighbor information of carrying IGMP Snooping ability; Concrete, can in the LLDP neighbor information, add expansion TLV, carry IGMP Snooping ability by the field among the expansion TLV; This IGMP Snooping ability comprises: enabled IGMPSnooping or do not enabled IGMP Snooping.
Neighbor information transmitting element 60 is used for regularly sending the LLDP neighbor information of carrying the IGMPSnooping ability to its neighbor device by each port; And/or after finding that arbitrary port becomes Up from Down, send the LLDP neighbor information of carrying IGMP Snooping ability to its neighbor device from this port.
In the above-mentioned switching equipment provided by the invention, the LLDP message IGMPSnooping information of carrying equipment by expansion, make that switching equipment can be according to the LLDP message dynamic-configuration router port of expansion, flux of multicast can be restrained fast when making network topology change, and the manual configuration of having avoided the user under the situation of a plurality of VLAN is arranged in port arrangement, be convenient to safeguard.
Above-mentioned module can be distributed in a device, also can be distributed in multiple arrangement.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (12)

1, a kind of port configuration method has been applied to enable Internet Group Management Protocol and has intercepted on the switching equipment of IGMPSnooping, it is characterized in that, comprising:
Receive the Link Layer Discovery Protocol LLDP neighbor information that neighbor device sends by port;
According to the LLDP neighbor information that described port receives, judge whether described neighbor device has enabled IGMP Snooping;
When described neighbor device has enabled IGMP Snooping, described port is carried out the dynamic router configuring ports.
2, the method for claim 1 is characterized in that, after the described Link Layer Discovery Protocol LLDP neighbor information by the transmission of port reception neighbor device, also comprises:
Write down the information of the neighbor device that comprises in the described LLDP neighbor information and the IGMP Snooping ability of described neighbor device, when the IGMP Snooping ability of described neighbor device changes, upgrade the IGMP Snooping ability of described neighbor device; Described IGMP Snooping ability comprises: enabled IGMP Snooping or do not enabled IGMP Snooping.
3, method as claimed in claim 2 is characterized in that, the described LLDP neighbor information that receives according to described port judges whether described neighbor device has enabled IGMP Snooping and comprised:
Resolve the expansion TLV in the LLDP neighbor information of described record;
According to the field of carrying among the described expansion TLV, judge whether neighbor device has enabled IGMPSnooping.
4, method as claimed in claim 2 is characterized in that, when described neighbor device has enabled IGMPSnooping, described port is carried out the dynamic router configuring ports comprise:
Obtain the affiliated vlan list of described port;
Obtain the VLAN that has enabled IGMP Snooping in the described vlan list;
Based on the described VLAN that enables IGMP Snooping, described port is carried out the dynamic router configuring ports.
5, as each described method in the claim 1 to 4, it is characterized in that, also comprise:
Described neighbor device generates the LLDP neighbor information of carrying IGMP Snooping ability;
Described neighbor device regularly sends described LLDP neighbor information of carrying IGMP Snooping ability by each port; And/or after finding that arbitrary port becomes Up from Down, send described LLDP neighbor information of carrying IGMP Snooping ability from described port; Described IGMP Snooping ability comprises: enabled IGMP Snooping or do not enabled IGMP Snooping.
6, method as claimed in claim 5 is characterized in that, described neighbor device generates the LLDP neighbor information of carrying the IGMPSnooping ability and comprises:
Described neighbor device adds expansion TLV in the LLDP neighbor information, carry IGMP Snooping ability by the field among the described expansion TLV; Described IGMP Snooping ability comprises: enabled IGMPSnooping or do not enabled IGMP Snooping.
7, a kind of switching equipment has enabled Internet Group Management Protocol and has intercepted IGMP Snooping, it is characterized in that, comprising:
The neighbor information receiving element is used for receiving the Link Layer Discovery Protocol LLDP neighbor information that neighbor device sends by port;
Judging unit is used for the LLDP neighbor information that receives according to described neighbor information receiving element, judges whether described neighbor device has enabled IGMP Snooping;
The port arrangement unit is used for when described neighbor device has enabled IGMP Snooping described port being carried out the dynamic router configuring ports.
8, switching equipment as claimed in claim 7 is characterized in that, also comprises:
The neighbor information record cell is used to write down the information of described neighbor device and the IGMP Snooping ability of described neighbor device, when the IGMP Snooping ability of described neighbor device changes, upgrades the IGMP Snooping ability of described neighbor device; Described IGMP Snooping ability comprises: enabled IGMP Snooping or do not enabled IGMP Snooping.
9, switching equipment as claimed in claim 8 is characterized in that, described judging unit comprises:
Resolve subelement, be used for resolving the expansion TLV of the LLDP neighbor information of described record;
Judgment sub-unit is used for the field of carrying according to described expansion TLV, judges whether neighbor device has enabled IGMP Snooping.
10, switching equipment as claimed in claim 8 is characterized in that, described port arrangement unit comprises:
First obtains subelement, is used to obtain the affiliated vlan list of described port;
Second obtains subelement, is used for obtaining the VLAN that described vlan list has enabled IGMP Snooping;
The port arrangement subelement is used for the VLAN that enables IGMP Snooping based on described, and described port is carried out the dynamic router configuring ports.
11, a kind of switching equipment is characterized in that, comprising:
The neighbor information generation unit is used to generate the LLDP neighbor information of carrying IGMP Snooping ability; Described IGMP Snooping ability comprises: enabled IGMP Snooping or do not enabled IGMPSnooping;
The neighbor information transmitting element is used for timing sends the described IGMP of carrying Snooping ability by each port LLDP neighbor information; And/or after finding that arbitrary port becomes Up from Down, send described LLDP neighbor information of carrying IGMP Snooping ability from described port.
12, switching equipment as claimed in claim 11 is characterized in that,
Described neighbor information generation unit specifically is used for: add expansion TLV in the LLDP neighbor information, carry IGMP Snooping ability by the field among the described expansion TLV; Described IGMP Snooping ability comprises: enabled IGMP Snooping or do not enabled IGMP Snooping.
CN2008101880592A 2008-12-29 2008-12-29 Port configuration method and switching device Active CN101459536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101880592A CN101459536B (en) 2008-12-29 2008-12-29 Port configuration method and switching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101880592A CN101459536B (en) 2008-12-29 2008-12-29 Port configuration method and switching device

Publications (2)

Publication Number Publication Date
CN101459536A true CN101459536A (en) 2009-06-17
CN101459536B CN101459536B (en) 2012-01-04

Family

ID=40770179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101880592A Active CN101459536B (en) 2008-12-29 2008-12-29 Port configuration method and switching device

Country Status (1)

Country Link
CN (1) CN101459536B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223312A (en) * 2011-07-26 2011-10-19 杭州华三通信技术有限公司 Flow control method and equipment based on link status
CN102238066A (en) * 2010-04-27 2011-11-09 杭州华三通信技术有限公司 Real-time traffic reporting method, media endpoint and system
CN102291318A (en) * 2011-09-22 2011-12-21 杭州华三通信技术有限公司 Method for consulting maximum transmission unit (MTU) and router
WO2013102814A1 (en) * 2012-01-05 2013-07-11 International Business Machines Corporation Fragmentation of link layer discovery protocol packets
WO2014110737A1 (en) * 2013-01-16 2014-07-24 华为技术有限公司 Method, device, and system for configuring device in network
CN104717380A (en) * 2015-04-09 2015-06-17 迈普通信技术股份有限公司 Switchboard, speech ciphering equipment, IP telephone system and speech ciphering equipment deployment method
CN106357540A (en) * 2016-08-24 2017-01-25 浪潮(北京)电子信息产业有限公司 Multicast control method and device thereof as well as multicast system
CN106936824A (en) * 2017-03-09 2017-07-07 迈普通信技术股份有限公司 LLDP neighbor informations processing method and LLDP neighbor information processing equipments
CN107196837A (en) * 2017-06-16 2017-09-22 四川省农业科学院服务中心 A kind of method that the multiple data service co-existence network used is divided based on VLAN
CN107231282A (en) * 2017-07-21 2017-10-03 成都广达新网科技股份有限公司 A kind of automatic method for getting through management passage based on LLDP
CN108616453A (en) * 2018-04-20 2018-10-02 联想(北京)有限公司 A kind of methods, devices and systems for the network equipment
CN108966055A (en) * 2018-06-29 2018-12-07 烽火通信科技股份有限公司 The method and system of port attribute switching are realized in PON according to multicast service
CN112953824A (en) * 2021-01-28 2021-06-11 新华三信息安全技术有限公司 Link aggregation configuration method and device
CN112968846A (en) * 2021-02-02 2021-06-15 武汉迈威通信股份有限公司 Detection system for illegal short circuit of switch port
CN115562738A (en) * 2022-11-14 2023-01-03 苏州浪潮智能科技有限公司 Port configuration method, component and hard disk expansion device
CN115865658A (en) * 2023-01-31 2023-03-28 新华三技术有限公司 Port binding method and device
CN116248583A (en) * 2023-01-03 2023-06-09 重庆长安汽车股份有限公司 Communication redundancy configuration method and device of vehicle-mounted controller, vehicle and storage medium

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238066B (en) * 2010-04-27 2014-06-04 杭州华三通信技术有限公司 Real-time traffic reporting method, media endpoint and system
CN102238066A (en) * 2010-04-27 2011-11-09 杭州华三通信技术有限公司 Real-time traffic reporting method, media endpoint and system
CN102223312A (en) * 2011-07-26 2011-10-19 杭州华三通信技术有限公司 Flow control method and equipment based on link status
CN102223312B (en) * 2011-07-26 2014-09-10 杭州华三通信技术有限公司 Flow control method and equipment based on link status
CN102291318B (en) * 2011-09-22 2014-02-26 杭州华三通信技术有限公司 Method for consulting maximum transmission unit (MTU) and router
CN102291318A (en) * 2011-09-22 2011-12-21 杭州华三通信技术有限公司 Method for consulting maximum transmission unit (MTU) and router
CN104040969B (en) * 2012-01-05 2017-02-22 国际商业机器公司 Fragmentation Of Link Layer Discovery Protocol Packets
CN104040969A (en) * 2012-01-05 2014-09-10 国际商业机器公司 Fragmentation Of Link Layer Discovery Protocol Packets
WO2013102814A1 (en) * 2012-01-05 2013-07-11 International Business Machines Corporation Fragmentation of link layer discovery protocol packets
WO2014110737A1 (en) * 2013-01-16 2014-07-24 华为技术有限公司 Method, device, and system for configuring device in network
CN104205729A (en) * 2013-01-16 2014-12-10 华为技术有限公司 Method, device, and system for configuring device in network
CN104205729B (en) * 2013-01-16 2017-04-19 华为技术有限公司 Method, device, and system for configuring device in network
CN104717380B (en) * 2015-04-09 2017-06-27 迈普通信技术股份有限公司 Interchanger, speech ciphering equipment, IP telephony system and speech ciphering equipment dispositions method
CN104717380A (en) * 2015-04-09 2015-06-17 迈普通信技术股份有限公司 Switchboard, speech ciphering equipment, IP telephone system and speech ciphering equipment deployment method
CN106357540A (en) * 2016-08-24 2017-01-25 浪潮(北京)电子信息产业有限公司 Multicast control method and device thereof as well as multicast system
CN106357540B (en) * 2016-08-24 2019-02-19 浪潮(北京)电子信息产业有限公司 A kind of multicast control method and device, multi-cast system
CN106936824A (en) * 2017-03-09 2017-07-07 迈普通信技术股份有限公司 LLDP neighbor informations processing method and LLDP neighbor information processing equipments
CN106936824B (en) * 2017-03-09 2019-12-24 迈普通信技术股份有限公司 LLDP neighbor information processing method and LLDP neighbor information processing device
CN107196837A (en) * 2017-06-16 2017-09-22 四川省农业科学院服务中心 A kind of method that the multiple data service co-existence network used is divided based on VLAN
CN107196837B (en) * 2017-06-16 2020-06-16 四川省农业科学院服务中心 Multi-data service comprehensive networking method based on VLAN division application
CN107231282A (en) * 2017-07-21 2017-10-03 成都广达新网科技股份有限公司 A kind of automatic method for getting through management passage based on LLDP
CN108616453A (en) * 2018-04-20 2018-10-02 联想(北京)有限公司 A kind of methods, devices and systems for the network equipment
CN108616453B (en) * 2018-04-20 2020-12-18 联想(北京)有限公司 Method, device and system for network equipment
CN108966055A (en) * 2018-06-29 2018-12-07 烽火通信科技股份有限公司 The method and system of port attribute switching are realized in PON according to multicast service
CN108966055B (en) * 2018-06-29 2020-11-06 烽火通信科技股份有限公司 Method and system for realizing port attribute switching according to multicast service in PON
CN112953824A (en) * 2021-01-28 2021-06-11 新华三信息安全技术有限公司 Link aggregation configuration method and device
CN112953824B (en) * 2021-01-28 2022-03-29 新华三信息安全技术有限公司 Link aggregation configuration method and device
CN112968846A (en) * 2021-02-02 2021-06-15 武汉迈威通信股份有限公司 Detection system for illegal short circuit of switch port
CN112968846B (en) * 2021-02-02 2022-08-16 武汉迈威通信股份有限公司 Detection system for illegal short circuit of switch port
CN115562738A (en) * 2022-11-14 2023-01-03 苏州浪潮智能科技有限公司 Port configuration method, component and hard disk expansion device
CN116248583A (en) * 2023-01-03 2023-06-09 重庆长安汽车股份有限公司 Communication redundancy configuration method and device of vehicle-mounted controller, vehicle and storage medium
CN115865658A (en) * 2023-01-31 2023-03-28 新华三技术有限公司 Port binding method and device

Also Published As

Publication number Publication date
CN101459536B (en) 2012-01-04

Similar Documents

Publication Publication Date Title
CN101459536B (en) Port configuration method and switching device
US10182496B2 (en) Spanning tree protocol optimization
EP2947907B1 (en) Startup configuration method in base station, base station and server
CN101170483B (en) A method for stacking route switching device
CN101286990B (en) Forwarding method and apparatus of double-layer multicast
CN102801623B (en) Multi-access data transmitting method and device
CN107612809A (en) A kind of multicast list synchronous method and equipment
CN100407704C (en) Method of dynamically learning address on MAC layer
CN107968751B (en) Information processing method and device
WO2015021595A1 (en) Service channel configuration method, optical line terminal and passive optical network
CN107465622B (en) Method for realizing network topology discovery by utilizing LLDP
WO2008145050A1 (en) Method of preventing transport leaks in hybrid switching networks by extension of the link layer discovery protocol (lldp)
CN101242370B (en) Method for realizing Ethernet and frame-relay Internet and protocol conversion device
CN103124240A (en) Gateway configuration method, gateway devices and network system
WO2018171396A1 (en) Data transmission method, device and system
CN102143164B (en) Message relaying method, message relaying device and base station
CN101729420B (en) Data processing method and data processing device
CN108092896B (en) Stacking system and aggregation group creation apparatus
CN109150711B (en) Protection switching method, device and storage medium for point-to-multipoint two-layer multicast service
CN103227733B (en) A kind of topology discovery method and system
WO2021147357A1 (en) Method, device, and system for distributing routing information
CN113938446A (en) Multicast table item synchronization method and device based on MLAG environment
CN102480413B (en) Digital microwave equipment, network and network management data transmission method
CN102647424B (en) Data transmission method and data transmission device
CN113595915B (en) Method for forwarding message and related equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

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

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20230810

Address after: 24th Floor, Block B, Zhizhen Building, No. 7 Zhichun Road, Haidian District, Beijing, 100088

Patentee after: Beijing Ziguang Communication Technology Group Co.,Ltd.

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

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right