From df01314dbb9d8b8eeb94af3b37d3286e261c14c3 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Sat, 10 Jan 2004 19:09:41 +0000 Subject: document "show fib" --- usr.sbin/bgpctl/bgpctl.8 | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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 .\" @@ -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 -- cgit v1.2.3