File: sbgp.8

package info (click to toggle)
mrt 2.2.2a-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,140 kB
  • ctags: 4,853
  • sloc: ansic: 56,465; sh: 2,801; perl: 1,065; makefile: 321
file content (93 lines) | stat: -rw-r--r-- 2,762 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.TH SBGP 8 "October 2002" "Debian/GNU Linux"
.SH NAME
sbgp \- a simple BGP4 speaker and listener
.SH DESCRIPTION
Usage: sbgp [-01av] [-i binary_data_in_file] [-o binary_data_out_file]
            [-l log_file] [-f config_file] [-c port] [-d port] [-s src_addr]
            [-E seconds_idle_after_in_file_EOF]
            [ASmy_as] [peer_ip ASpeer_as]...


SBGP is a simple BGP4 speaker and listener. SBGP does not apply policy to
routes, nor does it maintain a routing information base (RIB) of routes it
has
previously learned. Rather, SBGP provides a mechanism for monitoring routing
information sent from a peer, and for injecting routing information into a
peering session.

  Synopsis

sbgp [-av] [-i binary_data_in_file] [-o binary_data_out_file] [-l log_file]
[-f
config_file] [-c port] [-d port] [my AS] [peer_IP peer_AS]...

  Options

-a

   Accept peering BGP connection from all peers.

-v

   Turn on verbose logging to standard output.

-i binary_data_in_file

   Inject routes from this file into every peering session. Use the file
       name 'stdin' to read input from standard in.

-o binary_data_out_file

   Save route updates from all peering sessions into this file. Use the
       file name 'stdout' to write output to standard out.

   -l log_file
   Write logging information to this file. By default, SBGP logs to
       /tmp/bgp.log.pid, where pid is the process ID number of the SBGP
       process.

   -f config_file
   Not supported yet

   -p
   Not supported yet

   -c port
   Connect to this port on all BGP peers.

   -d port
   Listen on this port for BGP peering connections.

   [my AS] [peer_IP peer_AS]...
   Use my AS for my Autonymous System number and open peering sessions
       with each peer_IP address.


  Description

   As arguments, SBGP takes the local AS number followed by the IP
   address and AS number of the BGP4 peer. Multiple peer IP addresses and
   AS pairs may be specified. For example:

   sbgp AS2011 enss131.t3.ans.net AS690

   attempts to initiate a BGP4 peering session with the old NSFNET
   backone on enss131. By default, SBGP writes logging information to
   /tmp/bgp.log.

   The following command directs tracing information to stdout (the -v
   option) and will save MRT messages containing the contents of BPG4
   update packets to /tmp/data (the -o option).

   sbgp -vo data AS2011 enss131.t3.ans.net AS690

    Note that the remote peer must be configured to accept a BGP4 peering
    session from the machine on which SBGP is running.

   The following command will inject routes stored in the binary MRT
   message file data into the peering sessions with enss131:

   sbgp -vi data AS185 enss131.t3.and.net AS690


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