summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-10 19:09:41 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-10 19:09:41 +0000
commitdf01314dbb9d8b8eeb94af3b37d3286e261c14c3 (patch)
treea2c218ddc55190623d487416f514d24a86258889
parent4e8faf180cc6893d7e52e9f41f28b575ba35f782 (diff)
document "show fib"
-rw-r--r--usr.sbin/bgpctl/bgpctl.819
1 files changed, 18 insertions, 1 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.8 b/usr.sbin/bgpctl/bgpctl.8
index e7a01de93d8..860f8b38c2d 100644
--- a/usr.sbin/bgpctl/bgpctl.8
+++ b/usr.sbin/bgpctl/bgpctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bgpctl.8,v 1.9 2004/01/08 14:41:04 henning Exp $
+.\" $OpenBSD: bgpctl.8,v 1.10 2004/01/10 19:09:40 henning Exp $
.\"
.\" Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
.\"
@@ -46,6 +46,23 @@ Show statistics about sent and received BGP messages.
.It Li timers
Show the BGP timers.
.El
+.It Li show fib Ar filter
+Show routes from bgpd's view of the Forward Information Base.
+.Ar filter
+can be an IP address, in which case the route to this address is shown,
+or a flag:
+.Bl -tag -width connected -compact
+.It Li connected
+Show only connected routes.
+.It Li static
+Show only static routes.
+.It Li bgp
+Show only routes originating from
+.Ar bgpd
+itself.
+.It Li nexthop
+Show only routes required to reach a BGP nexthop.
+.El
.It Li reload
Reload the configuration file.
.It Li fib couple