summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.conf.5
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-03-11 12:54:21 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-03-11 12:54:21 +0000
commit9cf558b328c8aee614395d1731b9dafa0d2ca9bb (patch)
tree49978b6b33a570b0469b0743bc607e86d0b2a162 /usr.sbin/bgpd/bgpd.conf.5
parente45069d653342d4463f4f43fcc2fd66dbc4d4c31 (diff)
Finally commit the transparent-as and nexthop no-modify stuff I wrote on the
way to FOSDEM. With transparent-as set to ye bgpd will not prepend his own AS for sent updates. NB the neighbor needs to set "enforce neighbor-as no" or it will not like the received AS paths. With set nexthop no-modify bgpd will change the nexthop as done normaly. OK henning@ man page update with help of jmc@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.conf.5')
-rw-r--r--usr.sbin/bgpd/bgpd.conf.524
1 files changed, 20 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/bgpd.conf.5 b/usr.sbin/bgpd/bgpd.conf.5
index 053669f3ce2..16c3dde98ba 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.42 2004/12/31 10:47:37 jaredy Exp $
+.\" $OpenBSD: bgpd.conf.5,v 1.43 2005/03/11 12:54:19 claudio Exp $
.\"
.\" Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
.\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -254,6 +254,17 @@ router-id 10.0.0.1
.Pp
If not given, the BGP ID is determined as the biggest IP address assigned
to the local machine.
+.Pp
+.It Xo
+.Ic transparent-as
+.Pq Ic yes Ns \&| Ns Ic no
+.Xc
+If set to
+.Ic yes ,
+.Em AS paths
+to EBGP neighbors are not prepended with their own AS.
+The default is
+.Ic no .
.El
.Sh NEIGHBORS AND GROUPS
.Xr bgpd 8
@@ -809,13 +820,18 @@ AS path attribute.
.Pp
.It Xo
.Ic nexthop
-.Po Ar address Ns \&| Ns
-.Ic blackhole Ns \&| Ns Ic reject Pc
+.Sm off
+.Po Ar address \*(Ba
+.Ic blackhole \*(Ba
+.Ic reject \*(Ba
+.Ic no-modify Pc
+.Sm on
.Xc
Set the
.Em NEXTHOP
AS path attribute
-to a different nexthop address, or use blackhole or reject routes.
+to a different nexthop address, use blackhole or reject routes,
+or do not modify it.
.Bd -literal -offset indent
set nexthop 192.168.0.1
set nexthop blackhole