doc: Cleaned up BGP showing of information section

Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
This commit is contained in:
Nigel Kukard 2017-09-09 10:27:16 +00:00
parent 4f65c0d630
commit 446176bdec

View File

@ -29,7 +29,7 @@ BGP-4.
* BGP Communities Attribute::
* BGP Extended Communities Attribute::
* BGP Large Communities Attribute::
* Displaying BGP routes::
* Displaying BGP information::
* Capability Negotiation::
* Route Reflector::
* Route Server::
@ -1440,16 +1440,16 @@ overwriting other values. Multiple large-community values can be specified.
@c -----------------------------------------------------------------------
@node Displaying BGP routes
@section Displaying BGP Routes
@node Displaying BGP information
@section Displaying BGP information
@menu
* Show IP BGP::
* More Show IP BGP::
* Showing BGP information::
* Other BGP commands::
@end menu
@node Show IP BGP
@subsection Show IP BGP
@node Showing BGP information
@subsection Showing BGP information
@deffn {Command} {show ip bgp} {}
@deffnx {Command} {show ip bgp @var{A.B.C.D}} {}
@ -1469,9 +1469,6 @@ Origin codes: i - IGP, e - EGP, ? - incomplete
Total number of prefixes 1
@end example
@node More Show IP BGP
@subsection More Show IP BGP
@deffn {Command} {show ip bgp regexp @var{line}} {}
This command displays BGP routes using AS path regular expression
(@pxref{BGP Regular Expressions}).
@ -1489,28 +1486,37 @@ This command displays BGP routes using community list (@pxref{Display
BGP Routes by Community}).
@end deffn
@deffn {Command} {show ip bgp summary} {}
@deffn {Command} {show bgp @{ipv4|ipv6@} summary} {}
Show a bgp peer summary for the specified address family.
@end deffn
@deffn {Command} {show ip bgp neighbor [@var{peer}]} {}
@deffn {Command} {show bgp @{ipv4|ipv6@} neighbor [@var{peer}]} {}
This command shows information on a specific BGP @var{peer}.
@end deffn
@deffn {Command} {clear ip bgp @var{peer}} {}
@deffn {Command} {show bgp @{ipv4|ipv6@} dampening dampened-paths} {}
Display paths suppressed due to dampening.
@end deffn
@deffn {Command} {show bgp @{ipv4|ipv6@} dampening flap-statistics} {}
Display flap statistics of routes.
@end deffn
@node Other BGP commands
@subsection Other BGP commands
@deffn {Command} {clear bgp @{ipv4|ipv6@} *} {}
Clear all address family peers.
@end deffn
@deffn {Command} {clear bgp @{ipv4|ipv6@} @var{peer}} {}
Clear peers which have addresses of X.X.X.X
@end deffn
@deffn {Command} {clear ip bgp @var{peer} soft in} {}
@deffn {Command} {clear bgp @{ipv4|ipv6@} @var{peer} soft in} {}
Clear peer using soft reconfiguration.
@end deffn
@deffn {Command} {show ip bgp dampened-paths} {}
Display paths suppressed due to dampening
@end deffn
@deffn {Command} {show ip bgp flap-statistics} {}
Display flap statistics of routes
@end deffn
@deffn {Command} {show debug} {}
@end deffn