diff options
author | Peter Hessler <phessler@cvs.openbsd.org> | 2017-01-13 18:59:13 +0000 |
---|---|---|
committer | Peter Hessler <phessler@cvs.openbsd.org> | 2017-01-13 18:59:13 +0000 |
commit | 711ecbd6e4eb80012d22a2cb2058c80b253433d2 (patch) | |
tree | 4ad6388d383f7b28271bf4fc10255212dad5d799 /usr.sbin/bgpctl/bgpctl.8 | |
parent | 0ed25f9a076f2e5f91e48c5a09c23e4c4769cd43 (diff) |
Add support for draft-ietf-idr-shutdown
BGP state = Idle, marked down with shutdown reason "goodbye, we are
upgrading to openbsd 6.1", down for 00:00:17
developed by Peter van Dijk <peter.van.dijk@powerdns.com> and Job
Snijders <job@ntt.net>, thank you!
OK benno@
Diffstat (limited to 'usr.sbin/bgpctl/bgpctl.8')
-rw-r--r-- | usr.sbin/bgpctl/bgpctl.8 | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.8 b/usr.sbin/bgpctl/bgpctl.8 index 6c2bae6ab90..239f6d0ca09 100644 --- a/usr.sbin/bgpctl/bgpctl.8 +++ b/usr.sbin/bgpctl/bgpctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bgpctl.8,v 1.71 2016/10/26 17:24:13 jmc Exp $ +.\" $OpenBSD: bgpctl.8,v 1.72 2017/01/13 18:59:12 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: October 26 2016 $ +.Dd $Mdocdate: January 13 2017 $ .Dt BGPCTL 8 .Os .Sh NAME @@ -104,8 +104,16 @@ Destroy a previously cloned peer. The peer must be down before calling this function. .Ar peer may be the neighbor's address or description. -.It Cm neighbor Ar peer Cm down +.It Cm neighbor Ar peer Cm down Op Ar reason Take the BGP session to the specified neighbor down. +If a +.Ar reason +is provided, the +.Ar reason +is sent as Administrative Shutdown Communication to the neighbor. +The +.Ar reason +cannot exceed 128 octets. .Ar peer may be the neighbor's address or description. .It Cm neighbor Ar peer Cm refresh |