How to clear bgp if peers had exceeded the maximum number of prefixes configure and how to show maximum prefixes in cisco

How to clear bgp if peers had exceeded the maximum number of prefixes configure and how to show maximum prefixes in cisco
LVL 7
tankergoblinAsked:
Who is Participating?
 
Jan SpringerCommented:
clear ip bgp neighbor <neighbor_ip>
sh ip bgp sum

But what you really need is this under your BGP configuration (change the max to what you need):

     neighbor <neighbor_ip> maximum-prefix 768000
     bgp max-as limit 50

The first command you can specify optional action -- otherwise prefixes past that number get dropped.  The second command I would use regardless.
1
 
tankergoblinAuthor Commented:
How to check which ip to delete if i dont know the ip address. is there any show ip list for me to select.
or clear ip bgp neighbour can only removed ip neighbour show below as example.
Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.70.0.90     4        25384  162650  180746    10114    0    0 16w1d          15
0
 
Jan SpringerCommented:
What prefix list are you using for incoming prefixes?  Would you please post it?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.