A quick post showing how to save the routing and interface information from your Check Point Management Servers and Gateways running on the Secure Platform OS.
Simply SSH onto the box and enter
netstat -rn > routes.txt
ifconfig > ifconfig.txt
Copy the 2 txt files off the box and then also grab a copy of /etc/sysconfig/netconf.C and you’re done.
I wont post out the full configuration, as it would just be a culpoe of access lists and a route map on top of standard BGP configuration, but if Weight and LP can’t be used, I’d just use MED, given no other attributes before it are being used.Another way would be to prepend AS’s with an AS Path access list on R2 to R1, so that R3 is seen as the route with the lowest hop count.