09-06-2017 12:25 PM - edited 03-05-2019 09:05 AM
All 3 routers are running BGP. I have only configured them with #neighbor x.x.x.x remote-as xxx command. Routers KCOM and CONNEXIN should have 1 BGP route each installed in their routing table but when I run #show ip bgp command, nothing comes up. Interfaces are configured with IP addresses and are on. I can ping KCOM and CONNEXIN routers from RTR-01.
Solved! Go to Solution.
09-06-2017 12:48 PM - edited 09-06-2017 01:04 PM
Hi
BGP will advertise the routes only if you are using network command line matching the subnet mask and if the prefixes to be advertised are into the routing table.
For example:
KCOM Router
interface loopback 0
ip address 151.1.1.1 255.255.255.255
router bgp 111
network 151.1.1.1 mask 255.255.255.255
neighbor 150.1.1.2 remote-as 500
In order to see the BGP peering status and amount of the prefixes received from a neighbor, you can use:
show ip bgp summary
and to see the BGP table:
show ip bgp
Regards.
09-06-2017 12:37 PM
Hi Mantas,
We need to understand more about your setup. Can you please post the complete output of the following commands from all three routers?
show ip bgp show ip bgp summary show run | section bgp
Thanks!
Best regards,
Peter
09-06-2017 01:47 PM
Hello.
I have just started learning BGP and want to really understand it. Managed to figure it out myself after spending 2 hours on this simple topology trying different commands. It's an awesome feeling to know stuff.
Thanks for your replies.
09-06-2017 01:58 PM
You are welcome my friend.
We learn everyday.
:-)
09-06-2017 12:48 PM - edited 09-06-2017 01:04 PM
Hi
BGP will advertise the routes only if you are using network command line matching the subnet mask and if the prefixes to be advertised are into the routing table.
For example:
KCOM Router
interface loopback 0
ip address 151.1.1.1 255.255.255.255
router bgp 111
network 151.1.1.1 mask 255.255.255.255
neighbor 150.1.1.2 remote-as 500
In order to see the BGP peering status and amount of the prefixes received from a neighbor, you can use:
show ip bgp summary
and to see the BGP table:
show ip bgp
Regards.
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