summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-04-06 12:25:55 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-04-06 12:25:55 +0000
commit585b5fc5de363904af797227572f085ef9899265 (patch)
tree3bbaee77cc183df2152778e2e41fc5e3f44a6bf6 /usr.sbin/bgpctl
parent7839c9030755cddf1dcf24b22b2a665b5e441095 (diff)
Document show rib detail and friends. Some input by jmc@ getting dust in one
of my trees since a few weeks.
Diffstat (limited to 'usr.sbin/bgpctl')
-rw-r--r--usr.sbin/bgpctl/bgpctl.818
1 files changed, 16 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.8 b/usr.sbin/bgpctl/bgpctl.8
index a1d7a5b00d3..32e8792ae24 100644
--- a/usr.sbin/bgpctl/bgpctl.8
+++ b/usr.sbin/bgpctl/bgpctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bgpctl.8,v 1.31 2006/01/04 12:37:33 claudio Exp $
+.\" $OpenBSD: bgpctl.8,v 1.32 2006/04/06 12:25:54 claudio Exp $
.\"
.\" Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
.\"
@@ -124,7 +124,11 @@ Show the BGP timers.
.El
.It Cm show nexthop
Show the list of BGP nexthops and the result of their validity check.
-.It Cm show rib Ar filter
+.It Xo
+.Cm show rib
+.Op Ar detail
+.Ar filter
+.Xc
Show routes from the
.Xr bgpd 8
Routing Information Base.
@@ -165,6 +169,16 @@ Show RIB memory statistics.
.It Ar family
Limit the output to the given address family.
.El
+.Pp
+If
+.Ar detail
+is specified, a more detailed output of the routes matched by
+.Ar filter
+will be shown.
+It is silently ignored when used together with
+.Ar summary
+or
+.Ar memory .
.It Cm show summary
Show a list of all neighbors, including information about the session state
and message counters.