Document the various flowspec commands now supported in bgpctl.

Like with network the show command has an alias as `bgpctl show flowspec`
which is not documented. Maybe we could add an extra sentence in both
cases.
-- 
:wq Claudio

Index: bgpctl.8
===================================================================
RCS file: /cvs/src/usr.sbin/bgpctl/bgpctl.8,v
retrieving revision 1.108
diff -u -p -r1.108 bgpctl.8
--- bgpctl.8    13 Apr 2023 11:52:43 -0000      1.108
+++ bgpctl.8    21 Apr 2023 15:14:04 -0000
@@ -80,6 +80,27 @@ a.k.a. the kernel routing table.
 .Xc
 Remove the learned routes from the specified Forwarding Information Base
 a.k.a. the kernel routing table.
+.It Cm flowspec add Ar family rule Op Cm set Ar argument ...
+Add the specified flowspec rule to the list of announced rules.
+Currently
+.Ar family
+can be either
+.Cm inet
+or
+.Cm inet6 .
+It is possible to set various path attributes with additional arguments.
+Adding a rule will replace an existing equal rule, including rules loaded
+from the configuration.
+See
+.Xr bgpd.conf 5
+for information on how to write a flowspec rule.
+.It Cm flowspec delete Ar family rule
+Remove the specified flowspec rule from the list of announced rules.
+.It Cm flowspec flush
+Remove all dynamically (i.e. with bgpctl flowspec add) added
+flowspec rules from the list of announced rules.
+.It Cm flowspec show
+Show all announced flowspec rules.
 .It Cm log brief
 Disable verbose debug logging.
 .It Cm log verbose

Reply via email to