Interface Diagnostics
BERT allows you to troubleshoot problems by checking the quality of links. You can configure any of the following interfaces to execute a BERT when the interface receives a request to run this test: E1, E3, T1, T3; the channelized DS3, OC3, OC12, and STM1 interfaces; and the channelized DS3 IQ, E1 IQ, and OC12 IQ interfaces.
A BERT test requires a line loop to be in place on either the transmission devices or the far-end router. The local router generates a known bit pattern and sends it out the transmit path. The received pattern is then verified against the sent pattern. The higher the bit error rate of the received pattern, the worse the noise is on the physical circuit. As you move the position of the line loop increasingly downstream toward the far-end router, you can isolate the troubled portion of the link.
To configure BERT, you must configure the duration of the test, the bit pattern to send on the transmit path, and the error rate to monitor when receiving the inbound pattern.
To configure the duration of the test, the pattern to send in the bit stream, and the error rate to include in the bit stream, include the
bert-period,bert-algorithm, andbert-error-ratestatements, respectively, at the[edit interfacesinterface-nameinterface-options]hierarchy level:[edit interfacesinterface-nameinterface-options]bert-algorithmalgorithm;bert-error-raterate;bert-periodseconds;By default, the BERT period is 10 seconds. You can configure the BERT period to last from 1 through 239 seconds on some PICs and from 1 through 240 seconds on other PICs.
rateis the bit error rate. This can be an integer from 0 through 7, which corresponds to a bit error rate from 10-0 (1 error per bit) to 10-7 (1 error per 10 million bits).
algorithmis the pattern to send in the bit stream. For a list of supported algorithms, enter a?after thebert-algorithmstatement; for example:[edit interfaces t1-0/0/0 t1-options]user@host#set bert-algorithm ?Possible completions:pseudo-2e11-o152 Pattern is 2^11 -1 (per O.152 standard)pseudo-2e15-o151 Pattern is 2^15 - 1 (per O.152 standard)pseudo-2e20-o151 Pattern is 2^20 - 1 (per O.151 standard)pseudo-2e20-o153 Pattern is 2^20 - 1 (per O.153 standard)...For specific hierarchy information, see the individual interface types.
Table 17 shows the BERT capabilities for various interface types.
These limitations do not apply to channelized IQ interfaces. For information about BERT capabilities on channelized IQ interfaces, see Channelized IQ Interface Properties.
Starting and Stopping a BERT Test
Before you can start the BERT test, you must disable the interface. To do this include the
disablestatement at the[edit interfacesinterface-name]hierarchy level:[edit interfacesinterface-name]disable;After you configure the BERT properties and commit the configuration, begin the test by issuing the
test interfaceinterface-nametype-bert-startoperational modecommand:user@host>test interfaceinterface-nametype-bert-startThe test runs for the duration you specify with the
bert-periodstatement. If you wish to terminate the test sooner, issue thetest interfaceinterface-nametype-bert-stopcommand:user@host>test interfaceinterface-nametype-bert-stopuser@host>test interface t3-1/2/0 t3-bert-startuser@host>test interface t3-1/2/0 t3-bert-stopTo view the results of the BERT test, issue the
show interfaces extensive | find BERTcommand:user@host>show interfacesinterface-nameextensive | find BERTFor more information about running and evaluating the results of the BERT procedure, see the JUNOS System Basics and Services Command Reference.
Example: Configuring Bit Error Rate Testing
Configure a BERT test on a T3 interface. In this example, the run duration lasts for 120 seconds. The configured error rate is 0, which corresponds to a bit error rate of 10-0 (1 error per bit). The configured bit pattern of
all-ones-repeatingmeans that every bit the interface sends is a set to a value of 1.[edit interfaces]t3-1/2/0 {t3-options {bert algorithm all-ones-repeating;bert-error-rate 0;bert-period 120;}}