Quantcast
Channel: All SRX Services Gateway posts
Viewing all articles
Browse latest Browse all 17645

Re: viewing unfiltered bgp routes?

$
0
0

show route receive-protocol bgp <neighbor-address> is the command to view raw unfiltered BPG routes as advertised by our peers

Eg show route receive-protocol bgp 1.1.1.1 (here 1.1.1.1 is the bgp peer-address)

 

More info on the command:

 

 

https://www.juniper.net/documentation/en_US/junos14.1/topics/reference/command-summary/show-route-receive-protocol.html

 

The output displays the selected routes and the attributes with which they were received, but does not show the effects of import policy on the routing attributes.

 

Here are  more explanation on Table's of bgp:

 

 

 

Adjacency-RIB-IN: Contains all received routes from each peer. The Adjacency-RIB-In tables are the pre-policy tables, meaning that the routes in these tables have not been filtered or modified by routing policies. An Adjacency-RIB-In table is created on the local router for each established BGP peer. All routes received from the peer are placed in the appropriate memory table. There’s one notable exception to this rule: Routes containing an AS Path loop are immediately discarded by the local route

 

Command : show route receive-protocol bgp <neighbor-address>


RIB-LOCAL: Contains routes the local router uses to forward traffic. The Local-RIB tables are the post-policy tables. Even though some vendor may implement 3 different routing table, Junipers implementation use the local inet.0 as the BGP Local-RIB

 

Command : show route protocol bgp

 


Adjacency-RIB-OUT: Contains all advertised routes sent to each peer and are placed in the appropriate memory table. In other words, a BGP router advertises only routes that it is currently using to forward data traffic. By default, all Local-RIB routes are placed in each Adjacency-RIB-OUT

 

Command :show route advertising-protocol bgp <neighbor-address>

 

 

Please mark my Solution as accepted(under Options drop down menu) , as it solves your question


Viewing all articles
Browse latest Browse all 17645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>