From 178b402d976e0ccd7c128ea82a1e9e310c53eedb Mon Sep 17 00:00:00 2001 From: Sebastian Benoit Date: Sun, 9 Sep 2018 12:53:01 +0000 Subject: Make it clear what 'dynamically added' prefixes are. Say that adding a prefix will overwrite an existing (equal) prefix. ok claudio@ --- usr.sbin/bgpctl/bgpctl.8 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/bgpctl/bgpctl.8 b/usr.sbin/bgpctl/bgpctl.8 index 5ee2d0c78a8..13ebeba96d0 100644 --- a/usr.sbin/bgpctl/bgpctl.8 +++ b/usr.sbin/bgpctl/bgpctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bgpctl.8,v 1.81 2018/08/30 08:30:05 claudio Exp $ +.\" $OpenBSD: bgpctl.8,v 1.82 2018/09/09 12:53:00 benno Exp $ .\" .\" Copyright (c) 2003 Henning Brauer .\" @@ -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: August 30 2018 $ +.Dd $Mdocdate: September 9 2018 $ .Dt BGPCTL 8 .Os .Sh NAME @@ -148,6 +148,8 @@ may be the neighbor's address or description. Add the specified prefix to the list of announced networks. It is possible to set various path attributes with additional .Ar arguments . +Adding a prefix will replace an existing equal prefix, including +prefixes loaded from the configuration. .It Xo .Cm network bulk .Op Ar arguments @@ -170,7 +172,9 @@ Prefixes should be sent via stdin. .It Cm network delete Ar prefix Remove the specified prefix from the list of announced networks. .It Cm network flush -Remove all dynamically added prefixes from the list of announced networks. +Remove all dynamically (i.e. with +.Nm Cm network add ) +added prefixes from the list of announced networks. .It Cm network mrt file Ar file filter Import networks from an MRT table dump for debugging purposes. .Ar filter -- cgit v1.2.3