From b0e019cc0ccae3fdb5219a14178b634862df6dff Mon Sep 17 00:00:00 2001 From: Nigel Kukard Date: Sat, 9 Sep 2017 09:51:09 +0000 Subject: [PATCH] doc: Clarified the use of show bgp ipv4/ipv6 for communities Signed-off-by: Nigel Kukard --- doc/bgpd.texi | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/doc/bgpd.texi b/doc/bgpd.texi index 1703617dc4..144729bc6f 100644 --- a/doc/bgpd.texi +++ b/doc/bgpd.texi @@ -1130,25 +1130,25 @@ BGP update's communities attribute is completely removed. @subsection Display BGP Routes by Community To show BGP routes which has specific BGP communities attribute, -@code{show ip bgp} command can be used. The @var{community} value and -community list can be used for @code{show ip bgp} command. - -@deffn Command {show ip bgp community} {} -@deffnx Command {show ip bgp community @var{community}} {} -@deffnx Command {show ip bgp community @var{community} exact-match} {} -@code{show ip bgp community} displays BGP routes which has communities -attribute. When @var{community} is specified, BGP routes that matches -@var{community} value is displayed. For this command, @code{internet} -keyword can't be used for @var{community} value. When -@code{exact-match} is specified, it display only routes that have an -exact match. -@end deffn - -@deffn Command {show ip bgp community-list @var{word}} {} -@deffnx Command {show ip bgp community-list @var{word} exact-match} {} -This commands display BGP routes that matches community list -@var{word}. When @code{exact-match} is specified, display only routes -that have an exact match. +@code{show bgp @{ipv4|ipv6@}} command can be used. The +@var{community} and @var{community-list} subcommand can be used. + +@deffn Command {show bgp @{ipv4|ipv6@} community} {} +@deffnx Command {show bgp @{ipv4|ipv6@} community @var{community}} {} +@deffnx Command {show bgp @{ipv4|ipv6@} community @var{community} exact-match} {} +@code{show bgp @{ipv4|ipv6@} community} displays BGP routes which has communities +attribute. Where the address family can be IPv4 or IPv6 among others. When +@var{community} is specified, BGP routes that matches @var{community} value is +displayed. For this command, @code{internet} keyword can't be used for +@var{community} value. When @code{exact-match} is specified, it display only +routes that have an exact match. +@end deffn + +@deffn Command {show bgp @{ipv4|ipv6@} community-list @var{word}} {} +@deffnx Command {show bgp @{ipv4|ipv6@} community-list @var{word} exact-match} {} +This commands display BGP routes for the address family specified that matches +community list @var{word}. When @code{exact-match} is specified, display only +routes that have an exact match. @end deffn @node Using BGP Communities Attribute -- 2.39.5