CN100544276C - The method that virtual private LAN network medium access control address is aging - Google Patents

The method that virtual private LAN network medium access control address is aging Download PDF

Info

Publication number
CN100544276C
CN100544276C CNB2005101356739A CN200510135673A CN100544276C CN 100544276 C CN100544276 C CN 100544276C CN B2005101356739 A CNB2005101356739 A CN B2005101356739A CN 200510135673 A CN200510135673 A CN 200510135673A CN 100544276 C CN100544276 C CN 100544276C
Authority
CN
China
Prior art keywords
aging
value
mac address
expression
forwarding table
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
CNB2005101356739A
Other languages
Chinese (zh)
Other versions
CN1992644A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2005101356739A priority Critical patent/CN100544276C/en
Publication of CN1992644A publication Critical patent/CN1992644A/en
Application granted granted Critical
Publication of CN100544276C publication Critical patent/CN100544276C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses the aging method of a kind of virtual private LAN network medium access control address, be applied to the provider edge equipment of virtual support private LAN network, may further comprise the steps: (a) a global flag position is set for mac address forwarding table, if there is data flow to arrive, this mark position is allowed the value of aging operation for expression; (b) receive the time exceeded message of the overall ageing timer of mac address forwarding table, trigger the operation of next step; (c) judge that whether described global flag position is the value that expression allows aging operation, if carry out the aging operation of whole M AC addresses forwarding table, and described global flag position is not allowed the value of aging operation, execution in step (d) for expression; Otherwise direct execution in step (d); (d) the overtime next time triggering message of the overall ageing timer of wait is returned step (b).The inventive method can reduce the broadcasting packet in the VPLS network, takies less system resource simultaneously.

Description

