CN106507228B - A kind of method that OLT PON service card realizes the soft table update of FDB - Google Patents

A kind of method that OLT PON service card realizes the soft table update of FDB Download PDF

Info

Publication number
CN106507228B
CN106507228B CN201611056520.XA CN201611056520A CN106507228B CN 106507228 B CN106507228 B CN 106507228B CN 201611056520 A CN201611056520 A CN 201611056520A CN 106507228 B CN106507228 B CN 106507228B
Authority
CN
China
Prior art keywords
fdb
pon
list item
entry operation
operation mark
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
CN201611056520.XA
Other languages
Chinese (zh)
Other versions
CN106507228A (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.)
Chengdu Guangda Hengji Communication Technology Co., Ltd
Original Assignee
Chengdu Guangda New Network Technology 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 Chengdu Guangda New Network Technology Co Ltd filed Critical Chengdu Guangda New Network Technology Co Ltd
Priority to CN201611056520.XA priority Critical patent/CN106507228B/en
Publication of CN106507228A publication Critical patent/CN106507228A/en
Application granted granted Critical
Publication of CN106507228B publication Critical patent/CN106507228B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention provides a kind of method that OLT PON service card realizes the soft table update of FDB, and the method comprising the steps of: (1) obtaining the MAC Address of PON chip;(2) MAC Address that will acquire is matched with local FDB list item, if being matched to, and the list item is not required to delete, it is to remain unchanged that the table entry operation mark, which is then arranged, if not being matched to, FDB table is added to the MAC Address not being matched to, and it is newly-increased for recording the table entry operation mark.The present invention is FDB software learning mode, independent of the hardware circuit of chip, and automatically updating for the soft table content of FDB may be implemented through the invention.

Description

A kind of method that OLT PON service card realizes the soft table update of FDB
Technical field
The present invention relates to a kind of data more frontiers of PON business board, real more particularly, to a kind of OLT PON service card The method that the existing soft table of FDB updates.
Background technique
FDB management function is highly important management service function in EPON system, and main function is that maintenance system FDB is soft Table provides the inquiry of MAC for operation maintenance personnel and removes means.Information in the soft table of FDB be Ethernet interface in OLT device and The MAC information of the static MAC information of the dynamic MAC and configuration that learn on the port PON, these information and bottom chip is kept It is synchronous.
The dynamic MAC study of PON business board FDB management at present depends on the MAC Address active reporting function of chip, i.e., MAC address learning is carried out using hardware mode.The part PON mac learning mode such as Fig. 1 in one typical distributed OLT system It is shown.For not having the chip of MAC Address active reporting function, software can not effectively obtain the update status of its MAC Address. Two layer functions of PON chip are still weaker compared with exchange chip currently on the market, for MAC active reporting function support compared with Difference.Therefore, it is necessary to realize a kind of general FDB software learning mode not depended on chip.
Summary of the invention
It is an object of the invention to: in view of the problems of the existing technology, provide a kind of OLT PON service card realization FDB The method that soft table updates is solved for not having the chip of MAC Address active reporting function, and software can not effectively obtain its MAC The problem of update status of address.
Goal of the invention of the invention is achieved through the following technical solutions:
A kind of method that OLT PON service card realizes the soft table update of FDB, which is characterized in that the method comprising the steps of:
(1) MAC Address of PON chip is obtained;
(2) MAC Address that will acquire is matched with local FDB list item, if being matched to, and the list item is not required to delete, then sets Setting the table entry operation mark is to remain unchanged, if not being matched to, FDB table is added to the MAC Address not being matched to, and recording should Table entry operation mark is newly-increased.
As further technical solution, this method is further comprised the steps of:
(3) MAC Address for judging whether to have obtained all PON chips, if being judged as NO, return step (1), if judgement To be to carry out step (4);
(4) local FDB list item is obtained, corresponding operating is executed according to content if having content in table entry operation mark, if table There is no content in item operation flag, then it is to need aging that the table entry operation mark, which is arranged, waits next poll.
It is specific according to content execution corresponding operating if having content in table entry operation mark as further technical solution If are as follows: the table entry operation mark be it is newly-increased, report tension management module, be synchronized to global FDB table;If table entry operation mark Will is aging, then deletes the PON FDB list item, while reporting tension management module, be synchronized to global FDB table;If list item is grasped Make mark to delete, then deletes the PON FDB list item.
As further technical solution, local FDB contents in table include: the address Mac, vlan, source port, source LLID with And the table entry operation mark.
As further technical solution, table entry operation mark include the list item whether be increase newly, aging, need delete or It remains unchanged.
As further technical solution, if receiving the configuration-direct for the removing MAC Address that operation maintenance personnel issues, lead to It crosses PON chip SDK interface and deletes the MAC Address of PON chip, while traversing the soft table of FDB, for meeting the list item of deletion condition, Setting table entry operation mark is to need to delete.
Compared with prior art, the invention has the following advantages that
1, the present invention is FDB software learning mode, the hardware circuit independent of chip;
2, automatically updating for the soft table content of FDB may be implemented through the invention.
Detailed description of the invention
Fig. 1 is mac learning mode in the part PON in existing distributed OLT system;
Fig. 2 is mac learning mode in the part PON in distributed OLT system of the invention;
Fig. 3 is flow chart of the invention.
Specific embodiment
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.
Embodiment
Present invention is mainly applied to the PON business boards of the OLT device of EPON system, and the technology that certain present invention realizes is also It can be applied to other to count in logical product.
As shown in Fig. 2, for using the part PON mac learning in the typical distributed OLT system of one after the method for the present invention Mode.Its hardware being related to includes PON business board and main control card, and wherein PON business board includes CPU and PON chip, master control CPU is provided on card.The CPU of PON business board actively obtains the address M AC of PON chip, then gives FDB to main control card CPU。
Detailed process of the invention is as shown in Figure 3, comprising:
Step 1: PON chip MAC Address periodically being obtained by PON chip SDK specified interface;
Step 2: the MAC that will acquire is matched with local FDB list item, if being matched to, and the list item is not required to delete, then is arranged The table entry operation mark is to remain unchanged, and goes to step 4, otherwise enters step 3;
Step 3: FDB table being added to the MAC Address not being matched to, and it is newly-increased for recording the table entry operation mark;
Step 4: whether having obtained all PON chip MAC, if not completing, gone to step 1, otherwise enter step 5;
Step 5: traversal the soft table of PON FDB, if the table entry operation mark be it is newly-increased, report tension management module, together It walks to global FDB table;If mark is aging, the PON FDB list item is deleted, while reporting tension management module, be synchronized to Global FDB table;If mark deletes the PON FDB list item to delete;If three kinds of non-front situation, list item behaviour is set Make mark to need aging, waits next poll.
Wherein, OLT CPU safeguards that the dedicated FDB table of PON, contents in table include: the address Mac, vlan, source port, source LLID, And the table entry operation mark.The table entry operation mark includes whether the list item is newly-increased, aging, needs to delete, or keeps not Become;
In addition, if operation maintenance personnel issues the configuration for removing MAC, by chip SDK interface deletion chip MAC, while time PON FDB table is gone through, for meeting the list item of deletion condition, setting operation flag is to need to delete.
PON service card FDB table key data structure are as follows:
Wherein, the data structures such as balanced binary tree or red black tree may be selected in TREE_NODE.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, it is noted that all Made any modifications, equivalent replacements, and improvements etc. within the spirit and principles in the present invention should be included in guarantor of the invention Within the scope of shield.

