man route_atob (Commandes) - 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/