diff options
author | Nigel Kukard <nkukard@lbsd.net> | 2017-09-09 11:51:09 +0200 |
---|---|---|
committer | Nigel Kukard <nkukard@lbsd.net> | 2017-09-11 11:12:04 +0200 |
commit | b0e019cc0ccae3fdb5219a14178b634862df6dff (patch) | |
tree | 7079a213902e748617113c2f3036fa26b1e6d79e /doc | |
parent | Merge pull request #1154 from donaldsharp/bgp_aspath (diff) | |
download | frr-b0e019cc0ccae3fdb5219a14178b634862df6dff.tar.xz frr-b0e019cc0ccae3fdb5219a14178b634862df6dff.zip |
doc: Clarified the use of show bgp ipv4/ipv6 for communities
Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bgpd.texi | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/bgpd.texi b/doc/bgpd.texi index 1703617dc..144729bc6 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 |