diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-01-07 12:33:16 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-01-07 12:33:16 +0000 |
commit | b6ad9d3bfd44d49ac104819da7da45b6cdffa3bd (patch) | |
tree | 69a19b4c761b3ae782a78a8937c396877b4cd0b6 /usr.sbin | |
parent | ffd9a03b43e0731443716d35cdd9b726921f0829 (diff) |
Document mrt dump comands. Help by jmc@ OK henning@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/bgpd.conf.5 | 47 |
1 files changed, 44 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/bgpd.conf.5 b/usr.sbin/bgpd/bgpd.conf.5 index fd31a037c27..42ae05ebe50 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.12 2004/01/06 20:41:55 henning Exp $ +.\" $OpenBSD: bgpd.conf.5,v 1.13 2004/01/07 12:33:15 claudio Exp $ .\" .\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> .\" Copyright (c) 2002 Daniel Hartmeier <dhartmei@openbsd.org> @@ -138,6 +138,46 @@ do not update the Forward Information Base aka the kernel routing table. The default is .Em yes . +.It Ar dump +.Ar bgpd +is capable of dumping the +.Em RIB , +aka the Routing Information Base and all +.Em bgp +messages in +.Em mrt +format. +Dumping the +.Em RIB +is normally an expensive operation but it should not influence the session +handling. +Dumping too often may result in a slow update speed. +.Pp +This will dump all 300 seconds of the +.Em RIB +table to the +.Xr strftime 3 +expanded filename. +The timeout is optional. +.Bd -literal -offset indent +dump table "/tmp/rib-dump-%H%M" 300 +.Ed +.Pp +Similar to the table dump but this time all +.Em bgp +messages and +.Em state +transitions are dumped to the specified file: +.Bd -literal -offset indent +dump msg all in "/tmp/all-in-%H%M" 300 +.Ed +.Pp +As before, but only the filtered +.Em UPDATE +messages are dumped to the file: +.Bd -literal -offset indent +dump msg filtered in "/tmp/filtered-in-%H%M" 300 +.Ed .El .Sh NEIGHBORS AND GROUPS .Ar bgpd @@ -193,10 +233,10 @@ statement defines the maximum hops the neighbor is away. Do not attempt to actively open a TCP connection to the neighbor system. .It Ar holdtime Set the holdtime in seconds. -Inherit from the global configuration if not given. +Inherited from the global configuration if not given. .It Ar holdtime min Set the minimal acceptable holdtime. -Inherit from the global configuration if not given. +Inherited from the global configuration if not given. .El .Sh FILES .Bl -tag -width "/etc/bgpd.conf" -compact @@ -205,6 +245,7 @@ Inherit from the global configuration if not given. configuration file. .El .Sh SEE ALSO +.Xr strftime 3 , .Xr bgpd 8 .Sh HISTORY The |