]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: Add wide option for show bgp commands 6834/head
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Fri, 31 Jul 2020 19:14:00 +0000 (22:14 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Fri, 31 Jul 2020 19:14:00 +0000 (22:14 +0300)
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
doc/user/bgp.rst

index d776b32a8885025dc842683b6f73a4ba39c371a3..c6ac4fd29894864e84cd8de96248dcd4d11b31a6 100644 (file)
@@ -2612,17 +2612,17 @@ daemon project, while :clicmd:`show bgp` command is the new format. The choice
 has been done to keep old format with IPv4 routing table, while new format
 displays IPv6 routing table.
 
-.. index:: show ip bgp
-.. clicmd:: show ip bgp
+.. index:: show ip bgp [wide]
+.. clicmd:: show ip bgp [wide]
 
-.. index:: show ip bgp A.B.C.D
-.. clicmd:: show ip bgp A.B.C.D
+.. index:: show ip bgp A.B.C.D [wide]
+.. clicmd:: show ip bgp A.B.C.D [wide]
 
-.. index:: show bgp
-.. clicmd:: show bgp
+.. index:: show bgp [wide]
+.. clicmd:: show bgp [wide]
 
-.. index:: show bgp X:X::X:X
-.. clicmd:: show bgp X:X::X:X
+.. index:: show bgp X:X::X:X [wide]
+.. clicmd:: show bgp X:X::X:X [wide]
 
    These commands display BGP routes. When no route is specified, the default
    is to display all BGP routes.
@@ -2638,6 +2638,12 @@ displays IPv6 routing table.
 
          Total number of prefixes 1
 
+   If _wide_ option is specified, then the prefix table's width is increased
+   to fully display the prefix and the nexthop.
+
+   This is especially handy dealing with IPv6 prefixes and
+   if :clicmd:`[no] bgp default show-nexthop-hostname` is enabled.
+
 Some other commands provide additional options for filtering the output.
 
 .. index:: show [ip] bgp regexp LINE