set protocols bgp group ebgp neighbor 65.20.25.24 peer-as 45
set protocols bgp group ebgp neighbor 158.12.20.12 peer-as 40
set protocols bgp group ebgp export bgp-export
If we have export statement defined like above, Is it not only two networks will be advertised to both the peer and not other routes.
I want only the below networks defined in the route map/filter to be advertised to
158.12.20.12
peer and rest all the incoming routes to be sent to 65.20 .....peer, because 65.20...network is locally connected and the 66.78 network is being received from the peer 65.20.25.24. All the Internet routes to be sent to 65.20.25.24 including the default.
I also encountered an issue today. There is Primary along with the ISP (on which cisco is installed). I replaced the Juniper with cisco and the sites are not working.
------------------------------
Arun kumar R
------------------------------
Original Message:
Sent: 12-02-2022 01:17
From: Sheetanshu Shekhar
Subject: Cisco to Juniper
================================== Export Policy ====================================set policy-options policy-statement bgp-export term 1 from route-filter 65.20.25.20/30 exactset policy-options policy-statement bgp-export term 1 from route-filter 66.78.55.0/24 exactset policy-options policy-statement bgp-export term 1 then accept========================================================================================================================= Set autonomous system ===============================set routing-options autonomous-system 20================================================================================================================== BGP Configuration ==============================================set protocols bgp group ebgp neighbor 65.20.25.24 peer-as 45set protocols bgp group ebgp neighbor 158.12.20.12 peer-as 40set protocols bgp group ebgp export bgp-export==========================================================================================
------------------------------
Sheetanshu Shekhar
Original Message:
Sent: 12-01-2022 15:36
From: Arun kumar R
Subject: Cisco to Juniper
Migrating from cisco to Juniper
Want to know if the configurations are correct
Router bgp 20
network 65.20.25.20 mask 255.255.255.252
network 66.78.55.0 mask 255.255.255.0
neighbor 65.20.25.24 remote-as 45
neighbor 158.12.20.12 remote-as 40
Juniper :
Looking for equivalent configuration
------------------------------
Arun kumar R
------------------------------