06-19-2015 05:54 AM
The show ip bgp summary will produce a listing of neighbors but I'm looking for a way to get a count of the neighbors. Anyone knows of a way to do that?
Solved! Go to Solution.
06-19-2015 10:55 AM
Pipe has a count option.
#sh ip bgp sum | count ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
Number of lines which match regexp = 5
06-19-2015 10:55 AM
Pipe has a count option.
#sh ip bgp sum | count ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
Number of lines which match regexp = 5
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide