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?
#sh ip bgp sum | count ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ Number of lines which match regexp = 5
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: