CN100411389C - Method for preventing multi-PVC broadcasting from forming ring and method for processing broadcasting message under ATM interface - Google Patents

Method for preventing multi-PVC broadcasting from forming ring and method for processing broadcasting message under ATM interface Download PDF

Info

Publication number
CN100411389C
CN100411389C CNB2005101235221A CN200510123522A CN100411389C CN 100411389 C CN100411389 C CN 100411389C CN B2005101235221 A CNB2005101235221 A CN B2005101235221A CN 200510123522 A CN200510123522 A CN 200510123522A CN 100411389 C CN100411389 C CN 100411389C
Authority
CN
China
Prior art keywords
pvc
outlet
message
isolation
inlet
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.)
Expired - Fee Related
Application number
CNB2005101235221A
Other languages
Chinese (zh)
Other versions
CN1863159A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005101235221A priority Critical patent/CN100411389C/en
Publication of CN1863159A publication Critical patent/CN1863159A/en
Application granted granted Critical
Publication of CN100411389C publication Critical patent/CN100411389C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a method for preventing multi-PVC broadcast from forming a ring and a method for processing broadcasting messages under an ATM interface, wherein the method for processing broadcasting messages comprises the following steps: a PVC isolating arranging step: a PVC is selected, and PVC isolation is also arranged; a message processing step: if the PVC isolation is arranged in an inlet PVC and an outlet PVC in the PVC isolating arranging step, the messages are not forwarded in the outlet PVC; otherwise, the messages are forwarded by an outlet port. The broadcasting messages are forwarded in a broadcast mode on a plurality of PVCs under the same ATM interface in the same Vlan. The method for preventing multi-PVC broadcast from forming a ring and a method for processing broadcasting messages under an ATM interface of the present invention is provided with the PVC isolation. When isolation is arranged on both the outlet PVC and the inlet PVC, the messages can not be forwarded to effectively prevent the formation of a broadcast storm and ensure that when the ATM interface is butted, flow can be normally intercommunicated. In addition, the present invention has the advantages of simplicity and efficiency.

Description

Prevent that a plurality of PVC broadcast into the method and the broadcasting packet processing method of ring under the atm interface
Technical field
The present invention relates to ATM (Asynchronous Transfer Mode, the asynchronous pattern of passing on) access technology, a plurality of PVC under particularly a kind of solution atm interface (Permanent Virtual Circuit, PVC) broadcast into the method for ring.
Background technology
Atm interface can be used as two layers of mouth and uses in the 1483B agreement, and atm link connects with PVC, under same atm interface, can dispose a plurality of PVC, a plurality of PVC can bind same Vlan (Virtual LAN again simultaneously, VLAN), as shown in Figure 1, user A is linked into Internet with user B by different PVC, Route1 and Router2 PVC 0/60 and PVC 0/61 separately are bundled among the same Vlan simultaneously, when docking for two such atm interfaces, Router2 can forward from PVC 0/61 from the broadcasting packet that PVC 0/60 receives, receive a broadcasting packet at the PVC 0/61 of Router1 equally, can continue from PVC 0/60, to forward, PVC 0/60 and 0/61 of PVC at Router1 and Router2 just formed broadcast storm like this, seriously influenced the intercommunication of normal discharge.
Bind a plurality of PVC simultaneously for interface of ATM at present, a plurality of PVC bind same Vlan and dock, one of prior art that prevents to broadcast into ring between a plurality of PVC is to run STP (Spanning Tree Protocol on the PVC of ATM, Spanning-Tree Protocol), as shown in Figure 1, on PVC 0/60 and 0/61, play STP, assurance has only a PVC to be in the Forwarding state, other PVC is in the Discarding state, but the present industry of STP agreement for atm interface PVC does not also have unified standard, on the PVC of ATM, run the more complicated of STP own simultaneously, realize that difficulty is bigger, adding does not have unified standard, and each manufacturer's implementation may be all different, can produce very big problem for the device intercommunicating between manufacturer.
Second kind of technology is exactly to adopt the mode of evading, PVC of each interface binding in Fig. 1, is bundled in PVC 0/60 and 0/61 respectively on the different interfaces, Router1 links to each other by an interface with Router2, and the method for binding a plurality of PVC with a plurality of interfaces prevents to broadcast into ring.The shortcoming of this solution is apparent, is exactly the quantity of atm interface of waste greatly.
Summary of the invention
The object of the present invention is to provide and a kind ofly prevent that a plurality of PVC broadcast into the method and the broadcasting packet processing method of ring under the atm interface, as a plurality of PVC visit Internets of a plurality of users by an atm interface, simultaneously a plurality of PVC are under same atm interface and when being bundled among the same Vlan, flow intercommunication normally when guaranteeing that atm interface docks, and broadcasting can not become ring.
To achieve these goals, the invention provides and a kind ofly prevent that a plurality of PVC broadcast into the method for ring under the atm interface, isolate to stop and broadcast into ring by selecting PVC and PVC being set, described a plurality of PVC belong to same atm interface and same VLAN.
Above-mentioned prevents that a plurality of PVC broadcast into the method for ring under the atm interface, wherein, by realizing that at inlet PVC and outlet PVC difference configuration isolation PVC isolates, or by port PVC Bit bitmap table realization PVC isolation is set, each PVC among described a plurality of PVC is the different B it in the corresponding described port PVC Bit bitmap table respectively, and is that a particular value realizes that PVC isolates by the described Bit that corresponding PVC is set.
In order better to realize above-mentioned purpose, the present invention also provides a kind of broadcasting packet processing method, and a plurality of PVCs of described broadcasting packet under same Vlan and same atm interface broadcast forwarding, and it always comprises the steps:
The PVC isolation is provided with step, selects PVC that PVC also is set and isolates;
The message treatment step is set up the PVC isolation if inlet PVC and outlet PVC all isolate to be provided with at described PVC in the step, then described message is not transmitted at described outlet PVC, otherwise described message is transmitted by outbound port.
Of the present inventionly a kind ofly prevent that a plurality of PVC broadcast into the method and the broadcasting packet processing method of ring under the atm interface, by being set, PVC isolates, when outlet PVC all is provided with isolation with inlet PVC, message can not transmitted, prevented the formation of broadcast storm effectively, flow intercommunication normally when guaranteeing that atm interface docks has improved the utilization rate of atm interface greatly, the flexible networking of real realization ATM, and effectively simple.
Description of drawings
Fig. 1 is the schematic network structure that causes broadcast storm;
Fig. 2 is the method flow diagram of the first embodiment of the present invention;
Fig. 3 is the Bit bitmap table schematic diagram based on port PVC of the present invention.
Embodiment
The method that prevents that a plurality of PVC under the atm interface from broadcasting into ring of the present invention solves the problem of broadcasting into ring by the mode of utilizing PVC to isolate.
In the first embodiment of the invention, by to the inlet PVC and the outlet PVC respectively the mode of configuration isolation isolate, isolation is set can be by configuration isolation order on inlet PVC, and for example after Port Isolate order of configuration on the PVC of correspondence, corresponding PVC promptly has been provided with isolation mark.
Need broadcast at a plurality of PVC under same Vlan and the same atm interface forwarding message handling process as shown in Figure 2, comprise the steps:
Step 201, message arrive router inlet PVC;
Step 202, all that obtain entering the mouth on the PVC by software meter reading mode are provided with sign, and content is set judges whether this PVC is provided with the PVC isolation mark according to what obtain, if, then enter step 203, otherwise message is sent to the message outlet and carries out the outbound port forwarding;
Step 203 will be sent to the message outlet after this message inlet porting isolation mark;
Step 204 equally also is that all are provided with sign by software meter reading mode obtains exporting on the PVC, judges whether this PVC is provided with PVC and isolates, if then outbound port is not transmitted this message, otherwise is transmitted by outbound port.
Situation as shown in Figure 1, PVC is set respectively on the PVC 0/60 of correspondence and PVC 0/61 to be isolated, for the message that need broadcast forwarding at a plurality of PVC under same Vlan and the same atm interface, at first arrive on the Router2 inlet PVC 0/60, through judging, being provided with PVC on the inlet PVC 0/60 isolates, then be with the PVC isolation mark, arrive outlet PVC 0/61 Deng message, find that outlet PVC 0/61 also has been with isolation mark, showing then that this a pair of PVC transmits isolates, and message is not transmitted at outlet PVC.
In the second embodiment of the invention, utilize the mode of port PVC Bit bitmap table to isolate.
At first set up a Bit bitmap table based on port PVC, as shown in Figure 3, for the Bit bitmap table of 16 PVC is arranged, the corresponding Bit of each PVC, such as Bit can be set is that 1 expression PVC puts isolation mark, be that 0 expression does not have isolation mark, if the numerical value in inlet PVC and the corresponding bit bitmap table of outlet PVC is at 1 o'clock, message is not transmitted.
For the message that need broadcast forwarding at a plurality of PVC under same Vlan and the same atm interface, inlet PVC and outlet PVC with this message compare with the Bit bitmap respectively, two PVC put then not transmitting of isolation mark (1) simultaneously, otherwise normally transmit.
Situation as shown in Figure 1, the Bit position of PVC 0/60 and PVC 0/61 correspondence is provided with isolation mark, because inlet PVC and outlet PVC put isolation mark (promptly 1) simultaneously, the broadcasting packet that sends from PVC 0/60 just can not forward from PVC 0/61 so, can avoid broadcasting packet Cheng Huan equally.
Certainly the present invention can also carry out the preservation and the judgement of isolation mark by the form of other forms of local table or global table.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (9)

1. one kind prevents that a plurality of PVC broadcast into the method for ring under the atm interface, and described a plurality of PVC belong to same atm interface and same VLAN, it is characterized in that, broadcasts into ring by selecting PVC and PVC isolation prevention being set.
2. according to claim 1ly prevent that a plurality of PVC broadcast into the method for ring under the atm interface, it is characterized in that, by inlet PVC and outlet PVC respectively configuration isolation realize that PVC isolates.
3. according to claim 1ly prevent that a plurality of PVC broadcast into the method for ring under the atm interface, it is characterized in that, by being set, port PVC Bit bitmap table realizes that PVC isolates, each PVC among described a plurality of PVC is the different B it in the corresponding described port PVC Bit bitmap table respectively, and is that a particular value realizes that PVC isolates by the described Bit that corresponding PVC is set.
4. broadcasting packet processing method, a plurality of PVCs of described broadcasting packet under same Vlan and same atm interface broadcast forwarding, it is characterized in that, comprise the steps:
The PVC isolation is provided with step, selects PVC that PVC also is set and isolates;
The message treatment step is set up the PVC isolation if the inlet PVC of message and outlet PVC all isolate to be provided with at described PVC in the step, then described message is not transmitted at described outlet PVC, otherwise described message is transmitted by outbound port.
5. broadcasting packet processing method according to claim 4 is characterized in that, described PVC isolation is provided with step in inlet PVC and outlet PVC difference configuration isolation.
6. broadcasting packet processing method according to claim 5 is characterized in that, described message treatment step specifically comprises the steps:
Step 201, described message arrive router inlet PVC;
Step 202 judges whether described inlet PVC is provided with PVC and isolates, if then enter step 203, otherwise described message is sent to the message outlet and carries out the outbound port forwarding;
Step 203 will be sent to described message outlet after the described message inlet porting isolation mark;
Step 204 judges whether outlet PVC is provided with PVC and isolates, if then outbound port is not transmitted this message, otherwise is transmitted by outbound port.
7. broadcasting packet processing method according to claim 6 is characterized in that, in described step 202 and the step 204, judges by software meter reading mode whether PVC is provided with PVC and isolates.
8. broadcasting packet processing method according to claim 4, it is characterized in that, described PVC isolation is provided with in the step, by being set, port PVC Bit bitmap table realizes that PVC isolates, each PVC among described a plurality of PVC is the different B it in the corresponding described port PVC Bit bitmap table respectively, and is that a particular value realizes that PVC isolates by the described Bit that corresponding PVC is set.
9. broadcasting packet processing method according to claim 8 is characterized in that, described message treatment step specifically comprises the steps:
Obtain message inlet PVC and outlet PVC;
Obtain the value of the Bit of described inlet PVC and outlet PVC correspondence according to described PVC Bit bitmap table;
The value of the Bit of described inlet PVC and outlet PVC correspondence is described particular value, and then described message is not transmitted at described outlet PVC, otherwise described message is transmitted by outbound port.
CNB2005101235221A 2005-11-17 2005-11-17 Method for preventing multi-PVC broadcasting from forming ring and method for processing broadcasting message under ATM interface Expired - Fee Related CN100411389C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101235221A CN100411389C (en) 2005-11-17 2005-11-17 Method for preventing multi-PVC broadcasting from forming ring and method for processing broadcasting message under ATM interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101235221A CN100411389C (en) 2005-11-17 2005-11-17 Method for preventing multi-PVC broadcasting from forming ring and method for processing broadcasting message under ATM interface

