Summary of the invention
In view of this, the embodiment of the invention provides the IP management method of a kind of optical network unit and optical network unit, can realize the automatic management of two IP address of ONU equipment.
For addressing the above problem, the embodiment of the invention provides a kind of optical network unit, comprising:
First receiver module is used to receive the managing I P information that optical line terminal issues, and described managing I P information comprises: the route and the VLAN of managing I P and described managing I P correspondence;
First configuration module is used for disposing the route of described managing I P and described managing I P correspondence according to local IP management mode, after configuration is finished, does not have the IP that conflicts with described managing I P among the local IP;
Second receiver module is used to receive arrowband IP information and the IP management mode that described optical line terminal issues, and described arrowband IP information comprises: the route and the VLAN of arrowband IP and described arrowband IP correspondence;
Second configuration module, be used for according to described IP management mode that issues and described local IP management mode, dispose the route of described arrowband IP that issues and the described arrowband IP correspondence that issues, after configuration is finished, do not have the IP that conflicts with the described arrowband IP that issues among the local IP;
The 3rd configuration module is used for the described IP management mode that issues is configured to described local IP management mode.
Described first configuration module comprises:
First processing sub is used for the route of described managing I P and described managing I P correspondence being configured to the route of local arrowband IP and local arrowband IP correspondence respectively when described local IP management mode is shared model;
Second processing sub is used for the route of described managing I P and described managing I P correspondence being configured to the route of local broadband IP and local broadband IP correspondence respectively when described local IP management mode is stand-alone mode.
Described first processing sub comprises:
First judging unit is used to judge whether described managing I P is identical with local arrowband IP;
First processing unit is used at described managing I P identically with described local arrowband IP, and the route of the described managing I P correspondence route corresponding with described local arrowband IP is not simultaneously, the route of described local arrowband IP correspondence is revised as the route of described managing I P correspondence;
Second processing unit is used for deleting the route and the described local arrowband IP of described local arrowband IP correspondence at described managing I P and local arrowband IP not simultaneously;
Described second processing sub comprises:
Second judging unit is used to judge whether described managing I P is identical with local broadband IP;
The 3rd processing unit is used at described managing I P identically with described local broadband IP, and the route of the described managing I P correspondence route corresponding with described local broadband IP is not simultaneously, the route of described local broadband IP correspondence is revised as the route of described managing I P correspondence;
Manages the unit everywhere, is used for deleting the route and the described local broadband IP of described local broadband IP correspondence in described managing I P and described local broadband IP not simultaneously.
Described first configuration module also comprises:
First judges submodule, is used for the VLAN according to described managing I P and described managing I P correspondence, judges whether there is the IP that conflicts with described managing I P among the local IP;
The first deletion submodule is used for when existing with IP that described managing I P conflict, deletes the route of IP correspondence of described conflict and the IP of described conflict, feasible dispose finish after, do not have the IP that conflicts with described managing I P among the local IP.
Described second configuration module comprises:
The 3rd processing sub, being used in the described IP management mode that issues is stand-alone mode, described local IP management mode is a shared model, and the described arrowband IP that issues and local arrowband IP do not exist when conflicting, the route of local arrowband IP and local arrowband IP correspondence is configured to the route of local broadband IP and local broadband IP correspondence respectively, the route of described arrowband IP that issues and the arrowband IP correspondence that issues is configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively;
Manages submodule everywhere, be used for being stand-alone mode in described IP management mode that issues and described local IP management mode, and the described arrowband IP that issues and local broadband IP do not exist when conflicting, and the route of described arrowband IP that issues and the arrowband IP correspondence that issues are configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively;
The 5th processing sub is used for when the described IP management mode that issues is shared model, the route of described arrowband IP that issues and the arrowband IP correspondence that issues is configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively.
Described the 3rd processing sub comprises:
The 3rd judging unit is used to judge whether the described arrowband IP that issues exists with local arrowband IP conflicts;
First feedback unit is used for existing when conflict at the described arrowband IP that issues and described local arrowband IP, and the information to described optical line terminal feedback configuration is failed requires described optical line terminal to issue arrowband IP information again;
Described manages submodule everywhere comprises:
The 4th judging unit is used to judge whether the described arrowband IP that issues exists with local broadband IP conflicts;
Second feedback unit is used for when the described arrowband IP that issues conflicts with described local broadband IP existence, and the information to described optical line terminal feedback configuration failure requires described optical line terminal to issue arrowband IP information again.
Described second configuration module also comprises:
Second judges submodule, is used for judging whether there is the IP that conflicts with the described arrowband IP that issues among the local IP according to the arrowband IP that issues and the VLAN of the described arrowband IP correspondence that issues;
The second deletion submodule is used for when existing with IP that the described arrowband IP that issues conflict, deletes the route of IP correspondence of described conflict and the IP of described conflict, feasible dispose finish after, do not have the IP that conflicts with the described arrowband IP that issues among the local IP.
Described optical network unit also comprises:
Judge module is used to judge whether the described arrowband IP that issues is identical with described local arrowband IP;
The route modified module, be used at the described arrowband IP that issues identical with described local arrowband IP, and the route of the described arrowband IP correspondence that the issues route corresponding with described local arrowband IP is not simultaneously, the route of described local arrowband IP correspondence is revised as the route of the described arrowband IP correspondence that issues;
Trigger module is used for triggering described second configuration module at the described arrowband IP that issues and described local arrowband IP not simultaneously.
The embodiment of the invention also provides a kind of IP management method of optical network unit, may further comprise the steps:
Optical network unit receives the managing I P information that optical line terminal issues, and described managing I P information comprises: the route and the VLAN of managing I P and described managing I P correspondence;
Described optical network unit disposes the route of described managing I P and described managing I P correspondence according to local IP management mode, after configuration is finished, does not have the IP that conflicts with described managing I P among the local IP;
Described optical network unit receives arrowband IP information and the IP management mode that described optical line terminal issues, and described arrowband IP information comprises: the route and the VLAN of arrowband IP and described arrowband IP correspondence;
Described optical network unit is according to described IP management mode that issues and described local IP management mode, dispose the route of described arrowband IP that issues and the described arrowband IP correspondence that issues, after configuration is finished, there is not the IP that conflicts with the described arrowband IP that issues among the local IP;
Described optical network unit is configured to described local IP management mode with the described IP management mode that issues.
Described optical network unit is according to local IP management mode, and the route that disposes described managing I P and described managing I P correspondence is specially:
When described optical network unit is shared model in described local IP management mode, the route of described managing I P and described managing I P correspondence is configured to the route of local arrowband IP and local arrowband IP correspondence respectively; Or
When described optical network unit is stand-alone mode in described local IP management mode, the route of described managing I P and described managing I P correspondence is configured to the route of local broadband IP and local broadband IP correspondence respectively.
When described optical network unit was shared model in described local IP management mode, the route that the route of described managing I P and described managing I P correspondence is configured to local arrowband IP and local arrowband IP correspondence respectively was specially:
Described optical network unit judges whether described managing I P is identical with local arrowband IP;
Described optical network unit is identical with described local arrowband IP at described managing I P, and the route of the described managing I P correspondence route corresponding with described local arrowband IP is not simultaneously, the route of described local arrowband IP correspondence is revised as the route of described managing I P correspondence;
Described optical network unit is not at described managing I P and local arrowband IP not simultaneously, delete the route and the described local arrowband IP of described local arrowband IP correspondence, and the route of described managing I P and described managing I P correspondence is configured to the route of local arrowband IP and local arrowband IP correspondence respectively;
When described optical network unit was stand-alone mode in described local IP management mode, the route that the route of described managing I P and described managing I P correspondence is configured to local broadband IP and local broadband IP correspondence respectively was specially:
Described optical network unit judges whether described managing I P is identical with local broadband IP;
Described optical network unit is identical with described local broadband IP at described managing I P, and the route of the described managing I P correspondence route corresponding with described local broadband IP is not simultaneously, the route of described local broadband IP correspondence is revised as the route of described managing I P correspondence;
Described optical network unit is not in described managing I P and described local broadband IP not simultaneously, delete the route and the described local broadband IP of described local broadband IP correspondence, and the route of described managing I P and described managing I P correspondence is configured to the route of local broadband IP and local broadband IP correspondence respectively.
Described optical network unit is according to local IP management mode, and the route that disposes described managing I P and described managing I P correspondence also comprises before:
Described optical network unit judges whether there is the IP that conflicts with described managing I P among the local IP according to the VLAN of described managing I P and described managing I P correspondence;
Described optical network unit is deleted the route of IP correspondence of described conflict and the IP of described conflict when existing with IP that described managing I P conflict, feasible dispose finish after, do not have the IP that conflicts with described managing I P among the local IP.
Described optical network unit is according to described IP management mode that issues and described local IP management mode, and the route that disposes described arrowband IP that issues and the described arrowband IP correspondence that issues is specially:
Described optical network unit is a stand-alone mode in the described IP management mode that issues, described local IP management mode is a shared model, and the described arrowband IP that issues and local arrowband IP do not exist when conflicting, the route of local arrowband IP and local arrowband IP correspondence is configured to the route of local broadband IP and local broadband IP correspondence respectively, the route of described arrowband IP that issues and the arrowband IP correspondence that issues is configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively; Or
Described optical network unit is stand-alone mode in described IP management mode that issues and described local IP management mode, and the described arrowband IP that issues and local broadband IP do not exist when conflicting, and the route of described arrowband IP that issues and the arrowband IP correspondence that issues are configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively; Or
When described optical network unit is shared model in the described IP management mode that issues, the route of described arrowband IP that issues and the arrowband IP correspondence that issues is configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively.
Described optical network unit is a stand-alone mode in the described IP management mode that issues, described local IP management mode is a shared model, and the described arrowband IP that issues and local arrowband IP do not exist when conflicting, the route of local arrowband IP and local arrowband IP correspondence is configured to the route of local broadband IP and local broadband IP correspondence respectively, and the route that the route of described arrowband IP that issues and the arrowband IP correspondence that issues is configured to described local arrowband IP and described local arrowband IP correspondence respectively is specially:
Described optical network unit is judged whether the described arrowband IP that issues exists with local arrowband IP and is conflicted;
Described optical network unit exists when conflict at the described arrowband IP that issues and described local arrowband IP, and the information to described optical line terminal feedback configuration is failed requires described optical line terminal to issue arrowband IP information again;
Described optical network unit does not exist when conflicting at described arrowband IP that issues and local arrowband IP, the route of local arrowband IP and local arrowband IP correspondence is configured to the route of local broadband IP and local broadband IP correspondence respectively, the route of described arrowband IP that issues and the arrowband IP correspondence that issues is configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively;
Described optical network unit is stand-alone mode in described IP management mode that issues and described local IP management mode, and the described arrowband IP that issues and local broadband IP do not exist when conflicting, and the route that the route of described arrowband IP that issues and the arrowband IP correspondence that issues is configured to described local arrowband IP and described local arrowband IP correspondence respectively is specially:
Described optical network unit is judged whether the described arrowband IP that issues exists with local broadband IP and is conflicted;
When described optical network unit conflicted with described local broadband IP existence at the described arrowband IP that issues, the information to described optical line terminal feedback configuration failure required described optical line terminal to issue arrowband IP information again;
Described optical network unit does not exist when conflicting in the described arrowband IP that issues and local broadband IP, the route of described arrowband IP that issues and the arrowband IP correspondence that issues is configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively.
Described optical network unit is according to described IP management mode that issues and described local IP management mode, and the route that disposes described arrowband IP that issues and the described arrowband IP correspondence that issues also comprises before:
Described optical network unit judges whether there is the IP that conflicts with the described arrowband IP that issues among the local IP according to the arrowband IP that issues and the VLAN of the described arrowband IP correspondence that issues;
Described optical network unit is deleted the route of IP correspondence of described conflict and the IP of described conflict when existing with IP that the described arrowband IP that issues conflict, feasible dispose finish after, do not have the IP that conflicts with the described arrowband IP that issues among the local IP.
Described optical network unit is according to described IP management mode that issues and described local IP management mode, and the route that disposes described arrowband IP that issues and the described arrowband IP correspondence that issues is specially:
Described optical network unit judges whether the described arrowband IP that issues is identical with described local arrowband IP;
Described optical network unit is identical with described local arrowband IP at the described arrowband IP that issues, and the route of the described arrowband IP correspondence that the issues route corresponding with described local arrowband IP is not simultaneously, the route of described local arrowband IP correspondence is revised as the route of the described arrowband IP correspondence that issues;
Described optical network unit according to described IP management mode that issues and described local IP management mode, disposes the route of described arrowband IP that issues and the described arrowband IP correspondence that issues at the described arrowband IP that issues and described local arrowband IP not simultaneously.
Embodiments of the invention have following beneficial effect:
Receive managing I P information, arrowband IP information and IP management mode that OLT issues, according to local IP management mode, respectively managing I P and the arrowband IP that issues is configured, and revise local IP management mode according to the IP management mode that issues, the embodiment of the invention can realize the two IP address of automatic remote management ONU equipment and the IP administrative mechanism of the local configuration of IP address coexistence of ONU, and guarantees the IP address that the preferential OLT of use issues.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.
Be illustrated in figure 2 as the structural representation of the optical network unit of the embodiment of the invention, described optical network unit comprises:
First receiver module 201 is used to receive the managing I P information that optical line terminal (OLT) issues, and described managing I P information comprises: the route of managing I P and described managing I P correspondence and VLAN (Virtual Local Area Network, VLAN); Described managing I P information is used to realize the management to optical network unit;
First configuration module 202 is used for disposing the route of described managing I P and described managing I P correspondence according to local IP management mode, after configuration is finished, does not have the IP that conflicts with described managing I P among the local IP; The IP that conflicts with described managing I P be meant with described managing I P at same VLAN or in the IP address of the same network segment.If have the IP that conflicts with described managing I P among the local IP, can't guarantee that then the managing I P that optical line terminal issues preferentially uses.
Second receiver module 203 is used to receive arrowband IP information and the IP management mode that described optical line terminal issues, and described arrowband IP information comprises: the route and the VLAN of arrowband IP and described arrowband IP correspondence; Described arrowband IP information is used to realize the narrow band service of optical network unit, described narrow band service typically refers to VOIP (Voice Over Internet Protocol, the networking telephone) business when narrow band service is the VOIP business, also can call VOIP IP to arrowband IP.
Second configuration module 204, be used for according to described IP management mode that issues and described local IP management mode, dispose the route of described arrowband IP that issues and the described arrowband IP correspondence that issues, after configuration is finished, do not have the IP that conflicts with the described arrowband IP that issues among the local IP; The IP that conflicts with described arrowband IP be meant with described arrowband IP at same VLAN or in the IP address of the same network segment.
The 3rd configuration module 205 is used for the described IP management mode that issues is configured to described local IP management mode.
In the EPON network, optical line terminal connects one or more optical network units, can be according to the MAC Address unified distribution management ip address and the IP address, arrowband of optical network unit.Optical line terminal is restarted or optical network unit newly adds fashionable at optical network unit initialization, optical network unit, issue above-mentioned management IP information, arrowband IP information and IP management mode to one or more optical network units, to realize automatic management to two IP address of optical network unit.Optical line terminal issues above-mentioned management IP information, arrowband IP information and IP management mode by OAM (Operations Administration and Maintenance, Operations, Administration and Maintenance) usually.
Collocation method to the managing I P that issues describes below.
Optical network unit is when carrying out device initialize, the local IP management mode of meeting initialization, initialized local IP management mode can be shared model, also can be stand-alone mode, in the local IP management mode of optical network unit not simultaneously, the collocation method of 202 couples of managing I P that issue of described first configuration module is also different.
Be illustrated in figure 3 as another structural representation of the optical network unit of the embodiment of the invention, in above-mentioned embodiment shown in Figure 2, described first configuration module 202 comprises:
First processing sub 2021 is used for the route of described managing I P and described managing I P correspondence being configured to the route of local arrowband IP and local arrowband IP correspondence respectively when described local IP management mode is shared model; For the arrowband IP that issues with optical line terminal distinguishes, in the embodiments of the invention, the arrowband IP that optical network unit this locality has been disposed is called local arrowband IP, in addition, in order to distinguish with the managing I P that issues, the broadband IP that optical network unit this locality has been disposed is called local broadband IP.When local IP management mode is shared model, show the shared IP address in local arrowband IP and local broadband, in order to guarantee the normal operation of narrow band service, at first need to guarantee the configuration successful of local arrowband IP, therefore, when local IP management mode is shared model, the managing I P that issues is configured to local arrowband IP, local arrowband IP after promptly configuration is finished promptly is the arrowband IP that is used to realize narrow band service, be again the managing I P that is used to realize management role, optical line terminal can manage optical network unit by this arrowband, this locality IP.
Second processing sub 2022 is used for the route of described managing I P and described managing I P correspondence being configured to the route of local broadband IP and local broadband IP correspondence respectively when described local IP management mode is stand-alone mode.When local IP management mode is stand-alone mode, each independently uses an IP address to show local arrowband IP and local broadband, at this moment, managing I P directly can be configured to local broadband IP, local broadband IP after promptly configuration is finished is managing I P, optical line terminal can manage optical network unit by this this locality broadband IP, and local arrowband IP remains unchanged.
Before above-mentioned first processing sub 2021 is configured to local arrowband IP with the managing I P that issues, can be at first the managing I P that issues and the route route corresponding with local arrowband IP and local arrowband IP of described managing I P correspondence be compared.Identical at the managing I P that issues with local arrowband IP, and the corresponding route of the route of the managing I P correspondence that issues and local arrowband IP then need not repeated configuration when also identical, can finish the layoutprocedure to the managing I P that issues; Identical at the managing I P that issues with local arrowband IP, and the route of the managing I P correspondence that the issues route corresponding with local arrowband IP is not simultaneously, then only need the route that route with local arrowband IP correspondence is revised as the managing I P correspondence that issues to get final product, need not to manage the configuration of IP; At the managing I P that issues and local arrowband IP not simultaneously, then do not manage the configuration of the route of IP and managing I P correspondence again.So, the handling process that then can effectively save optical network unit.
Therefore, as shown in Figure 3, described first processing sub 2021 comprises:
First judging unit 20211 is used to judge whether described managing I P is identical with local arrowband IP;
First processing unit 20212, be used at described managing I P identical with described local arrowband IP, and the route of the described managing I P correspondence route corresponding with described local arrowband IP is not simultaneously, the route of described local arrowband IP correspondence is revised as the route of described managing I P correspondence;
Second processing unit 20213 is used for deleting the route and the described local arrowband IP of described local arrowband IP correspondence at described managing I P and local arrowband IP not simultaneously; Generally, should at first delete the route of IP address correspondence, delete the IP address again.After the route of described second processing unit, 20213 local arrowband IP of deletion and local arrowband IP correspondence, described first processing sub 2021 is configured to the managing I P that issues local arrowband IP again, is the route of local arrowband IP correspondence with the routing configuration of the managing I P correspondence that issues.
Same, in order to save the handling process of optical network unit, before above-mentioned second processing sub 2022 is configured to local broadband IP with the managing I P that issues, can be at first the managing I P that issues and the route route corresponding with local broadband IP and local broadband IP of described managing I P correspondence be compared, identical at the managing I P that issues with local broadband IP, and when the corresponding route of the route of the managing I P correspondence that issues and local broadband IP is also identical, then need not repeated configuration, can finish layoutprocedure the managing I P that issues; Identical at the managing I P that issues with local broadband IP, and the route of the managing I P correspondence that the issues route corresponding with local broadband IP is not simultaneously, then only need the route that route with local broadband IP correspondence is revised as the managing I P correspondence that issues to get final product, need not to manage the configuration of IP; In the managing I P that issues and local broadband IP not simultaneously, then do not manage the configuration of the route of IP and managing I P correspondence again.
Therefore, as shown in Figure 3, described second processing sub 2022 comprises:
Second judging unit 20221 is used to judge whether described managing I P is identical with local broadband IP;
The 3rd processing unit 20222, be used at described managing I P identical with described local broadband IP, and the route of the described managing I P correspondence route corresponding with described local broadband IP is not simultaneously, the route of described local broadband IP correspondence is revised as the route of described managing I P correspondence;
Manages unit 20223 everywhere, is used for deleting the route and the described local broadband IP of described local broadband IP correspondence in described managing I P and described local broadband IP not simultaneously.Described the manage the route of unit 20223 local broadband IP of deletion and local broadband IP correspondence everywhere after, described second processing sub 2022 is configured to local broadband IP with the managing I P that issues again, is the route of local broadband IP correspondence with the routing configuration of the managing I P correspondence that issues.
In the foregoing description, be based on when issuing managing I P, optical network unit has been configured the situation of local arrowband IP or local broadband IP, certainly, optical network unit also might not dispose local arrowband IP or local broadband IP, at this moment when initialization at first, then there is no need to carry out above-mentioned comparison procedure, directly the managing I P that issues is configured to local arrowband IP or local broadband IP gets final product.
In addition, after guaranteeing that configuration is finished, there is not the IP that conflicts with the described managing I P that issues among the local IP, need also to judge whether the managing I P that issues exists with all IP addresses that ONU this locality has disposed conflicts, local all IP addresses that disposed comprise local arrowband IP and local broadband IP, in some cases, local arrowband IP or local broadband IP might have a plurality of IP address, for example, local arrowband IP can have two IP addresses, one is main with IP address (the IP address of using at present), and one is secondary ip address.
As shown in Figure 3, described first configuration module 202 also comprises:
First judges submodule 2023, is used for the VLAN according to described managing I P and described managing I P correspondence, judges whether there is the IP that conflicts with described managing I P among the local IP; Described first judges that submodule 2023 can judge that the managing I P that whether exists among the local IP and issue is positioned at the IP address of same VLAN by the VLAN of the managing I P that relatively issues and the VLAN of local IP; In addition, described first judges that submodule 2023 can carry out computing with the managing I P and corresponding with it the respectively subnet mask of local IP that issue, judges that according to operation result the managing I P that whether exists among the local IP and issue is positioned at the IP address of the same network segment.
The first deletion submodule 2024 is used for when existing with IP that described managing I P conflict, deletes the route of IP correspondence of described conflict and the IP of described conflict, feasible dispose finish after, do not have the IP that conflicts with described managing I P among the local IP.
For example the collocation method of the managing I P that issues is described below.
Suppose that the managing I P that issues is IP1, the route of the managing I P correspondence that issues is a route 1, and the VLAN of the managing I P correspondence that issues is VLAN 100;
When local IP management mode is shared model, suppose that local arrowband IP is IP2, the route of local arrowband IP correspondence is a route 2; Can at first compare IP1 and IP2,, then compare route 1 and route 2,, then route 2 is revised as route 1,, then finish layoutprocedure the managing I P that issues if route 1 is identical with route 2 if route 1 is different with route 2 if IP1 is identical with IP2; Suppose that IP1 and IP2 are inequality,, and judge whether there is the IP address that is positioned at VLAN 100 among the local IP,, then delete this IP address if exist then with route 2 and IP2 deletion; At last IP1 is configured to local arrowband IP, route 1 is configured to the route of local arrowband IP correspondence.After configuration was finished, the local arrowband IP of optical network unit was IP1.
When local IP management mode is stand-alone mode, suppose that local arrowband IP is IP2, the route of local arrowband IP correspondence is a route 2, and local broadband IP is IP3, and the route of local broadband IP correspondence is a route 3.Can at first compare IP1 and IP3,, then compare route 1 and route 3,, then route 3 is revised as route 1,, then finish layoutprocedure the managing I P that issues if route 1 is identical with route 3 if route 1 is different with route 3 if IP1 is identical with IP3; Suppose that IP1 and IP3 are inequality,, and judge whether there is the IP address that is positioned at VLAN 100 among the local IP,, then delete this IP address if exist then with route 3 and IP3 deletion; At last IP1 is configured to local broadband IP, route 1 is configured to the route of local broadband IP correspondence.After configuration was finished, the local broadband IP of optical network unit was IP1, and local arrowband IP is IP2.
Collocation method to the arrowband IP that issues describes below.
The local IP management mode of optical network unit can be shared model, also can be stand-alone mode, and in the local IP management mode of optical network unit not simultaneously, the collocation method of 204 couples of arrowband IP that issue of described second configuration module is also different.
Be illustrated in figure 4 as another structural representation of the optical network unit of the embodiment of the invention, described optical network unit comprises first receiver module 201, first configuration module 202, second receiver module 203, second configuration module 204 and the 3rd configuration module 205, wherein, described second configuration module 204 comprises:
The 3rd processing sub 2041, being used in the described IP management mode that issues is stand-alone mode, described local IP management mode is a shared model, and the described arrowband IP that issues and local arrowband IP do not exist when conflicting, the route of local arrowband IP and local arrowband IP correspondence is configured to the route of local broadband IP and local broadband IP correspondence respectively, the route of described arrowband IP that issues and the arrowband IP correspondence that issues is configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively;
In the IP management mode that issues is stand-alone mode, and when local IP management mode is shared model, then shows and local IP management mode need be revised as stand-alone mode by shared model, because local IP management mode is a shared model, only use local arrowband IP, if be revised as stand-alone mode, also need to use local broadband IP, therefore, then can at first local arrowband IP be configured to local broadband IP, and, then, again the arrowband IP that issues is configured to local arrowband IP with local arrowband IP deletion.
Manages submodule 2042 everywhere, be used for being stand-alone mode in described IP management mode that issues and described local IP management mode, and the described arrowband IP that issues and local broadband IP do not exist when conflicting, and the route of described arrowband IP that issues and the arrowband IP correspondence that issues are configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively;
When the IP management mode that issues and local IP management mode are stand-alone mode, can then, again the arrowband IP that issues be configured to local arrowband IP directly with local arrowband IP deletion, keep local broadband IP, at this moment, needn't revise local IP management mode.
The 5th processing sub 2043 is used for when the described IP management mode that issues is shared model, the route of described arrowband IP that issues and the arrowband IP correspondence that issues is configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively.
When the IP management mode that issues is shared model, no matter local IP management mode is shared model or stand-alone mode, only need guarantee that arrowband IP that optical line terminal issues can normally issue configuration and get final product, therefore, only need the local arrowband IP of deletion, and the arrowband IP that issues is configured to local arrowband IP.
Above-mentioned the 3rd processing sub 2041 is when the arrowband of configuration distributing IP, owing to local arrowband IP need be configured to local broadband IP, therefore the arrowband IP that issues can not conflict with local arrowband IP existence, otherwise will configuration failure.If the arrowband IP that issues exists with local arrowband IP and conflicts, optical network unit can discard this arrowband IP that issues, and to the information that the optical line terminal feedback configuration is failed, requires described optical line terminal to issue arrowband IP information again.
As shown in Figure 4, described the 3rd processing sub 2041 comprises:
The 3rd judging unit 20411 is used to judge whether the described arrowband IP that issues exists with local arrowband IP conflicts; Conflict with the described arrowband IP that issues and to be meant and to be positioned at same VLAN with the described arrowband IP that issues or at the same network segment.
First feedback unit 20422 is used for existing when conflict at the described arrowband IP that issues and described local arrowband IP, and the information to described optical line terminal feedback configuration is failed requires described optical line terminal to issue arrowband IP information again;
Described the 3rd processing sub 2041 does not exist when conflicting at described arrowband IP that issues and described local arrowband IP, the configuration of the arrowband IP that issues again.
Same, above-mentioned the manages submodule 2042 everywhere when the arrowband of configuration distributing IP, and the arrowband IP that issues can not exist with local broadband IP and conflict, otherwise will configuration failure.As shown in Figure 4, described manage submodule 2042 everywhere and comprise:
The 4th judging unit 20421 is used to judge whether the described arrowband IP that issues exists with local broadband IP conflicts;
Second feedback unit 20422 is used for when the described arrowband IP that issues conflicts with described local broadband IP existence, and the information to described optical line terminal feedback configuration failure requires described optical line terminal to issue arrowband IP information again.
Described manages submodule 2042 does not everywhere exist when conflicting the configuration of the arrowband IP that issues again in the described arrowband IP that issues and described local broadband IP.
Optical line terminal can be described optical network unit sub-distribution one arrowband IP again, and issue again when the information of the configuration failure that receives optical network unit feedback.
In addition, for the preferential use of the arrowband IP that guarantees to issue, need also to judge whether the arrowband IP that issues exists with all IP addresses that ONU this locality has disposed conflicts.As shown in Figure 4, described second configuration module 204 also comprises:
Second judges submodule 2043, is used for judging whether there is the IP that conflicts with the described arrowband IP that issues among the local IP according to the arrowband IP that issues and the VLAN of the described arrowband IP correspondence that issues;
The second deletion submodule 2044 is used for when existing with IP that the described arrowband IP that issues conflict, deletes the route of IP correspondence of described conflict and the IP of described conflict, feasible dispose finish after, do not have the IP that conflicts with the described arrowband IP that issues among the local IP.
In order to save the handling process of optical network unit, before the arrowband IP of above-mentioned second configuration module, 204 configuration distributings, can at first that the route of arrowband IP that issues and the arrowband IP correspondence that issues is corresponding with local arrowband IP and local arrowband IP route compare.Identical at the arrowband IP that issues with local arrowband IP, and the corresponding route of the route of the arrowband IP correspondence that issues and local arrowband IP then need not repeated configuration when also identical, can finish the layoutprocedure to the arrowband IP that issues; Identical at the arrowband IP that issues with local arrowband IP, and the route of the arrowband IP correspondence that the issues route corresponding with local arrowband IP is not simultaneously, then only need the route that route with local arrowband IP correspondence is revised as the arrowband IP correspondence that issues to get final product the configuration of the arrowband IP that need not to issue again; At the arrowband IP that issues and local arrowband IP not simultaneously, the configuration of the route of arrowband IP that then issues again and the arrowband IP correspondence that issues.
Be illustrated in figure 5 as a structural representation again of the optical network unit of the embodiment of the invention, described optical network unit also comprises except comprising first receiver module 201, first configuration module 202, second receiver module 203, second configuration module 204 and the 3rd configuration module 205:
Judge module 206 is used to judge whether the described arrowband IP that issues is identical with described local arrowband IP;
Route modified module 207, be used at the described arrowband IP that issues identical with described local arrowband IP, and the route of the described arrowband IP correspondence that the issues route corresponding with described local arrowband IP is not simultaneously, the route of described local arrowband IP correspondence is revised as the route of the described arrowband IP correspondence that issues;
Trigger module 208 is used for triggering described second configuration module 204 at the described arrowband IP that issues and described local arrowband IP not simultaneously.
In the judged result of described judge module 206 is that the arrowband IP that issues is identical with local arrowband IP, and the corresponding route of the route of the arrowband IP correspondence that issues and described local arrowband IP then can finish the layoutprocedure to the arrowband IP that issues when also identical.
By the optical network unit that the foregoing description provides, can realize the two IP address of automatic remote management ONU equipment and the IP administrative mechanism of the local configuration of IP address coexistence of ONU, and guarantee the IP address that the preferential OLT of use issues.
Be illustrated in figure 6 as the schematic flow sheet of IP management method of the optical network unit of the embodiment of the invention, the IP management method of described optical network unit may further comprise the steps:
Step 601, optical network unit receives the managing I P information that optical line terminal issues, and described managing I P information comprises: the route and the VLAN of managing I P and described managing I P correspondence;
Step 602, described optical network unit dispose the route of described managing I P and described managing I P correspondence according to local IP management mode, after configuration is finished, do not have the IP that conflicts with described managing I P among the local IP;
Step 603, described optical network unit receive arrowband IP information and the IP management mode that described optical line terminal issues, and described arrowband IP information comprises: the route and the VLAN of arrowband IP and described arrowband IP correspondence;
Step 604, described optical network unit is according to described IP management mode that issues and described local IP management mode, dispose the route of described arrowband IP that issues and the described arrowband IP correspondence that issues, after configuration is finished, do not have the IP that conflicts with the described arrowband IP that issues among the local IP;
Step 605, described optical network unit is configured to described local IP management mode with the described IP management mode that issues.
The local IP management mode of optical network unit can be shared model, also can be stand-alone mode, and is in the local IP management mode of optical network unit not simultaneously, also different to the method that the managing I P that issues is configured.According to the difference of local IP management mode, described step 602 can be specially:
When described optical network unit is shared model in described local IP management mode, the route of described managing I P and described managing I P correspondence is configured to the route of local arrowband IP and local arrowband IP correspondence respectively; Or
When described optical network unit is stand-alone mode in described local IP management mode, the route of described managing I P and described managing I P correspondence is configured to the route of local broadband IP and local broadband IP correspondence respectively.
Collocation method (being above-mentioned steps 602) to the managing I P that issues describes below.
Be illustrated in figure 7 as the method flow schematic diagram that the managing I P to issuing of the embodiment of the invention is configured, the described method that the managing I P that issues is configured may further comprise the steps:
Step 701, optical network unit receives the managing I P information that optical line terminal issues, and described managing I P information comprises: the route and the VLAN of managing I P and described managing I P correspondence;
Step 702, described optical network unit judge whether there is the IP that conflicts with described managing I P among the local IP according to the VLAN of described managing I P and described managing I P correspondence, if, execution in step 703; Otherwise, execution in step 704;
Step 703, described optical network unit are deleted the route of IP correspondence of described conflict and the IP of described conflict, make that configuration is finished after, do not have the IP that conflicts with described managing I P among the local IP;
Above-mentioned steps 702 and step 703 are the preferential uses for the managing I P that guarantees to issue, whether the managing I P that the needs judgement issues exists with all IP addresses that ONU this locality has disposed is conflicted, if there is conflict, then need to delete the IP of conflict, again the managing I P that issues is configured.
Step 704, described optical network unit be according to local IP management mode, the route of the managing I P of configuration distributing and described managing I P correspondence.Concrete, when described local IP management mode is shared model, the route of described managing I P and described managing I P correspondence is configured to the route of local arrowband IP and local arrowband IP correspondence respectively; When described local IP management mode is stand-alone mode, the route of described managing I P and described managing I P correspondence is configured to the route of local broadband IP and local broadband IP correspondence respectively.
In the step 704 (or step 602) of the foregoing description, if the local management pattern is a shared model, before the managing I P that will issue is configured to local arrowband IP, can be at first the managing I P that issues and the route route corresponding with local arrowband IP and local arrowband IP of described managing I P correspondence be compared.Identical at the managing I P that issues with local arrowband IP, and the corresponding route of the route of the managing I P correspondence that issues and local arrowband IP then need not repeated configuration when also identical, can finish the layoutprocedure to the managing I P that issues; Identical at the managing I P that issues with local arrowband IP, and the route of the managing I P correspondence that the issues route corresponding with local arrowband IP is not simultaneously, then only need the route that route with local arrowband IP correspondence is revised as the managing I P correspondence that issues to get final product, need not to carry out configuration the managing I P that issues; At the managing I P that issues and local arrowband IP not simultaneously, then again the route of the managing I P correspondence that issues managing I P and issue is not configured.So, the handling process that can effectively save optical network unit.
Be illustrated in figure 8 as another schematic flow sheet of the method that the managing I P to issuing of the embodiment of the invention is configured, the described method that the managing I P that issues is configured may further comprise the steps:
Step 801, optical network unit receives the managing I P information that optical line terminal issues, and described managing I P information comprises: the route and the VLAN of managing I P and described managing I P correspondence;
Step 802, described optical network unit judge whether described managing I P is identical with local arrowband IP, if, execution in step 803, otherwise, execution in step 805;
Whether the route that the route that step 803, described optical network unit are judged described managing I P correspondence and described local arrowband IP are corresponding is identical, if then finish the configuration to the managing I P that issues; Otherwise, execution in step 804;
Step 804, described optical network unit are revised as the route of described local arrowband IP correspondence the route of described managing I P correspondence;
Above-mentioned steps 802 to step 804 is in order to save the handling process of optical network unit, also can not carry out.
Step 805, described optical network unit are deleted the route and the local arrowband IP of described local arrowband IP correspondence;
Step 806, described optical network unit judge whether there is the IP that conflicts with described managing I P among the local IP according to the VLAN of described managing I P and described managing I P correspondence, if, execution in step 807; Otherwise, execution in step 808;
Step 807, described optical network unit are deleted the route of IP correspondence of described conflict and the IP of described conflict, make that configuration is finished after, do not have the IP that conflicts with described managing I P among the local IP;
Step 808, described optical network unit are configured to the route of described managing I P and described managing I P correspondence respectively the route of local arrowband IP and local arrowband IP correspondence.
Same, in order to save the handling process of optical network unit, in the step 704 of the foregoing description (or step 602), if local IP management mode is a stand-alone mode, before the managing I P that will issue is configured to local broadband IP, can be at first the managing I P that issues and the route route corresponding with local broadband IP and local broadband IP of described managing I P correspondence be compared.Identical at the managing I P that issues with local broadband IP, and the corresponding route of the route of the managing I P correspondence that issues and local broadband IP then need not repeated configuration when also identical, can finish the layoutprocedure to the managing I P that issues; Identical at the managing I P that issues with local broadband IP, and the route of the managing I P correspondence that the issues route corresponding with local broadband IP is not simultaneously, then only need the route that route with local broadband IP correspondence is revised as the managing I P correspondence that issues to get final product, need not the managing I P that issues is configured; In the managing I P that issues and local broadband IP not simultaneously, then again the route of managing I P that issues and the managing I P correspondence that issues is not configured.
Be illustrated in figure 9 as the another schematic flow sheet of the method that the managing I P to issuing of the embodiment of the invention is configured, the described method that the managing I P that issues is configured may further comprise the steps:
Step 901, optical network unit receives the managing I P information that optical line terminal issues, and described managing I P information comprises: the route and the VLAN of managing I P and described managing I P correspondence;
Step 902, described optical network unit judge whether described managing I P is identical with local broadband IP, if, execution in step 903, otherwise, execution in step 905;
Whether the corresponding route of the route that step 903, described optical network unit are judged described managing I P correspondence and described local broadband IP is identical, if then finish the configuration to the managing I P that issues; Otherwise, execution in step 904;
Step 904, described optical network unit are revised as the route of described local broadband IP correspondence the route of described managing I P correspondence;
Above-mentioned steps 902 to step 904 is in order to save the handling process of optical network unit, also can not carry out.
Step 905, described optical network unit are deleted the route and the local broadband IP of local broadband IP correspondence;
Step 906, described optical network unit judge whether there is the IP that conflicts with described managing I P among the local IP according to the VLAN of described managing I P and described managing I P correspondence, if, execution in step 907; Otherwise, execution in step 908;
Step 907, described optical network unit are deleted the route of IP correspondence of described conflict and the IP of described conflict, make that configuration is finished after, do not have the IP that conflicts with described managing I P among the local IP;
Step 908, described optical network unit are configured to the route of described managing I P and described managing I P correspondence respectively the route of local broadband IP and local broadband IP correspondence.
Collocation method (being above-mentioned steps 604 and step 605) to arrowband IP that issues and the IP management mode that issues describes below.
The local IP management mode of optical network unit can be shared model, also can be stand-alone mode, and is in the local IP management mode of optical network unit not simultaneously, also different to the method that the arrowband IP that issues is configured.According to IP management mode that issues and local IP management mode, can be divided into three kinds of situations: the one: the IP management mode that issues is a stand-alone mode, and local IP management mode is a shared model; The 2nd: IP management mode that issues and local IP management mode are stand-alone mode; The 3rd: the IP management mode that issues is a shared model.According to the difference of above-mentioned three kinds of situations, above-mentioned steps 604 can be specially:
Described optical network unit is a stand-alone mode in the described IP management mode that issues, described local IP management mode is a shared model, and the described arrowband IP that issues and local arrowband IP do not exist when conflicting, the route of local arrowband IP and local arrowband IP correspondence is configured to the route of local broadband IP and local broadband IP correspondence respectively, the route of described arrowband IP that issues and the arrowband IP correspondence that issues is configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively; Or
Described optical network unit is stand-alone mode in described IP management mode that issues and described local IP management mode, and the described arrowband IP that issues and local broadband IP do not exist when conflicting, and the route of described arrowband IP that issues and the arrowband IP correspondence that issues are configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively; Or
When described optical network unit is shared model in the described IP management mode that issues, the route of described arrowband IP that issues and the arrowband IP correspondence that issues is configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively.
Following mask body is under above-mentioned three kinds of situations, and the collocation method of arrowband IP that issues and the IP management mode that issues is elaborated.
The method flow schematic diagram that is configured for the arrowband IP to issuing of the embodiment of the invention as shown in figure 10, in the present embodiment, suppose that the IP management mode that issues is a stand-alone mode, local IP management mode is a shared model, and the described method that the arrowband IP that issues is configured may further comprise the steps:
Step 1001, optical network unit receives arrowband IP information and the IP management mode that optical line terminal issues, and described arrowband IP information comprises: the route and the VLAN of arrowband IP and described arrowband IP correspondence;
Step 1002, described optical network unit judge whether the described arrowband IP that issues is identical with described local arrowband IP, if, execution in step 1003, otherwise, execution in step 1005;
Whether the route that the route that step 1003, described optical network unit are judged the described arrowband IP correspondence that issues and described local arrowband IP are corresponding is identical, if, then finish configuration to the arrowband IP that issues, otherwise, execution in step 1004;
Step 1004, described optical network unit are revised as the route of described local arrowband IP correspondence the route of the described arrowband IP correspondence that issues;
Above-mentioned steps 1002 to step 1004 is in order to save the handling process of optical network unit, also can not carry out.
Step 1005, described optical network unit judge whether the described arrowband IP that issues exists with local arrowband IP and conflict, exist when conflicting at the described arrowband IP that issues and described local arrowband IP, and execution in step 1006, otherwise, execution in step 1007;
Step 1006, described optical network unit requires described optical line terminal to issue arrowband IP information again to the information of described optical line terminal feedback configuration failure;
Step 1007, described optical network unit is configured to the route of local broadband IP and local broadband IP correspondence respectively with the route of local arrowband IP and local arrowband IP correspondence, and deletes the route and the described local arrowband IP of described local arrowband IP correspondence;
Step 1008, described optical network unit judges whether there is the IP that conflicts with the described arrowband IP that issues among the local IP according to the arrowband IP that issues and the VLAN of the described arrowband IP correspondence that issues, if, execution in step 1009, otherwise, execution in step 1010;
Step 1009, described optical network unit are deleted the route of IP correspondence of described conflict and the IP of described conflict, make that configuration is finished after, do not have the IP that conflicts with the described arrowband IP that issues among the local IP.
Above-mentioned steps 1008 and step 1009 are the preferential uses for the arrowband IP that guarantees to issue, before the arrowband of configuration distributing IP, whether the arrowband IP that judgement issues exists with all IP addresses that ONU this locality has disposed is conflicted, if there is the IP that conflicts with the described arrowband IP that issues among the local IP, need at first delete the IP that conflicts with the arrowband IP that issues, again the arrowband IP of configuration distributing.
Step 1010, described optical network unit are configured to the route of described arrowband IP that issues and the arrowband IP correspondence that issues respectively the route of described local arrowband IP and described local arrowband IP correspondence;
Step 1011, described optical network unit is revised as stand-alone mode with local IP management mode.
Another schematic flow sheet of method that is configured for the arrowband IP to issuing of the embodiment of the invention as shown in figure 11, in the present embodiment, suppose that the IP management mode and the local IP management mode that issue are stand-alone mode, the described method that the arrowband IP that issues is configured may further comprise the steps:
Step 1101, optical network unit receives arrowband IP information and the IP management mode that optical line terminal issues, and described arrowband IP information comprises: the route and the VLAN of arrowband IP and described arrowband IP correspondence;
Step 1102, described optical network unit judge whether the described arrowband IP that issues is identical with described local arrowband IP, if, execution in step 1103, otherwise, execution in step 1105;
Whether the route that the route that step 1103, described optical network unit are judged the described arrowband IP correspondence that issues and described local arrowband IP are corresponding is identical, if, then finish configuration to the arrowband IP that issues, otherwise, execution in step 1104;
Step 1104, described optical network unit are revised as the route of described local arrowband IP correspondence the route of the described arrowband IP correspondence that issues;
Step 1105, described optical network unit judge whether the described arrowband IP that issues exists with local broadband IP and conflict, if, execution in step 1106, otherwise, execution in step 1107;
Step 1106, described optical network unit requires described optical line terminal to issue arrowband IP information again to the information of described optical line terminal feedback configuration failure;
Step 1107, described optical network unit are deleted the route and the local arrowband IP of local arrowband IP correspondence;
Step 1108, described optical network unit judges whether there is the IP that conflicts with the described arrowband IP that issues among the local IP according to the arrowband IP that issues and the VLAN of the described arrowband IP correspondence that issues, if, execution in step 1109, otherwise, execution in step 1110;
Step 1109, described optical network unit are deleted the route of IP correspondence of described conflict and the IP of described conflict, make that configuration is finished after, do not have the IP that conflicts with the described arrowband IP that issues among the local IP;
Step 1110, described optical network unit are configured to the route of described arrowband IP that issues and the arrowband IP correspondence that issues respectively the route of described local arrowband IP and described local arrowband IP correspondence;
Step 1111, described optical network unit are not made amendment to local IP management mode, and keeping local mode is stand-alone mode.
The another schematic flow sheet of method that is configured for the arrowband IP to issuing of the embodiment of the invention in the present embodiment, supposes that the IP management mode that issues is a shared model as shown in figure 12, and the described method that the arrowband IP that issues is configured may further comprise the steps:
Step 1201, optical network unit receives arrowband IP information and the IP management mode that optical line terminal issues, and described arrowband IP information comprises: the route and the VLAN of arrowband IP and described arrowband IP correspondence;
Step 1202, described optical network unit judge whether the described arrowband IP that issues is identical with described local arrowband IP, if, execution in step 1203, otherwise, execution in step 1205;
Whether the route that the route that step 1203, described optical network unit are judged the described arrowband IP correspondence that issues and described local arrowband IP are corresponding is identical, if, then finish configuration to the arrowband IP that issues, otherwise, execution in step 1204;
Step 1204, described optical network unit are revised as the route of described local arrowband IP correspondence the route of the described arrowband IP correspondence that issues;
Step 1205, described optical network unit are deleted the route and the local arrowband IP of local arrowband IP correspondence;
Step 1206, described optical network unit judges whether there is the IP that conflicts with the described arrowband IP that issues among the local IP according to the arrowband IP that issues and the VLAN of the described arrowband IP correspondence that issues, if, execution in step 1107, otherwise, execution in step 1208;
Step 1207, described optical network unit are deleted the route of IP correspondence of described conflict and the IP of described conflict, make that configuration is finished after, do not have the IP that conflicts with the described arrowband IP that issues among the local IP;
Step 1208, described optical network unit are configured to the route of described arrowband IP that issues and the arrowband IP correspondence that issues respectively the route of described local arrowband IP and described local arrowband IP correspondence;
When step 1209, described optical network unit are stand-alone mode in local IP management mode, local IP management mode is revised as shared model, when local IP management mode is shared model, does not revise local IP management mode.
The IP management method of the optical network unit that provides by the foregoing description can realize the two IP address of automatic remote management ONU equipment and the IP administrative mechanism of the local configuration of IP address coexistence of ONU, and guarantee the IP address that preferential use OLT issues.
The embodiment of the invention also provides a kind of IP management system of optical network unit, and the IP management system of described optical network unit comprises: optical line terminal and at least one optical network unit that is connected with described optical line terminal; Described optical line terminal can be according to the MAC Address unified distribution management ip address and the IP address, arrowband of optical network unit, restart or optical network unit newly adds fashionable at optical network unit initialization, optical network unit, issue above-mentioned management IP information, arrowband IP information and IP management mode to one or more optical network units, to realize that optical line terminal issues above-mentioned management IP information, arrowband IP information and IP management mode by OAM usually to the automatic management of two IP address of optical network unit.
Described optical line terminal comprises:
First issues module, is used for issuing managing I P information to Optical Network Terminal, and described managing I P information comprises: the route and the VLAN of managing I P and described managing I P correspondence; Described managing I P information is used to realize the management to optical network unit;
Second issues module, is used for issuing arrowband IP information and IP management mode to optical network unit, and described arrowband IP information comprises: the route and the VLAN of arrowband IP and described arrowband IP correspondence; Described arrowband IP information is used to realize the narrow band service of optical network unit, and described narrow band service typically refers to the VOIP business, therefore, in some cases, also can call VOIP IP to arrowband IP.
Described optical network unit comprises:
First receiver module is used to receive the managing I P information that optical line terminal issues;
First configuration module is used for disposing the route of described managing I P and described managing I P correspondence according to local IP management mode, after configuration is finished, does not have the IP that conflicts with described managing I P among the local IP;
Second receiver module is used to receive arrowband IP information and the IP management mode that described optical line terminal issues.
Second configuration module, be used for according to described IP management mode that issues and described local IP management mode, dispose the route of described arrowband IP that issues and the described arrowband IP correspondence that issues, after configuration is finished, do not have the IP that conflicts with the described arrowband IP that issues among the local IP;
The 3rd configuration module is used for the described IP management mode that issues is configured to described local IP management mode.
The local IP management mode of described optical network unit can be shared model, also can be stand-alone mode, and is in the local IP management mode of optical network unit not simultaneously, also different to the method that the managing I P that issues and the arrowband IP that issues are configured.
Concrete, described first configuration module can comprise:
First processing sub is used for the route of described managing I P and described managing I P correspondence being configured to the route of local arrowband IP and local arrowband IP correspondence respectively when described local IP management mode is shared model;
Second processing sub is used for the route of described managing I P and described managing I P correspondence being configured to the route of local broadband IP and local broadband IP correspondence respectively when described local IP management mode is stand-alone mode.
Described second configuration module can comprise:
The 3rd processing sub, being used in the described IP management mode that issues is stand-alone mode, described local IP management mode is a shared model, and the described arrowband IP that issues and local arrowband IP do not exist when conflicting, the route of local arrowband IP and local arrowband IP correspondence is configured to the route of local broadband IP and local broadband IP correspondence respectively, the route of described arrowband IP that issues and the arrowband IP correspondence that issues is configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively;
Manages submodule everywhere, be used for being stand-alone mode in described IP management mode that issues and described local IP management mode, and the described arrowband IP that issues and local broadband IP do not exist when conflicting, and the route of described arrowband IP that issues and the arrowband IP correspondence that issues are configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively;
The 5th processing sub is used for when the described IP management mode that issues is shared model, the route of described arrowband IP that issues and the arrowband IP correspondence that issues is configured to the route of described local arrowband IP and described local arrowband IP correspondence respectively.
The structure of the optical network unit in the structure of the optical network unit in the present embodiment and the foregoing description is identical, is not described in detail once more.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.