*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> bgpctl (8)              
Title
Content
Arch
Section
 

BGPCTL(8)

Contents


NAME    [Toc]    [Back]

     bgpctl - control the Border Gateway Protocol daemon

SYNOPSIS    [Toc]    [Back]

     bgpctl command [arguments ...]

DESCRIPTION    [Toc]    [Back]

     The bgpctl program controls the bgpd(8) daemon.  Commands to
switch between
 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 address
 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    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

      
      
     bgpd.conf(5), bgpd(8)

HISTORY    [Toc]    [Back]

     The bgpctl program first appeared in OpenBSD 3.5.

OpenBSD      3.6                        December     22,     2003
[ Back ]
 Similar pages
Name OS Title
bgpd OpenBSD Border Gateway Protocol daemon
bgpd.conf OpenBSD Border Gateway Protocol daemon configuration file
xntpdc Tru64 Monitor and control program for the Network Time Protocol daemon
gated HP-UX gateway routing daemon
ogated Tru64 The gateway routing daemon
gated IRIX gateway routing daemon
gated Tru64 gateway routing daemon
bootpgw Tru64 Internet BOOTP Protocol gateway
screend Tru64 Internet (IP) gateway screening daemon
bootpd FreeBSD Internet Boot Protocol server/gateway
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service