BERT

From RtpBridge
Jump to: navigation, search

This command need to configure a bit error rate test (BERT)

   bert <option> [params]

Bert commands:

Name Description
help prints information about BERT commands
show patterns lists available patterns
show config prints current BERT configuration
show stats < li > all [realtime <update sec> [<template_number>]] prints statistics for BERT
set span < li > <pattern> [raw|<mask>] [rx|tx] configures BERT on span < li >
start all|< li > [rx|tx] starts configured BERT
stop all|< li > [rx|tx] stops active BERT
set log < li > <file>|console|syslog sets destination for realtime logs
show templates lists known templates for realtime logs
history file <filename> sets file name for main bert log
history interval <seconds> sets time interval for writes to main bert log
history limit <bytes> sets limit for main bert log file size
history template <number> sets template for main bert log entries
bert log <number> set template <template> saves template for BERT realtime logs
  • Note:
Template can be specified to BERT later with its number
Template is a text string, which can contain the following patterns:
 %li - Number of span
 %s - Current BERT SYNC state
 %los - Count of SYNC losses
 %et - Elapsed Time (default format: 1 day 23:59:59)
 %D - Elapsed Time in days
 %TH - Elapsed Time in hours
 %H - Hours part of Elapsed Time
 %TM - Elapsed Time in minutes
 %M - Minutes part of Elapsed Time
 %TS - Elapsed Time in seconds
 %S - Seconds part of Elapsed Time
 %be - Bit Errors
 %tbe - Total Bit Errors
 %cer - Current Error Rate
 %ter - Total Error Rate
 %es - Errored Seconds
 %efbe - Error Free Seconds
 %efs - Error Free Seconds (in per cent)
 %as - Available Seconds
 %pas - Available Seconds (in per cent)
 %us - Unavailable Seconds
 %pus - Unavailable Seconds (in per cent)
 %pattern - Current pattern
 %% - Per cent symbol
  • Example BERT config's:
bert set span 0 2^15-1 rx
bert set span 0 2^15-1 tx
bert set span 1 2^15-1 rx
bert set span 1 2^15-1 tx
bert start all 
bert show stats all realtime 10

In this example configured 2 spans with pattern 2^15-1 and information about this test prints in realtime every 10 seconds