Claims (6)

1. a kind of OLT PON service card realizes the method that the soft table of FDB updates, which is characterized in that the method comprising the steps of:
(1) CPU of PON business board actively obtains the MAC Address of PON chip;
(2) MAC Address that will acquire is matched with local FDB list item, if being matched to, and the list item is not required to delete, then setting should Table entry operation mark is to remain unchanged, if not being matched to, FDB table is added to the MAC Address not being matched to, and record the list item Operation flag is newly-increased.
2. a kind of OLT PON service card according to claim 1 realizes the method that the soft table of FDB updates, which is characterized in that should Method further comprises the steps of:
(3) MAC Address for judging whether to have obtained all PON chips, if being judged as NO, return step (1), if being judged as YES Then carry out step (4);
(4) local FDB list item is obtained, corresponding operating is executed according to content if having content in table entry operation mark, if list item is grasped Work does not have content in indicating, then it is to need aging that the table entry operation mark, which is arranged, waits next poll.
3. a kind of OLT PON service card according to claim 2 realizes the method that the soft table of FDB updates, which is characterized in that if Have in table entry operation mark content then according to content execute corresponding operating specifically: if the table entry operation mark be it is newly-increased, Tension management module is reported, global FDB table is synchronized to;If table entry operation mark is aging, the PON FDB list item is deleted, Tension management module is reported simultaneously, is synchronized to global FDB table;If table entry operation mark is to delete, the PON FDB table is deleted ?.
4. a kind of OLT PON service card according to claim 1 realizes the method that the soft table of FDB updates, which is characterized in that this Ground FDB contents in table includes: the address Mac, vlan, source port, source LLID and the table entry operation mark.
5. a kind of OLT PON service card according to claim 4 realizes the method that the soft table of FDB updates, which is characterized in that table Item operation flag includes whether the list item is to increase newly, aging, need to delete or remain unchanged.
6. a kind of OLT PON service card according to claim 1 realizes the method that the soft table of FDB updates, which is characterized in that such as Fruit receives the configuration-direct for the removing MAC Address that operation maintenance personnel issues, then deletes PON chip by PON chip SDK interface MAC Address, while the soft table of FDB is traversed, for meeting the list item of deletion condition, setting table entry operation mark is to need to delete.
CN201611056520.XA 2016-11-25 2016-11-25 A kind of method that OLT PON service card realizes the soft table update of FDB Expired - Fee Related CN106507228B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611056520.XA CN106507228B (en) 2016-11-25 2016-11-25 A kind of method that OLT PON service card realizes the soft table update of FDB

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611056520.XA CN106507228B (en) 2016-11-25 2016-11-25 A kind of method that OLT PON service card realizes the soft table update of FDB