Publications (2)

Publication Number Publication Date
CN1863159A CN1863159A (en) 2006-11-15
CN100411389C true CN100411389C (en) 2008-08-13

Family

ID=37390489

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101235221A Expired - Fee Related CN100411389C (en) 2005-11-17 2005-11-17 Method for preventing multi-PVC broadcasting from forming ring and method for processing broadcasting message under ATM interface

Country Status (1)

Country Link
CN (1) CN100411389C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572655B (en) * 2008-04-29 2012-04-25 华为技术有限公司 Method and equipment for port isolation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0993249A (en) * 1995-09-26 1997-04-04 Fujitsu Ltd Pvc state confirmation system in frame relay network
US6757298B1 (en) * 2000-10-10 2004-06-29 Cisco Technology, Inc. VLAN trunking over ATM PVCs (VTAP)

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0993249A (en) * 1995-09-26 1997-04-04 Fujitsu Ltd Pvc state confirmation system in frame relay network
US6757298B1 (en) * 2000-10-10 2004-06-29 Cisco Technology, Inc. VLAN trunking over ATM PVCs (VTAP)

Also Published As

Publication number Publication date
CN1863159A (en) 2006-11-15

Similar Documents

Publication Publication Date Title
CN101964746B (en) Routing frames in shortest path computer network for multi-homed legacy bridge node
CA2242758C (en) Wide area network system providing secure transmission
CN101325551B (en) Method and device for processing message
US7127523B2 (en) Spanning tree protocol traffic in a transparent LAN
CN101160850B (en) Method and device for forwarding packet
CN100561990C (en) A kind of digital home gateway device and processing method thereof
WO2005032063A3 (en) System and method for registering and unregistering membership in virtual local area networks
Barnes et al. Cisco LAN switching fundamentals
CN106921527A (en) The processing method and processing device of stacking conflict
CN101141396B (en) Packet processing method and network appliance
CN100411389C (en) Method for preventing multi-PVC broadcasting from forming ring and method for processing broadcasting message under ATM interface
EP2518948A1 (en) Methods, system and apparatus for protecting control virtual local network in ethernet ring network
CN104426777B (en) Route renewing method and routing device
CN100372321C (en) Method for establishing virtual circuit
CN100493222C (en) XDSL networking system, data transmitting method and base station in XDSL networking system
JP2007534191A5 (en)
CN102291317B (en) A kind of retransmission method and device of virtual private network packet
CN103716220B (en) A kind of data transmission method and its device
CN105162733B (en) A kind of method and apparatus for determining edge interface
CN106685788B (en) The chip implementing method of PVLAN under stacking mode
US8144583B2 (en) Network switch that is optimized for a telephony-capable endpoint
Cisco sh_p_sn
CN101076016B (en) Method for protecting network topological structure
Cisco Internetworking Technology Overview
US8320370B2 (en) Method for routing data packets, and devices for implementing the method

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080813

Termination date: 20121117