The content of the invention
The technical problem to be solved is:For the problem that prior art is present, there is provided a kind of OLT batches are issued
The detection method and device of ONU configurations.By issuing the order specified automatically, after each OLT is restarted, test OLT is to all
Whether the configuration that ONU is issued is successful, helps test.EPON network environments that can be efficiently for accessing a large amount of ONU are pressed
Power is tested, and finds to cause the obstructed problem of business due to issuing configuration loss early, saves manpower.
The technical solution used in the present invention is as follows:
The detection method that a kind of OLT batches issue ONU configurations includes:
Step 1:The ONU quantity under slot number, PON mouths and each PON mouth used in collection EPON system;Addition OLT
Logic card;
Step 2:VLAN establishments, PON mouth VLAN, three layers of INTERFACE VLAN and IP configuration are carried out to OLT;By under OLT
Send out management IP, management VLAN, loop detection, the vlan patterns of each uni port and the vlan configuration parameters of each ONU;
Step 3:Test command is issued to OLT by detection terminal, OLT carries out broadcast data and issues to ONU, corresponding ONU is returned
Data are sent out to OLT;Whether test configurations process is normal, when ONU configuration process is normal, terminates configuration;Otherwise check serial ports OLT
Whether serial ports input is normal.
Further, the detection method that a kind of OLT batches issue ONU configurations also includes performing test to ONU;Detailed process
Including:
Step 4:Detection terminal determines whether the time-out information of certain ONU by checking the log information of OLT, if there is time-out
During information, then whether online corresponding ONU interfaces are searched, execution step 5;Otherwise test passes through;
Step 5:When the ONU is online, then assert it is that OLT configuration distributings data have exception, there is packet loss phenomenon, continue to check
OLT log information time-out informations orient concrete ONU;Otherwise, the ONU is not online, continues to check OLT log information time-out informations
Orient concrete ONU.
Further, continue to check that OLT log information time-out informations orient concrete ONU detailed processes in the step 5
It is:
Step 51:The ONU IP address of ping failures is oriented by time-out information;
Step 52:Keyword " time-out information " in by searching for log information, if not searching, illustrates OLT configuration distributings
To the normal of ONU;If searching " time-out information ", with the log information of time-out information that searches as starting point, search for forward
Log information, whether OUN is online for inquiry;If ONU is online, illustrate the configuration failure that OLT is issued to ONU, need to OLT to
The configuration failure reason that ONU is issued is analyzed;If onu is not online, illustrates that OLT is issued to ONU and do not occur exception;
Step 53:Repeat step 52, till log information search is less than time-out information.
The detection means that a kind of OLT batches issue ONU configurations includes:
Information acquisition module, for adding the logic card of OLT;Collect slot number used in EPON system, PON mouths simultaneously with
And the ONU quantity under each PON mouth;And send its information to detection terminal;
OLT configuration modules, for carrying out VLAN establishments, PON mouth VLAN, three layers of INTERFACE VLAN and IP configuration to OLT;
Management IP, management VLAN, loop detection, the vlan patterns of each uni port and the vlan for issuing each ONU by OLT matches somebody with somebody
Put parameter;
Detection terminal, for issuing test command to OLT by detection terminal, OLT carries out broadcast data and issues to ONU, phase
ONU is answered to postback data to OLT;Whether test configurations process is normal, when ONU configuration process is normal, terminates configuration;Otherwise check
Whether the input of serial ports OLT serial ports is normal.
Further, the detection means that a kind of OLT batches issue ONU configurations also performs test including detection terminal to ONU;
Detailed process includes:
Detection terminal determines whether the time-out information of certain ONU by checking the log information of OLT, if there is time-out information
When, then whether online to search corresponding ONU interfaces, execution step 5;Otherwise test passes through;
When the ONU is online, then assert it is that OLT configuration distributings data have exception, there is packet loss phenomenon, continue to check OLT days
Will information time-out information orients concrete ONU;Otherwise, the ONU is not online, continues to check that OLT log informations time-out information is positioned
Go out concrete ONU.
Further, the detection terminal continues to check that OLT log information time-out informations orient concrete ONU detailed processes
It is:
The ONU IP address of ping failures is oriented by time-out information;Step 51:Ping failures are oriented by time-out information
ONU IP address;
Keyword " time-out information " in by searching for log information, if not searching, illustrates OLT configuration distributings to ONU's
Normally;If searching " time-out information ", the log information of the time-out information to search searches for daily record letter as starting point, forward
Breath, whether OUN is online for inquiry;If ONU is online, the configuration failure that OLT is issued to ONU is illustrated, need to issue OLT to ONU
Configuration failure reason be analyzed;If onu is not online, illustrates that OLT is issued to ONU and do not occur exception;The above-mentioned step of repetition
Suddenly, i.e., the keyword " time-out information " from search log information, check OLT configuration distributings to ONU it is normal whether normally, directly
To log information search is less than time-out information.
In sum, as a result of above-mentioned technical proposal, the invention has the beneficial effects as follows:
The configuration issued to ONU from OLT is issued by OAM message, meets CTC specifications, so having general
Property, it is adapted to any ONU for meeting CTC codes and standards of docking.
EPON network environments that can be efficiently for accessing a large amount of ONU carry out pressure test, find early due to issuing
Configuration loss and cause the obstructed problem of business, save manpower.
Specific embodiment
All features disclosed in this specification, or disclosed all methods or during the step of, except mutually exclusive
Feature and/or step beyond, can combine by any way.
Any feature disclosed in this specification, unless specifically stated otherwise, can be equivalent or with similar purpose by other
Alternative features are replaced.I.e., unless specifically stated otherwise, each feature is an example in a series of equivalent or similar characteristics
.
OLT is used to connect the terminal device of fiber optic backbone, and function is:
1)Ethernet data is sent with broadcast mode to ONU;
2)Position ONU distribution bandwidths, that is, control ONU and send the time in fact of data and send window size.
ONU function introductions:
Selection receives the broadcast data of OLT transmissions;
The Ethernet data of user is cached, and is sent to up direction in the transmission window of OLT distribution.
Range finding and power control command that ONU equipment response OLT sends, and make corresponding adjustment.
1st, configuration includes three steps:Add the configuration under logic card, OLT configurations and the ONU interface of OLT.Addition logic
The purpose of card is to ensure that follow-up configuration can be issued normally, and script by default adds the logic card of 6 groove positions, can be according to reality
Situation is modified.OLT configurations include three parts:VLAN create, PON mouths VLAN configuration, three layers of INTERFACE VLAN with
And IP configurations.The configuration of ONU includes the configuration of the configuration of uni port, loop detection configuration, management VLAN and management IP.Pass through
The correct configuration of three above step, it is ensured that the proper communication between OLT and ONU.Can pass through between OLT and ONU
Whether the configuration of ping operation acknowledgements issues successfully.
Whether the 2nd, detection configuration issues successful script, performs flow process to restart every time after OLT, inquires about each PON mouth
ONU quantity, respectively from the IP address of each ONU interface of OLT ends ping.Every time ping has the stand-by period of 11 seconds.T is of the invention
It is not limited to aforesaid specific embodiment.
The process of implementing is:Firstly the need of the slot number, PON mouths and each PON collected used in EPON system
The quantity of ONU under mouthful, and it is filled up to the specified location in script.During execution, the serial ports that OLT is connected to by console is needed,
Such as SecureCRT softwares, and set log records.Test script is loaded using script function, after having finished execution, is needed logical
Cross log daily records to be analyzed.
After completing to perform, log journal files are opened." Receive time out. " is searched in daily record, if there is the printing
Information, then have 2 kinds of possibility:1. configuration distributing failure, there is packet loss.2. the ONU does not reach the standard grade after OLT is restarted.So also needing to
Check that this time is restarted after OLT, whether ONU normally reaches the standard grade.Ping mistakes can be oriented by searching for " Receive time out. "
The ONU IP address for losing.IP address format is " a.b.c.d ", and it is slot number that the value of a is fixed as the value of 1, b, and c is PON slogans, d
For No. LLID, such as the interface ping of IP address 1.1.1.10 fails, then illustrate ONU 1/1:10 there may be problem, search for upwards
" show onu interface olt 1/1 ", checks whether the ONU that LLID is 10 is online.If online, illustrate that configuration distributing loses
Lose;If not online, explanation is that ONU is offline to be caused, and being not due to configuration distributing unsuccessfully causes.Repeat the above steps, continue to inquire about
.
The present invention expands to any new feature for disclosing in this manual or any new combination, and disclose it is arbitrary
The step of new method or process or any new combination.