The method that virtual private LAN network medium access control address is aging
Technical field
The present invention relates to virtual private LAN network technology, relate in particular to the aging method of a kind of media access control address.
Background technology
Among the existing VPLS (Virtual Private LAN Service, i.e. virtual private LAN network), MAC (medium access control) addresses forwarding table is aging, is whether digital examination MAC Address clauses and subclauses have timer expiry and need deletion.The deletion of MAC Address clauses and subclauses is aging.Driving the aging method of operating of MAC (medium access control) addresses forwarding table has timer to drive and two kinds of data-drivens.
It is the timer that an overall situation is set that timer drives the aging method of operating of mac address forwarding table, overtime when Global Timer, carries out the aging operation that whole M AC transmits; No matter whether data flow is arranged, the aging operation of MAC Address is being carried out always.The aging operation of whole M AC addresses forwarding table is meant to be checked the MAC Address forwarding entry in the mac address forwarding table, if the timing that is certain MAC Address forwarding entry setting is overtime, then delete this MAC Address forwarding entry, this method is not paid close attention to the timing implementation method of MAC Address forwarding entry.
The employing timer drives, and proceeds the aging operation of mac address forwarding table under the situation that does not have data flow for a long time, can take unnecessary cpu resource to checking for empty mac address forwarding table.If certain the MAC Address forwarding entry timing on PE (provider edge equipment) is overtime, simultaneously because overall ageing timer is overtime, thereby carry out the aging operation of mac address forwarding table, delete this MAC Address forwarding entry.At this moment, when data message reappears, on PE, can not find out corresponding deleted MAC Address forwarding entry, can cause the broadcasting of Unknow message, can cause broadcast storm when serious, thereby bring instability (in the VPLS network to network, for the message of in mac address forwarding table, searching less than corresponding target MAC (Media Access Control) address forwarding entry, be called the Unknow message,, need do broadcasting and handle) for the Unknow message.
The aging method of operating of data-driven mac address forwarding table is that advanced line data is transmitted after receiving data, carries out the study of source MAC then, carries out the aging operation of mac address forwarding table again.With an example this method is introduced below:
As shown in Figure 1, interconnected between CE1 (Custom Edge, i.e. customer edge), CE3 and the Server by VPLS.Because be that the data-driven mac address forwarding table is aging, when data flow stopped between CE1, CE3 and Server, PE1, PE2, PE3 can be with MAC address aging.After the long data flow of process stops, when Server again when CE1 sends datagram, PE2 transmits earlier this message and gives PE1 (on PE2 because the MAC1 forwarding entry is not aging, when so PE2 forwarding target MAC (Media Access Control) address is the data message of MAC1, can inquire target MAC (Media Access Control) address MAC1 from mac address forwarding table, thereby this message is transmitted to PE1, and can not broadcast this message), the timing that upgrades the MAC2 forwarding entry again is (according to the principle of VPLS, need relearn the source MAC of message or upgrade the timing of the source MAC forwarding entry of message), carry out the aging operation that whole M AC transmits then, because the timing of MAC2 forwarding entry just is updated, so can not be removed.PE1 does similar work and transmits data to CE1, and upgrades the timing of MAC2 forwarding entry; Also back message using of CE1 this moment, because target MAC (Media Access Control) address is MAC2, and on PE1 and PE2, the timing of MAC2 forwarding entry is updated and is retained in transmitting, so PE1 and PE2 can not produce broadcasting packet when transmitting this back message using; PE2 and PE1 upgrade MAC1 forwarding entry (in the back message using, MAC1 is a source MAC) equally.In whole process, the VPLS network can not cause broadcasting packet.In the service of the Client/Server of response type network, this kind method can significantly reduce broadcasting packet.
But when data traffic was bigger, when adopting the data-driven mac address forwarding table to wear out method of operating, the aging frequency of operation of mac address forwarding table was very high, can take a large amount of processing time of CPU.And when not having data flow, mac address forwarding table is not deleted, has taken more memory headroom again.
Therefore, a kind of broadcasting packet that promptly can reduce in the VPLS network need be provided, the aging method of operating of driving mac address forwarding table of the system resource that takies can be reduced again.
Summary of the invention
Technical problem to be solved by this invention provides the aging method of a kind of drive medium access control address, can reduce the broadcasting packet in the VPLS network, takies less system resource simultaneously.
In order to solve the problems of the technologies described above, the invention provides the aging method of a kind of virtual private LAN network medium access control address, be applied to the provider edge equipment of virtual support private LAN network, may further comprise the steps:
(a) transmit for media access control address a global flag position is set, if there is data flow to arrive, this mark position is allowed the value of aging operation or keeps the value of current global flag position constant when the value of global flag position allows aging value of operating for expression for expression;
(b) receive the time exceeded message of the overall ageing timer that media access control address is transmitted, trigger the operation of next step;
(c) judge whether described global flag position is the value that expression allows aging operation, if carry out whole media access control address and transmit the operation of wearing out, and described global flag position is not allowed aging value of operating, execution in step (d) for expression; Otherwise direct execution in step (d);
(d) the overtime next time triggering message of the overall ageing timer of wait is returned step (b).
The inventive method combines the advantage of data-driven and timer driving and carries out the aging operation of mac address forwarding table, have the following advantages: first, under the situation of big flow, can not produce the aging operation of very frequent mac address forwarding table, reduce the cpu resource that takies; The second, owing to utilized the advantage of the aging operation of data-driven mac address forwarding table, there be not under the situation of flow the operation of not wearing out; The 3rd, this associated methods can the local generation that reduces broadcasting packet in the VPLS network, in the network service of response type, can significantly reduce broadcasting packet.
Description of drawings
Fig. 1 is the VPLS network diagram of the aging operation of data-driven mac address forwarding table;
Fig. 2 is the flow chart of the aging operation of embodiment of the invention mac address forwarding table.
Embodiment
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical scheme:
The present embodiment method combines the characteristics of data-driven and timer driving, as shown in Figure 2, may further comprise the steps:
Step 110, for mac address forwarding table is provided with a global flag position mac_table_age, if there is data flow to arrive, transmit data earlier, and the source MAC of learning data stream (is learnt source MAC and is meant that the source MAC forwarding entry is added into mac address forwarding table again, and reset its timing) or refresh the timing of source MAC clauses and subclauses again, if flag bit mac_table_age is not 1 (i.e. expression allows the sign of aging operation), again it is changed to 1;
Step 120 is received the time exceeded message of the overall ageing timer of mac address forwarding table, triggers the operation of next step;
Step 130 supports the PE (provider edge equipment) of VPLS function judges whether global flag position mac_table_age is 1, if carry out step 140, otherwise carry out step 150;
Step 140 is carried out the aging operation of whole M AC addresses forwarding table, and mac_table_age is put 0 (i.e. expression does not allow the sign of aging operation);
Step 150 is waited for and the time exceeded message next time of overall ageing timer is returned step 120.
In step 140, the aging operation of whole M AC addresses forwarding table is meant all the MAC Address forwarding entrys in the mac address forwarding table is checked, if the timing of certain MAC Address forwarding entry is overtime, then deletes this MAC Address forwarding entry.

Claims (4)

