From 200631aa65c151ba1c1563e2a6aa8757cd4024f0 Mon Sep 17 00:00:00 2001 From: Trey Aspelund Date: Fri, 3 Feb 2023 21:13:38 +0000 Subject: [PATCH] doc: optional keyword info for bestpath-routes Adds information about the optional keywords for the bestpath-routes bgp show command. Signed-off-by: Trey Aspelund --- doc/user/bgp.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index eaa675edd9..b17442f641 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -1837,11 +1837,21 @@ Configuring Peers Displaying Information about Peers ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. clicmd:: show bgp neighbors WORD bestpath-routes [json] [wide] +.. clicmd:: show bgp neighbors WORD bestpath-routes [detail] [json] [wide] For the given neighbor, WORD, that is specified list the routes selected by BGP as having the best path. + If ``detail`` option is specified, the detailed version of all routes + will be displayed. The same format as ``show [ip] bgp [afi] [safi] PREFIX`` + will be used, but for the whole table of received, advertised or filtered + prefixes. + + If ``json`` option is specified, output is displayed in JSON format. + + If ``wide`` option is specified, then the prefix table's width is increased + to fully display the prefix and the nexthop. + .. _bgp-peer-filtering: Peer Filtering -- 2.39.5