-.\" $OpenBSD: bgpctl.8,v 1.101 2022/09/01 22:24:40 job Exp $
+.\" $OpenBSD: bgpctl.8,v 1.102 2022/10/17 15:04:12 claudio Exp $
.\"
.\" Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: September 1 2022 $
+.Dd $Mdocdate: October 17 2022 $
.Dt BGPCTL 8
.Os
.Sh NAME
.El
.It Cm show interfaces
Show the interface states.
+.It Cm show metrics
+Dump various BGP statistics in OpenMetrics format.
.It Xo
.Cm show mrt
.Op Ar options
-/* $OpenBSD: parser.c,v 1.115 2022/10/17 12:01:19 claudio Exp $ */
+/* $OpenBSD: parser.c,v 1.116 2022/10/17 15:04:12 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
{ KEYWORD, "sets", SHOW_SET, NULL},
{ KEYWORD, "rtr", SHOW_RTR, NULL},
{ KEYWORD, "mrt", SHOW_MRT, t_show_mrt},
- { KEYWORD, "metric", SHOW_METRIC, NULL},
+ { KEYWORD, "metrics", SHOW_METRIC, NULL},
{ ENDTOKEN, "", NONE, NULL}
};