unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OpenBSD-3.6)
Page:
Section:
Apropos / Subsearch:
optional field

BGPCTL(8)               OpenBSD System Manager's Manual              BGPCTL(8)

NAME
     bgpctl - control the Border Gateway Protocol daemon

SYNOPSIS
     bgpctl command [arguments ...]

DESCRIPTION
     The bgpctl program controls the bgpd(8) daemon.  Commands to switch be-
     tween displays may be abbreviated to the minimum unambiguous prefix; for
     example, s s for show summary.

     The commands are as follows:

     fib couple
             Insert the learned routes into the Forward Information Base
             a.k.a. the kernel routing table.

     fib decouple
             Remove the learned routes from the Forward Information Base
             a.k.a. the kernel routing table.

     neighbor address up
             Take the BGP session to the specified neighbor up.

     neighbor address down
             Take the BGP session to the specified neighbor down.

     neighbor address clear
             Stop and restart the BGP session to the specified neighbor.

     network add prefix
             Add the specified prefix to the list of announced networks.

     network delete prefix
             Remove the specified prefix from the list of announced networks.

     network flush
             Remove all dynamically added prefixes from the list of announced
             networks.

     network show
             Show all announced networks.

     reload  Reload the configuration file.

     show fib filter
             Show routes from bgpd(8)'s view of the Forward Information Base.
             filter can be an IP address, in which case the route to this ad-
             dress is shown, or a flag:

             connected  Show only connected routes.
             static     Show only static routes.
             bgp        Show only routes originating from bgpd(8) itself.
             nexthop    Show only routes required to reach a BGP nexthop.

     show interfaces
             Show the interface states.

     show neighbor address modifier
             Show detailed information about the neighbor identified by
             address, according to the given modifier:

             messages  Show statistics about sent and received BGP messages.
             timers    Show the BGP timers.

     show nexthop
             Show the list of BGP nexthops and the result of their validity
             check.

     show rib filter
             Show routes from the bgpd(8) Routing Information Base.  filter
             can be an IP address, a CIDR prefix, an AS filter or nothing:

             address          Show best matching route for address.
             address/len      Show RIB entry for this CIDR prefix.
             address/len all  Show all entries in the specified range.
             as as            Show all entries with as anywhere in the AS
                              path.
             source-as as     Show all entries with as as rightmost AS.
             transit-as as    Show all entries with as anywhere but rightmost.
             empty-as         Show all entries that are internal routes with
                              no AS's in the AS path.
             summary          This is the same as the show summary command.

     show summary
             Show a list of all neighbors, including information about the
             session state and message counters.

FILES
     /etc/bgpd.conf  default bgpd(8) configuration file

SEE ALSO
     bgpd.conf(5), bgpd(8)

HISTORY
     The bgpctl program first appeared in OpenBSD 3.5.

OpenBSD 3.6                    December 22, 2003                             2