Configuring IPv4 Route Redistribution to BGP in Gaia Clish
|
Important - In a Cluster |
You can configure IPv4 route redistribution in Gaia Clish The name of the default command line shell in Check Point Gaia operating system. This is a restricted shell (role-based administration controls the number of commands available in the shell)..
-
To see the available "
set
" commands for IPv4 Route Redistribution to a BGP Peer AS, enter in GaiaCheck Point security operating system that combines the strengths of both SecurePlatform and IPSO operating systems. Clish:
set route-redistribution to bgp-as[Esc][Esc]
-
To see the configured IPv4 Route Redistribution to a BGP Peer AS, enter in Gaia Clish:
show configuration route-redistribution[Esc][Esc]
These commands let you configure a policy for exporting routes to a BGP Peer AS.

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

The parameters are sorted alphabetically.
Parameter |
Description |
---|---|
|
Enables redistribution of routes into BGP. |
|
Configures whether to accept or reject ( |
|
Disables the redistribution of all IPv6 routes from this protocol. |
|
Enables the redistribution of all IPv6 routes from this protocol. |
|
Disables the redistribution of all IPv4 routes from this protocol. |
|
Enables the redistribution of all IPv4 routes from this protocol. |
|
Appends a BGP Community to routes exported through this rule |
|
Applies this redistribution rule only to BGP routes, whose BGP Community attribute contains a specified Community. |
|
Disables redistribution of this aggregate route into BGP. |
|
Configures the IPv4 aggregate route to redistribute into BGP.
|
|
Configures the redistribution of BGP routes based on the AS Number. |
|
Configures the redistribution of BGP routes based on the AS-Path attribute. A valid AS_PATH regular expression contains only digits and these special characters:
|
|
Configures the redistribution of all IPv4 routes into BGP. |
|
Configures the redistribution of all directly connected routes from the specified interface to the given BGP AS. |
|
Disables redistribution of routes from this interface into BGP. |
|
Configures the redistribution of OS kernel routes. |
|
Configures the redistribution of IPv4 OSPFv2 routes (from the specified OSPF instance). |
|
Configures the redistribution of IPv4 OSPFv2 External routes (from the specified OSPF instance). |
|
Configures the redistribution of IPv4 RIP routes. |
|
Configures the redistribution of IPv6 RIPng routes. |
|
Disables redistribution of this static route into BGP. |
|
Configures the redistribution of static routes to the given BGP AS:
|
|
Configures the redistribution of NAT Pools. See NAT Pools.
|
|
Configures the local BGP route preference value, when routes are redistributed into BGP. The greater the local preference, the more preferred is the route. |
|
Matches only routes with prefix and mask length exactly equal to the specified network. |
|
Matches any route contained within the specified network. |
|
Matches any route with prefix equal to the specified network, whose mask length falls within a particular range. |
|
Matches only routes that are contained within, but more specific than, the specified network. For example, with a greater mask length. |
|
Configures the cost (Multi-Exit Discriminator) of using this route. |
|
Optional. Assigns the BGP metric to be added to routes redistributed through this rule. The metric in BGP is the Multi-Exit Discriminator (MED), used to break ties between routes with equal preference from the same neighboring Autonomous System. Lower MED values are preferred, and routes with no MED tie with a MED value of 0 for most preferred. Range: 0-4294967295, or default Default: No metric |
|
Disables redistribution of the specified network routes into BGP. |
|
Enables redistribution of the specified network routes into BGP. |
|
Configures the route origin:
|
|
Configures the Autonomous System of the BGP Group. |
|
Disables all route redistribution to this protocol. |

-
Redistribute all IPv4 default routes into BGP AS 100, and assign the cost of 10 to them.
set route-redistribution to bgp-as 100 from default-origin all-ipv4-routes metric 10 on
-
Redistribute all the static routes into the BGP AS 100:
set route-redistribution to bgp-as 100 from static-route all-ipv4-routes on
-
Redistribute all IPv4 static routes into BGP AS 100, and assign the cost of 1 to them.
set route-redistribution to bgp-as 100 from static-route all metric 1 on
-
Assign the BGP local preference of 100 to routes redistributed into BGP AS 100:
set route-redistribution to bgp-as 100 localpref 100