Junos
Highlighted
Junos

BGP Redistribution Verification

‎04-17-2019 01:32 AM


Hi Folks,

 

I am new to Junos. I have a Cisco background. 

 

In the world of Cisco you can view the BGP table and can see prefixes that have been redistributed in to BGP.
In Cisco IOS the command would be 'show ip bgp' which shows the bgp table
which will include any redistributed prefixes. Is there a similar command in Junos?

 


I have a particular problem where a static route has been redistributed in to bgp but
I am unable to see it in the bgp table on the local router. I can see the prefix on a remote router.

 

On the local router I am using the command below but I think this is looking at the forwarding table not the  bgp table.

 

show route protocol bgp <prefix>

 

 

 

Look forward to hearing from you.

 

Phil

5 REPLIES 5
Junos

Re: BGP Redistribution Verification

‎04-17-2019 03:08 AM
Below mentioned command can be used to verify advertised route from local router:
show route advertising-protocol bgp <bgp peer ip>
On remote router you can use:
show route receiving-protocol bgp <bgp peer ip>

Thanks,
Nellikka
JNCIE x3 (SEC #321; SP #2839; ENT #790)
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!!
Junos

Re: BGP Redistribution Verification

‎04-17-2019 03:14 AM

Thanks but is there a way of looking at the bgp table without having to resort to looking at the prefixes advertised to a bgp neighbor.

Junos

Re: BGP Redistribution Verification

[ Edited ]
‎04-17-2019 03:27 AM

Hello,

 


@philb1 wrote:

Thanks but is there a way of looking at the bgp table 


 

There is no such thing as "BGP table" in JUNOS. Consequently, there is no Cisco IOS-famous "BGP table scan" and no delay in advertising prefixes out if something has changed in the interim (such as route metric, community, next-hop, etc).

HTH

Thx

Alex

 

_____________________________________________________________________

Please ask Your Juniper account team about Juniper Professional Services offerings.
Juniper PS can design, test & build the network/part of the network as per Your requirements

+++++++++++++++++++++++++++++++++++++++++++++

Accept as Solution = cool !
Accept as Solution+Kudo = You are a Star !
Junos

Re: BGP Redistribution Verification

‎04-17-2019 05:44 AM

Thanks Alex

Junos

Re: BGP Redistribution Verification

‎04-19-2019 07:31 AM

This might further help clarify what the show route adversing/receive protocol commands are showing you. 

Route redistribution.png

Regards,

Yasmin Lara
Sunset Learning Institute (SLI)
Juniper Ambassador #QuadE - JNCIE-SP, JNCIE-ENT, JNCIE-DC, JNCIE-SEC
JNCIS-CLOUD, JNCDS-DC, JNCIA-DevOps