---
name: "route_atob"
section: "1"
platform: "linux"
package: "mrt"
version: "2.2.2a-3"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/route_atob"
---

# route\_atob(1)

converts ASCII descriptions of MRT messages to binary

## NAME

route\_atob - converts ASCII descriptions of MRT messages to binary

## DESCRIPTION

Usage: route\_atob \[-i ascii\_data\_file\] \[-(o\|w) binary\_out\_file\]

Route\_AtoB converts ASCII descriptions of MRT messages to binary. By default, the program writes binary MRT message streams or files to standard out.

Route\_AtoB includes a perl version of the program. In general, the compiled version is probably more robust and up-to-date than the perl code.

  Synopsis

    route\_atob -i ASCII\_input\_file

  Options

   \-i ascii\_input\_file

       Read ASCII descriptions of MRT messages from this file. Using a\
        file name of 'stdin' will read input from standard in.

  Description

   The following command sequence will inject the routes described in in\
    the input file into the BGP peering session with enss131.

   route\_atob -i /tmp/input \| sbgp -i stdin enss131 AS690

   See the output of route\_btoa for the grammer required by route\_atob.

You can find more documentation in /usr/share/doc/mrt/html/
