Routing
Highlighted
Routing

Anyone can explain command show route receive-protocol bgp ?

‎07-28-2016 08:32 AM

In MX960, bgp peer have not been configured yet. I got the output after typing command show route receive-protocol bgp. Please see the below

My question is as it does not show any routes there, why it shows 31 routes, 3035 routes and 5 routes? Thank you

 

JUNIPER> show route receive-protocol bgp 2021:4878:f0f:4002:f0:19:0:2

 inet.0: 30 destinations, 31 routes (30 active, 0 holddown, 0 hidden)

 WN.inet.0: 1517 destinations, 3035 routes (1516 active, 0 holddown, 12 hidden)

 inet6.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)

 WN.inet6.0: 3007 destinations, 6497 routes (3097 active, 0 holddown, 0 hidden)

2 REPLIES 2
Highlighted
Routing

Re: Anyone can explain command show route receive-protocol bgp ?

‎07-28-2016 09:25 AM

Hi, 

 

"show route receive-protocol bgp" is normally the prefixes received from a BGP peer before any policies are processed and the routes are imported in the routing-table.

 

The figures displayed are the actual routes in the corresponding routing-tables.

"show route summary" would display the same figures.

 

Cheers,

Ashvin

Highlighted
Routing

Re: Anyone can explain command show route receive-protocol bgp ?

‎07-28-2016 04:11 PM

This output is saying that you are not receiving any routes from this peer.  

 

As Ashvin notes, the numbers are just the total number of each type of route in that particular table as a whole.  And the output shows that none of those routes are from this peer.  This we would expect on the inet.0 tables as they are ipv4 and only inet6.0 tables would what routes from an ipv6 peer.

Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
http://puluka.com/home
Feedback