cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
643
Views
0
Helpful
2
Replies

BGP peer routing tables

kitkat0981
Level 1
Level 1

Hello,

How do you stop the BGP peer from sending you his complete routing table?

Also, what is the command to see how many routing entries there is related to BGP?

1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Nelson,

1)

you can use a form of input filter if you want to receive only a default route or only a default route + some specific routes

ip prefix-list only-default permit 0.0.0.0/0

route-map REC_DEF_ONLY permit 10

match ip address prefix only-default

router bgp XX

neighbor  y.y.y.y route-map REC_DEF_ONLY in

2)

show ip bgp summary

show ip route summary

Hope to help

Giuseppe

View solution in original post

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Nelson,

1)

you can use a form of input filter if you want to receive only a default route or only a default route + some specific routes

ip prefix-list only-default permit 0.0.0.0/0

route-map REC_DEF_ONLY permit 10

match ip address prefix only-default

router bgp XX

neighbor  y.y.y.y route-map REC_DEF_ONLY in

2)

show ip bgp summary

show ip route summary

Hope to help

Giuseppe

thanks