diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-03-14 17:32:05 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-03-14 17:32:05 +0000 |
commit | efcb58379e98814ab2ab67faeba5d6224722b141 (patch) | |
tree | aa49db4b1cdae0d039f64902b6a52f11fb3eebe9 /usr.sbin/bgpd/bgpd.conf.5 | |
parent | f74aa7bcc286fddc77ad2fcd4231a9842ba5d4f6 (diff) |
Allow to modify the metrics in a relative way by prepending the number with
a '+' or '-'. e.g. set localpref +20. This is another gem from the FOSDEM
lying around on my HD gathering dust. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.conf.5')
-rw-r--r-- | usr.sbin/bgpd/bgpd.conf.5 | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.conf.5 b/usr.sbin/bgpd/bgpd.conf.5 index 16c3dde98ba..56ae9661be5 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.43 2005/03/11 12:54:19 claudio Exp $ +.\" $OpenBSD: bgpd.conf.5,v 1.44 2005/03/14 17:32:04 claudio Exp $ .\" .\" Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org> .\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -812,11 +812,27 @@ or Set the .Em LOCAL_PREF AS path attribute. +If +.Ar number +starts with a sign +.Em LOCAL_PREF +will be adjusted by adding or substracting +.Ar number +else it will be set to +.Ar number . .Pp .It Ic med Ar number Set the .Em MULTI_EXIT_DISC AS path attribute. +If +.Ar number +starts with a sign +.Em MULTI_EXIT_DISC +will be adjusted by adding or substracting +.Ar number +else it will be set to +.Ar number . .Pp .It Xo .Ic nexthop |