Command BERT

From RtpBridge
Jump to: navigation, search

To set the BERT test parameters use the following commands:

bert help

bert help

Prints help on this command.

Example:

> bert help
BERT commands:
bert help - prints this info
bert show patterns - lists available patterns
bert show config - prints current BERT configuration
bert show stats <li>|all [realtime <update sec> [<template_number>]] - prints statistics for BERT
bert set span <li> <pattern> [raw|<mask>] [rx|tx] - configures BERT on span <li>

bert start all|<li> [rx|tx] - starts configured BERT
bert stop all|<li> [rx|tx] - stops active BERT
bert set log <li> <file>|console|syslog - sets destination for realtime logs
bert log <number> set template <template> - saves template for BERT realtime logs

bert show templates - lists known templates for realtime logs
bert history file <filename> - sets file name for main bert log
bert history interval <seconds> - sets time interval for writes to main bert log
bert history limit <bytes> - sets limit for main bert log file size
bert history template <number> - sets template for main bert log entries

bert show patterns

bert show patterns

Prints available BERT patterns.

Example:

> bert show patterns
Available BERT patterns:
gamma
2^6-1
2^9-1
2^10-1
2^11-1
2^15-1
2^20-1
2^23-1
QRSS
mark
space

bert show config

bert show config

Prints current BERT configuration.

Example:

> bert show config
Configuration entry has the following format:
bert <li> <direction> <pattern> [<mask>] [ACTIVE] <log destination> <update interval> <template number>
Current BERT configuration:
bert 0 rx 2^15-1 console 0s default
bert 0 tx 2^15-1
bert 1 rx UNCONFIGURED
bert 1 tx UNCONFIGURED
bert 2 rx UNCONFIGURED
bert 2 tx UNCONFIGURED
bert 3 rx UNCONFIGURED
bert 3 tx UNCONFIGURED

bert show stats

bert show stats <li>|all [realtime <update sec> [<template_number>]]

Prints statistics for BERT.

The abbreviations are:

  • li - E1/T1 line interface number: 0, 1, 2, 3;
  • update sec - update sec;
  • template_number - template_number;

Example:

> bert show stats all
BERT 0 statistics:
SYNC: YES
SYNC LOSS: 1
ERRORS: 0 (TOTAL = 0)
BER: 0.000000 (TOTAL = 0.000000)
ERRORED: 0 seconds
EFS: 25 seconds (100.00%)
AVAIL = 25 seconds (100.00%)
UNAVAIL = 0 seconds
TOTAL = 25 seconds

bert set span

bert set span <li> <pattern> [raw|<mask>] [rx|tx]

Configures BERT on a span.

The abbreviations are:

  • li - E1/T1 line interface number: 0, 1, 2, 3;
  • pattern - pattern;
  • mask - has form mask[ts1,ts2...] (i.e. mask[1,2,3] sets BERT on timeslots 1, 2, and 3);

Example:

> bert set span 0 2^15-1

bert start

bert start all|<li> [rx|tx]

Starts configured BERT.

The abbreviations are:

  • li - E1/T1 line interface number: 0, 1, 2, 3.

Example:

> bert start all

bert stop

bert stop all|<li> [rx|tx]

Stops active BERT.

The abbreviations are:

  • li - E1/T1 line interface number: 0, 1, 2, 3.

Example:

> bert stop all
BERT 0 statistics:
SYNC: YES
SYNC LOSS: 1
ERRORS: 0 (TOTAL = 0)
BER: 0.000000 (TOTAL = 0.000000)
ERRORED: 0 seconds
EFS: 36 seconds (100.00%)
AVAIL = 36 seconds (100.00%)
UNAVAIL = 0 seconds
TOTAL = 36 seconds

bert set log

bert set log <li> <file>|console|syslog

Sets destination for realtime logs.

The abbreviations are:

  • li - E1/T1 line interface number: 0, 1, 2, 3;
  • file - file name.

Example:

> bert set log 0 console