Publications (2)

Publication Number Publication Date
CN106507228A CN106507228A (en) 2017-03-15
CN106507228B true CN106507228B (en) 2019-08-16

Family

ID=58328515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611056520.XA Expired - Fee Related CN106507228B (en) 2016-11-25 2016-11-25 A kind of method that OLT PON service card realizes the soft table update of FDB

Country Status (1)

Country Link
CN (1) CN106507228B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109391548B (en) * 2018-11-06 2021-12-17 迈普通信技术股份有限公司 Table entry migration method and device and network communication system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651627A (en) * 2009-09-23 2010-02-17 杭州华三通信技术有限公司 Method and device for studying media access control (MAC) table items
CN101656676A (en) * 2009-09-18 2010-02-24 杭州华三通信技术有限公司 Method and equipment for updating media access control (MAC) address list items
CN102045200A (en) * 2010-12-24 2011-05-04 武汉烽火网络有限责任公司 Conditional synchronization method for MAC address table entry of distributed switch
CN104994181A (en) * 2015-06-05 2015-10-21 上海斐讯数据通信技术有限公司 Method for displaying dynamic MAC address table in distributed OLT system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9558057B2 (en) * 2014-01-13 2017-01-31 Cisco Technology, Inc. Network performance diagnostics system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656676A (en) * 2009-09-18 2010-02-24 杭州华三通信技术有限公司 Method and equipment for updating media access control (MAC) address list items
CN101651627A (en) * 2009-09-23 2010-02-17 杭州华三通信技术有限公司 Method and device for studying media access control (MAC) table items
CN102045200A (en) * 2010-12-24 2011-05-04 武汉烽火网络有限责任公司 Conditional synchronization method for MAC address table entry of distributed switch
CN104994181A (en) * 2015-06-05 2015-10-21 上海斐讯数据通信技术有限公司 Method for displaying dynamic MAC address table in distributed OLT system

Also Published As

Publication number Publication date
CN106507228A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
US20220038353A1 (en) Technologies for annotating process and user information for network flows
US10797970B2 (en) Interactive hierarchical network chord diagram for application dependency mapping
US11115382B2 (en) Global objects for federated firewall rule management
US20110318011A1 (en) Tenant isolation in a multi-tenant cloud system
CN107819615B (en) Equipment self-adaptive access method and device and master control equipment
US10015650B2 (en) Dynamic branding based on baseboard management controller
US20180359145A1 (en) Unified software defined networking configuration management over multiple hosting environments
CN105553739B (en) A kind of method and device for realizing MAC Address tracking
CN103870274A (en) Visual development assembly for realizing data interaction between heterogeneous systems based on web service technology
US9019967B2 (en) VLAN advertisement and automated configuration
CN103840996A (en) Method and system for achieving user port VLAN service management in ONU
CN104993964A (en) Method for compliance check of data configuration of PTN L3 (Packet Transport Network Layer3) network based on regularization algorithm
US9634885B2 (en) Control target flow specifying method and control target flow specifying device
WO2016150139A1 (en) Method and apparatus for establishing network service instance
CN105262638A (en) Method for simultaneously testing plurality of electronic products
CN105516386A (en) Method and system for detecting and processing MAC address conflict of server management system
CN106507228B (en) A kind of method that OLT PON service card realizes the soft table update of FDB
CN104243298A (en) Message control method and device
US20200412619A1 (en) Network System, Topology Management Method, and Program
CN109379239A (en) The method and device of access switch is configured in a kind of OpenStack environment
WO2016101600A1 (en) Line card determination, determination processing method and device, and line card determination system
CN100571172C (en) A kind of multi-vendor alarm and control system and alarm method thereof in the telecommunication management network
US9929880B2 (en) System and method for managing VLAN associations with network ports
CN104980526A (en) Control method of media access control (MAC) address drift, control device of MAC address drift and network device
CN113162782B (en) Data center network configuration method and device

Legal Events

Date Code Title Description
C06 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
TR01 Transfer of patent right

Effective date of registration: 20200803

Address after: Floor 2, No.16, Gaopeng Avenue, high tech Zone, Chengdu, Sichuan 610000

Patentee after: Chengdu Guangda Hengji Communication Technology Co., Ltd

Address before: 610041 building four, building two, Shiyang Industrial Park, five village, Shiyang village, fifty-five village, Chengdu hi tech Zone, Sichuan, Qingyun

Patentee before: CHENGDU GUANGDA NEW NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190816

Termination date: 20201125

CF01 Termination of patent right due to non-payment of annual fee