In This Section: |
You can configure routing policy for RIP, OSPFv2 and BGP in these ways:
Routing Policy Configuration |
Description |
Configured In |
---|---|---|
Inbound Route filters |
Define filters for routes accepted by a given routing protocol. Inbound Route filters are similar to route maps for an import policy. |
Gaia Portal |
Route Redistribution |
Redistribute routes learned from one routing protocol into another routing protocol. It is also useful for advertising static routes, such as the default route, or aggregate routes. Route Redistribution is similar to route maps for an export policy. |
Gaia Portal, or Gaia Clish |
Routemaps |
Control which routes are accepted and announced. Used to configure inbound route filters, outbound route filters, and to redistribute routes from one protocol to another. Route maps offer more configuration options than the Portal options. However, they are not functionally equivalent. Routemaps assigned to a protocol for import or export override corresponding filters and route redistribution rules. |
Gaia Clish |
Inbound Route Filters let you define which external to a routing protocol routes are accepted by that protocol. You can define Inbound Route Filters through the Portal or through the CLI.
By default, all routes, external to RIP, OSPFv2 (IPv4), and OSPFv3 (IPv6), are accepted by these protocols. To narrow down the selection of accepted routes, you can edit the default policies and configure new policies.
By default, BGP does not accept any routes. You must configure explicit policies for BGP to accept routes.
When you configure Inbound Route Filters, to specify precision with which the network addresses are matched, use the same Match Type criteria rules as for route redistribution:
For example, if the network address 10.0.0.0/8 is specified in the filter, then any route with the prefix 10 and the mask length greater than 8 is matched, but those with the mask length of exactly 8 are not matched.
For example, if the network address 10.0.0.0/8 is specified in the filter, then any route with the prefix 10 and the mask length equal to or greater than 8 is matched.
For example, if the network address 10.0.0.0/8 and the mask range 16 to 8 are specified in the filter, then any route with the prefix 10 and the mask length between 8 and 16 is matched.
Note - |
To change a default Inbound Router Filter policy :
To configure an Inbound Route Filter for an individual route:
To configure a policy for RIP routes:
The Add Route window opens.
To configure a policy for BGP routes:
The Add Route window opens.
Note - For BGP, no routes are accepted from a peer by default. You must configure an explicit Inbound BGP Route Filter to accept a route from a peer. |
Parameters
Parameter |
Description |
---|---|
BGP Type: Based on AS_PATH Regular Expression (1-511) |
An autonomous system can control BGP importation. BGP supports propagation control through the use of AS-PATH regular expressions. BGP version 4 supports the propagation of any destination along a contiguous network mask. |
BGP Type: Based on Autonomous System Number (512-1024) |
An autonomous system can control BGP importation. BGP can accept routes from different BGP peers based on the peer AS number. |
Import ID |
The order in which the import lists are applied to each route.
|
AS Number |
Autonomous system number of the peer AS.
|
AS-PATH Regular Expression |
The following definitions describe how to create regular expressions. AS-PATH operators are one of the following:
|
Origin |
The completeness of AS-PATH information.
|
Weight |
BGP stores any routes that are rejected by not mentioning them in a route filter. BGP explicitly mentions these rejected routes in the routing table and assigns them a restrict keyword with a negative weight. A negative weight prevents a route from becoming active, which means that it is not installed in the forwarding table or exported to other protocols. This feature eliminates the need to break and re-establish a session upon reconfiguration if importation policy is changed.
|
Local Pref. |
The BGP local preference to the imported route. Check Point recommends that you configure this value to bias the preference of Note: Do not use the local preference parameter when importing BGP. The local preference value is sent automatically when redistributing external BGP routes to an internal BGP route. The local preference parameter is ignored if used on internal BGP import statements.
|
All Routes: Action |
Whether the routing protocol should accept or restrict the All Routes route, equivalent to 0.0.0.0/0, from the given AS-Path or AS. If set to Accept, you can specify a Rank for all routes.
|
All Routes: Rank |
If All Routes: Action is set to Accept, you can specify a Rank for all routes.
|
To fine tune your OSPF, RIP or BGP Policy:
Do these steps by configuring the parameters in the Add Route window.
Add Route Window
Parameter |
Description |
---|---|
Protocol |
The protocol for which you want to create the inbound route filter. |
Address Subnet mask |
A baseline route that specifies a route filter. This route is the specified route in the context of a single route filter. |
Matchtype |
The routes that are filtered for the From Address and Subnet mask. These are the ways to compare other routes against it:
|
Action |
What to do with the routes that match the filter that is defined by the From Address, Subnet mask and Matchtype.
|
Weight |
BGP stores any routes that are rejected by not mentioning them in a route filter. BGP explicitly mentions these rejected routes in the routing table and assigns them a restrict keyword with a negative weight. A negative weight prevents a route from becoming active, which means that it is not installed in the forwarding table or exported to other protocols. This feature eliminates the need to break and re-establish a session upon reconfiguration if importation policy is changed.
|
Local Pref |
The BGP local preference to the imported route. Check Point recommends that you configure this value to bias the preference of Note: Do not use the local preference parameter when importing BGP. The local preference value is sent automatically when redistributing external BGP routes to an internal BGP route. The local preference parameter is ignored if used on internal BGP import statements.
|