1, the aging method of a kind of virtual private LAN network medium access control address is applied to the provider edge equipment of virtual support private LAN network, may further comprise the steps:
(a) for mac address forwarding table a global flag position is set, if there is data flow to arrive, this mark position is allowed the value of aging operation or keeps the value of current global flag position constant when the value of global flag position allows aging value of operating for expression for expression;
(b) receive the time exceeded message of the overall ageing timer of mac address forwarding table, trigger the operation of next step;
(c) judge that whether described global flag position is the value that expression allows aging operation, if carry out the aging operation of whole M AC addresses forwarding table, and described global flag position is not allowed the value of aging operation, execution in step (d) for expression; Otherwise direct execution in step (d);
(d) the overtime next time triggering message of the overall ageing timer of wait is returned step (b).
2, the method for claim 1, it is characterized in that, in the described step (a), if there is data flow to arrive, transmit data earlier, and again learning data stream source MAC or refresh the timing of source MAC clauses and subclauses again, and then described global flag position is allowed the value of aging operation or keeps the value of current global flag position constant when the value of global flag position allows aging value of operating for expression for expression.
3, the method for claim 1, it is characterized in that, in the described step (c), carry out when whole M AC addresses forwarding table is aging to be operated, be meant all the MAC Address forwarding entrys in the mac address forwarding table are checked, if there is the timing of MAC Address forwarding entry overtime, then delete this MAC Address forwarding entry.
4, the method for claim 1 is characterized in that, described expression allows the value of aging operation and expression not to allow the value of aging operation to be respectively " 1 " and " 0 ", perhaps " 0 " and " 1 ".
CNB2005101356739A 2005-12-31 2005-12-31 The method that virtual private LAN network medium access control address is aging Expired - Fee Related CN100544276C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101356739A CN100544276C (en) 2005-12-31 2005-12-31 The method that virtual private LAN network medium access control address is aging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101356739A CN100544276C (en) 2005-12-31 2005-12-31 The method that virtual private LAN network medium access control address is aging

Publications (2)

Publication Number Publication Date
CN1992644A CN1992644A (en) 2007-07-04
CN100544276C true CN100544276C (en) 2009-09-23

Family

ID=38214607

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101356739A Expired - Fee Related CN100544276C (en) 2005-12-31 2005-12-31 The method that virtual private LAN network medium access control address is aging

Country Status (1)

Country Link
CN (1) CN100544276C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247353B (en) * 2008-03-25 2010-08-25 杭州华三通信技术有限公司 Stream aging method and network appliance
CN101262435B (en) * 2008-04-16 2010-09-29 华为技术有限公司 A return method and device for stream forward items
CN102821168B (en) * 2012-08-09 2015-08-12 中兴通讯股份有限公司 Based on method and the device of the MAC address aging of VPLS
CN105100282B (en) * 2015-09-06 2021-06-08 浪潮软件股份有限公司 Timer tool under tobacco cloud platform

Also Published As

Publication number Publication date
CN1992644A (en) 2007-07-04

Similar Documents

Publication Publication Date Title
CN101227407B (en) Method and apparatus for sending message based on two layer tunnel protocol
CN101820435B (en) Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system
CN100490418C (en) Virtual local network-based data exchanging method and equipment
CN101577722B (en) Method for realizing MAC forced forwarding function and device
CN101194489B (en) Information processing server, remote control system, and remote control method
CN101588365B (en) Link negotiation control method and optical fiber chunnel bearing ether protocol integration system
EP1903723A1 (en) Method and apparatus for transmitting message
WO2000052896A3 (en) Method and apparatus for managing a network flow in a high performance network interface
CN102291320A (en) MAC (media access control) address learning method and edge device
CN102025643A (en) Flow table search method and device
JPH0870299A (en) Target transmission in network and message target generationsystem
US20070140241A1 (en) Fast processing of multicast data
CN100544276C (en) The method that virtual private LAN network medium access control address is aging
CN107547344B (en) VXLAN message processing method and device
JP2019523608A (en) Packet monitoring
US20150085734A1 (en) Method and system for roamed client device handling
US11677586B1 (en) Fast convergence for MAC mobility
US20150304271A1 (en) Address resolution protocol buffer and buffering method thereof
US20090172433A1 (en) Powering on devices via intermediate computing device
US20150334014A1 (en) Ip address based udp relay
CN107819708A (en) Data processing method, system and equipment based on virtual machine (vm) migration
US7769007B2 (en) Method of providing multicast services in virtual private LAN
US20050198219A1 (en) Unicast messaging for waking up sleeping devices
US7809008B2 (en) Methods and apparatus for routing packets
CN109067673B (en) Method and system for learning MAC address in stacking system

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

Granted publication date: 20090923

Termination date: 20141231

EXPY Termination of patent right or utility model