Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Blason_R
Leader
Leader
Jump to solution

BGP queries on gaia

Hi Team,

 

I am setting up BGP with AWS and I am seeing 5 routes are learned but probably those are not being installed. When I referred to the document [sk95967] I see "In BGP, routes are not installed by default, unless an inbound policy (either route map, or route filter) is configured to accept the routes."

Do I need to add any inbound route-map to install the routes?

Here is my BGP config

set bgp external remote-as 9730 on
set bgp external remote-as 9730 peer xx.xx.xx.xx on
set bgp external remote-as 9730 peer xx.xx.xx.xx holdtime 45
set bgp external remote-as 9730 peer xx.xx.xx.xx keepalive 15

 

----- Peer xx.xx.xx.xx-----
State Established (Uptime: 11:56:41)
Peer Type eBGP Peer
Remote AS 9730
Local AS 64520
Peer Capabilities InetUnicast,RouteRefresh,CiscoRouteRefresh,GracefulRestart,4-Byte AS Extension
Our Capabilities InetUnicast,4-Byte AS Extension
Authentication None
Multihop Off
Reachability Detection Off
Graceful Restart Off
Keepalives
Last Received 52s
Last Sent 6s
Interval 15s
Holdtime 45s
Received
IPv4 Routes 5 (0 active)
IPv6 Routes 0 (0 active)
Sent
IPv4 Routes 2
IPv6 Routes 0

 

show bgp peers

Flags: R - Peer restarted, W - Waiting for End-Of-RIB from Peer

PeerID   AS     Routes ActRts State InUpds OutUpds Uptime
x.x.x.x    9730   5 0 Established 5760 1 12:02:33

Thanks and Regards,
Blason R
CCSA,CCSE,CCCS
0 Kudos
1 Solution

Accepted Solutions
Blason_R
Leader
Leader

This is ok and yes I forgot to add inbound route-map and hence routes are not installed

I added the policy and started receiving routes.

set inbound-route-filter bgp-policy 512 based-on-as as 9730 on

set inbound-route-filter bgp-policy 512 accept-all-ipv4

 

Thanks and Regards,
Blason R
CCSA,CCSE,CCCS

View solution in original post

0 Kudos
1 Reply
Blason_R
Leader
Leader

This is ok and yes I forgot to add inbound route-map and hence routes are not installed

I added the policy and started receiving routes.

set inbound-route-filter bgp-policy 512 based-on-as as 9730 on

set inbound-route-filter bgp-policy 512 accept-all-ipv4

 

Thanks and Regards,
Blason R
CCSA,CCSE,CCCS
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events