Optics and Hardware Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

Optics and Hardware Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Pseudo random binary sequences

Want to summarize with AI?

Log in

Introduces pseudo random binary sequences and explains the core idea and technical context. Highlights the main characteristics and usage guidance needed before configuration.


The Pseudo Random Binary Sequence (PRBS) feature provides a robust mechanism for performing data integrity checks on router interfaces by generating and analyzing pseudo-random bit patterns. It operates simultaneously on both the transmit (Tx) and receive (Rx) directions without generating actual client traffic, ensuring that the optical links and interfaces maintain a good state and are error-free.

Feature Name Release Information Feature Description
PRBS support for high-speed optical interfaces Release 25.4.1

Introduced in this release on: Modular Systems (8800 [ASIC: Q200])

The Pseudo Random Binary Sequence (PRBS) feature provides data integrity checks on router interfaces by generating and analyzing pseudo-random bit patterns, PRBS15 and PRBS31 between the Cisco 88-LC0-36FH router line card and QDD-400G-FR4 optics.

CLI:

This feature introduces these commands:

  • controller Optics R/S/I/P prbs-mode <source/sink/source-sink> pattern <pn15/pn31> direction <line/system>

  • show controllers optics R/S/I/P prbs-details

The feature supports PRBS15 and PRBS31 patterns, which correspond to pseudo-random sequences of lengths 2^15-1 and 2^31-1 bits respectively.

PRBS is typically employed during system installations, or when replacing line cards or nodes, especially in Ethernet-based lossless fabric environments such as simple two-tier leaf and spine network designs.


PRBS operational modes

PRBS testing uses three primary operational modes to check data integrity on links without generating live client traffic

You can configure PRBS in one of the modes on the optics controller.

  • Source mode — The device continuously generates the PRBS signal on the line according to the configured pattern.

  • Sink mode — The device locks onto the incoming PRBS signal, analyzes it, and reports any errors detected.

  • Source-Sink mode — The device acts as both transmitter and receiver, generating the PRBS pattern and simultaneously verifying the incoming signal for errors.


Limitations for PRBS on optics controllers

  • The PRBS support is limited to modules that comply with the QSFP-DD Common Management Interface Specification (CMIS).

  • User-defined pattern is not supported.

  • Configuration is supported only on the main controller and is not supported on breakout controllers.


Configure PRBS on the optics controller

Follow this task to configure PRBS on the optics controller.

Before you begin

Before enabling PRBS, ensure that the interfaces are unshut.

Ensure that the optics controller is set in the maintenance mode using the sec-admin-state maintenance configuration.

Procedure

SUMMARY STEPS

  1. Check the capabilities of the optical module.
  2. Configure PRBS on the optics controller:
  3. Verify that PRBS is configured on the optics controller. Verify that PRBS mode, pattern, and direction are configured using the show controllers optics R/S/I/P prbs-info command:

DETAILED STEPS

1.

Check the capabilities of the optical module.

Example:


RP/0/RP0/CPU0:ios#show controllers optics 0/2/0/28 prbs-capability-info 
Wed Sep  3 16:26:42.376 UTC
 
Supported:
    Mode: Source | Sink | Source-Sink 
    Pattern: PN9Q | PN13 | PN13Q | PN15 | PN15Q 
    Direction: Line | System 
    Error-Inject: None
 
Unsupported Combinations:
    None
RP/0/RP0/CPU0:ios#
2.

Configure PRBS on the optics controller:

Example:


controller Optics0/0/0/18
  prbs mode source-sink pattern pn15q direction line
  sec-admin-state maintenance
!
3.

Verify that PRBS is configured on the optics controller. Verify that PRBS mode, pattern, and direction are configured using the show controllers optics R/S/I/P prbs-info command:

Example:


RP/0/0/CPU0:#show controllers Optics 0/0/0/18 prbs-info
 PRBS ----------------------------------------------- 
Port:    Optics0/0/0/31 


----------------------PRBS details------------------
PRBS Test			: Enable
PRBS Mode			: Source-Sink
PRBS Pattern			: PN31Q
PRBS Status			: Locked
PRBS Direction			: Line
PRBS Configured Time		: 18 Aug 01:40:23 (1755506423 seconds)
PRBS First Lock Established Time: 18 Aug 01:40:26 (1755506426 seconds)
Counter last updated timestamp  : 18 Aug 01:47:16 (1755506836 seconds)

Lane       SNR(dBm)           MaxSNR(dBm)           ErrorCount           TotalBits               BER                 MaxBER        
 1          22.78                23.11                11071            43558738601216         0.000e+00            0.000e+00       
 2          22.04                22.32                132435           43546486903424         0.000e+00            0.000e+00       
 3          22.62                22.78                53296            43589169331456         0.000e+00            0.000e+00       
 4          22.18                22.32                307982           43580449870336         0.000e+00            0.000e+00       

Lane      LockStatus           LostCount            FoundCount         LockTime(secs)     LockLostTimestamp   
 1          Locked                 0                    1                   417                               
 2          Locked                 0                    1                   417                               
 3          Locked                 0                    1                   417                               
 4          Locked                 0                    1                   417                               

Configure PRBS on the coherent DSP controller

Follow this task to configure PRBS on the coherent DSP controller.

Use this procedure in the appropriate operating context for your deployment.

Before you begin

Before enabling PRBS, ensure that the interfaces are unshut.

Procedure

SUMMARY STEPS

  1. Configure PRBS on the coherent DSP controller:
  2. Verify that PRBS is configured on the coherent DSP controller. Verify the current performance monitoring parameters of the coherent DSP controller in 30 second intervals using the show controllers optics R/S/I/P pm current 30-sec prbs command:

DETAILED STEPS

1.

Configure PRBS on the coherent DSP controller:

Example:


controller CoherentDsp0/0/0/14
  prbs mode source-sink pattern pn15q direction line
  sec-admin-state maintenance
2.

Verify that PRBS is configured on the coherent DSP controller. Verify the current performance monitoring parameters of the coherent DSP controller in 30 second intervals using the show controllers optics R/S/I/P pm current 30-sec prbs command:

Example:


RP/0/RP0/CPU0:ios#show controllers coherentDSP 0/1/0/14 pm current 30-sec prbs
Thu Oct 24 14:07:45.189 UTC
 
PRBS in the current interval [14:07:30 - 14:07:45 Thu Oct 24 2024]
 
PRBS current bucket type : Valid
 
EBC          : 0           Threshold : 0         TCA(enable)  : NO
 FOUND-COUNT  : 0           Threshold : 0         TCA(enable)  : NO
 LOST-COUNT   : 0           Threshold : 0         TCA(enable)  : NO
 
FOUND-AT-TS  : NULL
LOST-AT-TS   : NULL
 
CONFIG-PTRN  : PRBS_PATTERN_PN31
STATUS       : LOCKED
 
Last clearing of "show controllers OTU" counters never
RP/0/RP0/CPU0:ios#