Adding Check Point to the BGP setup.
- clish config
- show bgp summary
- show bgp peer 10.255.2.5 detailed
- show bgp peer 10.255.2.5 received
- show route bgp
- Restarting BGP Peers in Gaia Clish
clish config
set as 65532
set bgp external remote-as 65001 on
set bgp external remote-as 65001 peer 10.255.2.5 on
set bgp external remote-as 65001 peer 10.255.2.5 route-refresh on
set inbound-route-filter bgp-policy 1 based-on-aspath aspath-regex "empty" origin any on
set inbound-route-filter bgp-policy 1 accept-all-ipv4
set inbound-route-filter bgp-policy 1 accept-all-ipv6
set inbound-route-filter bgp-policy 1 default-localpref 100
set inbound-route-filter bgp-policy 2 based-on-aspath aspath-regex "^.*$" origin any on
set inbound-route-filter bgp-policy 2 accept-all-ipv4
set inbound-route-filter bgp-policy 2 accept-all-ipv6
show bgp summary
show bgp summary
Routing Process BGP
State is on
Local Autonomous System is 65532
Default Weight is 0
IPv4 BGP Route Rank is 170
IPv6 BGP Route Rank is 170
ECMP is off
IGP Synchronization is off
show bgp peer 10.255.2.5 detailed
show bgp peer 10.255.2.5 detailed
----- Peer 10.255.2.5 -----
State Established (Uptime: 00:00:52)
Peer Type eBGP Peer
Remote AS 65001
Local AS 65532
Peer Capabilities IPv4 Unicast,Route Refresh,Cisco Route Refresh,4-Byte AS Extension
Our Capabilities IPv4 Unicast,Route Refresh,4-Byte AS Extension,Enhanced Route Refresh
Authentication None
Multihop Off
Reachability Detection Off
Graceful Restart Off
Keepalives
Last Received 0s
Last Sent 52s
Interval 60s
Holdtime 180s
Received
IPv4 Routes 11 (0 active)
IPv6 Routes 0 (0 active)
Sent
IPv4 Routes 0
IPv6 Routes 0
Notifications
Jul 1 19:36:34 Cease - other configuration change
show bgp peer 10.255.2.5 received
IPv4 Route MED LocalPref Nexthop Communities
0.0.0.0/0 None N/A(EBGP) 10.255.2.5
10.0.8.0/21 None N/A(EBGP) 10.255.2.5
10.29.0.1/32 None N/A(EBGP) 10.255.2.5
10.29.0.2/32 None N/A(EBGP) 10.255.2.5
10.255.0.1/32 None N/A(EBGP) 10.255.2.5
10.255.0.2/32 None N/A(EBGP) 10.255.2.5
10.255.4.0/24 None N/A(EBGP) 10.255.2.5
10.255.32.0/20 None N/A(EBGP) 10.255.2.5
10.255.80.0/20 None N/A(EBGP) 10.255.2.5
10.255.96.0/20 None N/A(EBGP) 10.255.2.5
10.255.112.0/20 None N/A(EBGP) 10.255.2.5
show route bgp
show route bgp
Codes: C - Connected, S - Static, R - RIP, B - BGP (D - Default),
O - OSPF IntraArea (IA - InterArea, E - External, N - NSSA),
IS - IS-IS (L1 - Level 1, L2 - Level 2, IA - InterArea, E - External),
A - Aggregate, K - Kernel Remnant, H - Hidden, P - Suppressed,
NP - NAT Pool, U - Unreachable, i - Inactive
B 0.0.0.0/0 via 10.255.2.5, eth1, cost None, age 10
B 10.0.8.0/21 via 10.255.2.5, eth1, cost None, age 10
B 10.29.0.1/32 via 10.255.2.5, eth1, cost None, age 10
B 10.29.0.2/32 via 10.255.2.5, eth1, cost None, age 10
B 10.255.0.1/32 via 10.255.2.5, eth1, cost None, age 10
B 10.255.0.2/32 via 10.255.2.5, eth1, cost None, age 10
B 10.255.32.0/20 via 10.255.2.5, eth1, cost None, age 10
Restarting BGP Peers in Gaia Clish
restart bgp all
Links
- https://sc1.checkpoint.com/documents/R81/WebAdminGuides/EN/CP_R81_Gaia_Advanced_Routing_AdminGuide/Topics-GARG/BGP-Configuring-in-Gaia-Clish.htm?tocpath=BGP%7CConfiguring%20BGP%20in%20Gaia%20Clish%7C_____0
- https://community.checkpoint.com/t5/General-Topics/Received-BGP-routes-appear-as-hidden/td-p/170587
