summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/bgpctl.8
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2013-10-09 08:56:39 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2013-10-09 08:56:39 +0000
commit9f4f20c00ffc4f80c95fb22a99b0497b4231e133 (patch)
tree0fc627adc179e98a6dbfefb32abda66a14836e4c /usr.sbin/bgpctl/bgpctl.8
parentc7dbb94dc7cfdd7caa45efd11daed1377b5c8a3b (diff)
Allow us to bulk add / delete routes with the same attributes. Really
useful for distributing IP lists. OK beck@, claudio@, henning@
Diffstat (limited to 'usr.sbin/bgpctl/bgpctl.8')
-rw-r--r--usr.sbin/bgpctl/bgpctl.823
1 files changed, 21 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.8 b/usr.sbin/bgpctl/bgpctl.8
index bd6830efca0..4921bc0422a 100644
--- a/usr.sbin/bgpctl/bgpctl.8
+++ b/usr.sbin/bgpctl/bgpctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bgpctl.8,v 1.61 2013/03/07 21:28:34 claudio Exp $
+.\" $OpenBSD: bgpctl.8,v 1.62 2013/10/09 08:56:38 phessler Exp $
.\"
.\" Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 7 2013 $
+.Dd $Mdocdate: October 9 2013 $
.Dt BGPCTL 8
.Os
.Sh NAME
@@ -126,6 +126,25 @@ It is possible to set various path attributes with additional
Remove the specified prefix from the list of announced networks.
.It Cm network flush
Remove all dynamically added prefixes from the list of announced networks.
+.It Xo
+.Cm network bulk
+.Op Ar arguments
+.Op Cm add
+.Xc
+Bulk add specified prefixes to the list of announced networks.
+Prefixes should be sent via STDIN.
+It is possible to set various path attributes with additional
+.Ar arguments .
+If neither
+.Cm add
+or
+.Cm delete
+is given,
+.Cm add
+is the default.
+.It Cm network bulk delete
+Bulk remove the specified prefixes from the list of announced networks.
+Prefixes should be sent via STDIN.
.It Cm network mrt file Ar file filter
Import networks from an MRT table dump for debugging purposes.
.Ar filter