Configuring IPv4 Route Redistribution to OSPFv2 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 OSPFv2, enter in GaiaCheck Point security operating system that combines the strengths of both SecurePlatform and IPSO operating systems. Clish:
set route-redistribution to ospf2[Esc][Esc]
-
To see the configured IPv4 Route Redistribution to OSPFv2, enter in Gaia Clish:
show configuration route-redistribution[Esc][Esc]
These commands let you configure a policy for exporting routes to OSPFv2.

|

|

|

|

|

|

|

|

|

|

|
|

The parameters are sorted alphabetically.
Parameter |
Description |
||
---|---|---|---|
|
Enables redistribution of routes into OSPFv2. |
||
|
Configures whether to accept or reject ( |
||
|
Disables the redistribution of all IPv4 routes from this protocol. |
||
|
Enables the redistribution of all IPv4 routes from this protocol. |
||
|
Disables redistribution of this aggregate route into OSPFv2. |
||
|
Configures the IPv4 aggregate route to redistribute into OSPFv2.
|
||
|
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 directly connected routes from the specified interface. |
||
|
Disables redistribution of routes from this interface into OSPFv2. |
||
|
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. |
||
|
Disables redistribution of this static route into OSPFv2. |
||
|
Configures the redistribution of static routes into OSPFv2:
|
||
|
Configures the redistribution of NAT Pools. See NAT Pools.
|
||
|
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. |
||
|
Optional. Assigns the OSPFv2 metric to be added to routes redistributed through this rule. The metric used by OSPF is a cost, representing the overhead required (due to bandwidth) to reach a destination. Routes with higher OSPF cost are more expensive. Range: 1-16777215, or default Default: No metric |
||
|
Disables redistribution of the specified network routes into OSPFv2. |
||
|
Enables redistribution of the specified network routes into OSPFv2. |
||
|
Configures the route origin:
|
||
|
Modifies the OSPF route tag that was automatically generated based on the BGP AS. If this value is configured, then the tag is attached to external OSPF routes upon export. Range: 1-4095, or default Default: No route tag |
||
|
Disables ( If this feature is enabled, then the tag is attached to external OSPF routes upon export. Range: Default: |
||
|
Configures the value to place in the external OSPF route tag field.
Range: 1-2147483647, or default Default: No route ta |
||
|
Disables all route redistribution to this protocol (for the specified OSPF instance). |

-
Redistribute all IPv4 routes from the interface eth2 into OSPFv2:
set route-redistribution to ospf2 from interface eth2 on
-
Redistribute all routes from the interface
eth0
into OSPFv2, and assign the metric of 50 to them:set route-redistribution to ospf2 from interface eth0 metric 50 on
-
Redistribute all IPv4 routes for the IP addresses in the Autonomous System 100 into OSPF (valid for OSPFv2 only), and assign the cost of 99 to them:
set route-redistribution to ospf2 from bgp-as-number 100 all-ipv4-routes metric 99 on
-
Redistribute all IPv4 routes for the IP addresses in the Autonomous System 100 into OSPF (valid for OSPFv2 only), except for routes for the network 192.168.0.0/16:
set route-redistribution to ospf2 from bgp-as-number 100 network 192.168.0.0/16 action restrict
set route-redistribution to ospf2 from bgp-as-number 100 all-ipv4-routes on