summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-03-15 23:41:53 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-03-15 23:41:53 +0000
commit0ce8ae1d6e1066f02dd541f651433a92edcd3ced (patch)
treea135d662e0cad8855608c2a745cc6dfda462e7d4 /usr.sbin
parent9492324abba6df221b85188a430de8470c88e34f (diff)
describe "depend on"
you wouldn't guess how hard it was to get that right... initial diffs and lots of input from Jason Ackley and jaredy, ok claudio jaredy jmc deraadt
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpd/bgpd.conf.522
1 files changed, 21 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.conf.5 b/usr.sbin/bgpd/bgpd.conf.5
index f9e5e3fb240..b880afe7c65 100644
--- a/usr.sbin/bgpd/bgpd.conf.5
+++ b/usr.sbin/bgpd/bgpd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bgpd.conf.5,v 1.45 2005/03/15 09:24:05 jmc Exp $
+.\" $OpenBSD: bgpd.conf.5,v 1.46 2005/03/15 23:41:52 henning Exp $
.\"
.\" Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
.\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -358,6 +358,26 @@ messages to announcements of the local AS.
The default for IBGP peers is
.Ic all .
.Pp
+.It Ic depend on Ar interface
+The neighbor session will be kept in state
+.Em IDLE
+as long as
+.Ar interface
+reports no link.
+For
+.Xr carp 4
+interfaces, no link means that the interface is currently
+.Em backup .
+This is primarily intended to be used with
+.Xr carp 4
+to reduce failover times.
+.Pp
+The state of the network interfaces on the system can be viewed
+using the
+.Cm show interfaces
+command to
+.Xr bgpctl 8 .
+.Pp
.It Ic descr Ar description
Add a description.
The description is used when logging neighbor events, in status