Print Download PDF Send Feedback

Previous

Next

Configuring Route Redistribution - Gaia Portal

Route redistribution lets a router propagate routes between routing protocols - IPv4 or IPv6. Route redistribution is also useful for advertising the default route, static routes, or aggregate routes.

Note - Static routes take precedence over dynamic routes of any kind, native or redistributed.

To configure route redistribution in Gaia Portal:

  1. Click the Advanced Routing > Route Redistribution page.
  2. In the Route Redistributions section:
    • To add a redistributed route, click Add Redistribution From.
    • To edit a redistributed route, select it and click Edit.
  3. Configure the route source, the destination routing protocol, and the corresponding redistribution settings.

Routes from these sources can be redistributed into IPv4 and IPv6 routing protocols:

Interface

Redistribute interface routes.

Parameter

Description

To Protocol

The destination routing protocol.

Interface

The interface from which to distribute the routes. You can select all, or one of the configured interfaces.

Metric

The cost of the redistributed routes in the destination routing protocol.

Static

Redistribute static routes.

Parameter

Description

To Protocol

The destination routing protocol.

Static Route

The static route to be redistributed into the destination routing protocol.

Metric

The cost of the redistributed routes in the destination routing protocol.

Note - this parameter is mandatory when configuring redistribution into RIP.

Redistributing IPv4 Routes

Configure route sources for redistribution into IPv4 routing protocols.

Redistributing IPv4 Routes to BGP

Redistribute default routes into a specific BGP Autonomous System (AS):

Parameter

Description

To Protocol

The destination BGP AS ID.

Metric

The cost of the redistributed routes in the destination AS - a number in the range 1-4294967295

For redistribution into BGP, you can configure redistribution settings for each Autonomous System.

To configure BGP redistribution settings for each Autonomous System:

  1. In the BGP Redistribution Settings section, select a BGP AS and click Edit.
  2. Configure the parameters:
    • MED (Multi-Exit Discriminator) - The cost of using this route (0 - 2147483647)
    • Local Preference - Local BGP route preference value when routes are redistributed into BGP (0 - 2147483647: the higher the local preference, the more preferred is the route)
  3. Click Save.

Redistributing IPv4 Routes from BGP Specific AS

Redistribute BGP routes from a specific BGP Autonomous System (AS):

Parameter

Description

To Protocol

The destination routing protocol.

From BGP AS

The source BGP AS, from which routes get redistributed.

Routes: All

Choose which BGP Based on AS routes to redistribute into the destination routing protocol. When All is selected, all active BGP Based on AS routes get redistributed. When cleared (default), only the BGP Based on AS routes that match the Address Range and Match Type criteria get redistributed.

Route: Address Range

The network route to be redistributed into the destination routing protocol. Specify the IPv4 prefix and the mask length.

Route: Match Type

The precision with which the Address Range routes are matched:

  • Normal (default)- matches routes for the IP addresses and IP subnets in the specified range, including the range itself
  • Exact - matches the routes for the specified address range exactly as it appears
  • Refines - matches routes for the IP addresses and IP subnets in the specified range, but not the range itself
  • Range - matches routes for the IP subnets in the specified range, including the range itself

Action

To redistribute the routes that match the specified criteria or not:

  • Accept (default) - to redistribute
  • Restrict - not to redistribute

Metric

The cost of the redistributed routes in the destination routing protocol:

  • RIP - a number in the range 1-16
  • OSPFv2 - a number in the range 1-16777215
  • BGP - a number in the range 1-4294967295

Note - this parameter is mandatory when configuring redistribution into RIP.

RIP Tag (when redistributing into RIP only)

RIP route tag (optional) - a value in the range 1-65535.

Automatic Tag (when redistributing into OSPFv2 only)

OSPFv2 route tag (optional) - when selected, uses the value specified in Arbitrary Tag to generate the route tag value.

Arbitrary Tag (when redistributing into OSPFv2 only)

Used only when Automatic Tag is selected. Valid values: 0-4095.

Manual Tag (when redistributing into OSPFv2 only)

OSPFv2 route tag (optional). Valid values: 1-2147483647

Redistributing IPv4 Routes from BGP Specific AS Path

Redistribute BGP routes from a specific BGP Autonomous System (AS) based on AS-Path:

Parameter

Description

To Protocol

The destination routing protocol.

From BGP AS-Path

AS Path, defined through a regular expression. An AS-Path regular expression consists of one or more term-operator pairs. Each term identifies one or more of the Autonomous Systems, and each operator specifies the matching criteria for the corresponding term.

An AS-Path Regular Expression term can be defined through single AS numbers and groups of AS numbers.

These are the AS-Path Regular Expression operators:

  • . - Matches any single character
  • \ - Matches the character right after the backslash (to enter \ in CLI, type another \ immediately after the first one)
  • ^ - Matches the characters or a null string at the beginning of an AS path
  • $ - Matches the characters or a null string at the end of an AS path
  • ? - Matches zero or one occurrence of the preceding term (to enter ? in CLI, hit Ctrl-V, then type ?)
  • * - Matches zero or more occurrences of the preceding term
  • + - Matches one or more occurrences of the preceding term
  • | - Matches one of the terms on either side of the "|" character
  • _ - Matches a non-alphanumeric character (",", "{", "}", "^", "$") or a whitespace
  • [] - Matches a term in a set of terms (separated by whitespaces) or a range of terms (separated by a hyphen)
  • () - Matches a group of terms as a single term
  • {m,n} - Matches at least m and at most n repetitions of the preceding term
  • {m} - Matches exactly m repetitions of the preceding term
  • {m,} - Matches m or more repetitions of the preceding term

Origin

The origin and the completeness of the AS-Path information:

  • Any - Any route
  • IGP - The route was learned from an interior routing protocol and the AS-Path information is probably complete
  • EGP - The route was learned from an exterior routing protocol that does not support AS-Path, and the AS-Path information is probably incomplete
  • Incomplete - The AS-Path information is incomplete

Route: All

Choose which BGP Based on AS-Path routes to redistribute into the destination routing protocol. When All is selected, all active BGP Based on AS-Path routes get redistributed. When cleared (default), only the BGP Based on AS-Path routes that match the Address Range and Match Type criteria get redistributed.

Route: Address Range

The network route to be redistributed into the destination routing protocol. Specify the IPv4 prefix and the mask length.

Route: Match Type

The precision with which the Address Range routes are matched:

  • Normal (default)- matches routes for the IP addresses and IP subnets in the specified range, including the range itself
  • Exact - matches the routes for the specified address range exactly as it appears
  • Refines - matches routes for the IP addresses and IP subnets in the specified range, but not the range itself
  • Range - matches routes for the IP subnets in the specified range, including the range itself

Action

To redistribute the routes that match the specified criteria or not:

  • Accept (default) - to redistribute
  • Restrict - not to redistribute

Metric

The cost of the redistributed routes in the destination routing protocol:

  • RIP - a number in the range 1-16
  • OSPFv2 - a number in the range 1-16777215
  • BGP - a number in the range 1-4294967295

Note - this parameter is mandatory when configuring redistribution into RIP.

RIP Tag (when redistributing into RIP only)

RIP route tag (optional) - a value in the range 1-65535.

Automatic Tag (when redistributing into OSPFv2 only)

OSPFv2 route tag (optional) - when selected, uses the value specified in Arbitrary Tag to generate the route tag value.

Arbitrary Tag (when redistributing into OSPFv2 only)

Used only when Automatic Tag is selected. Valid values: 0-4095.

Manual Tag (when redistributing into OSPFv2 only)

OSPFv2 route tag (optional). Valid values: 1-2147483647

Redistributing IPv4 Routes from OSPFv2

Redistribute OSPFv2 routes:

Parameter

Description

To Protocol

The destination routing protocol.

Route: All

Choose which OSPFv2 routes to redistribute into the destination routing protocol. When All is selected, all active OSPFv2 routes get redistributed. When cleared (default), only the OSPFv2 routes that match the Address Range and Match Type criteria get redistributed.

Address Range

The network route to be redistributed into the destination routing protocol. Specify the IPv4 prefix and the mask length.

Match Type

The precision with which the Address Range routes are matched:

  • Normal (default)- matches routes for the IP addresses and IP subnets in the specified range, including the range itself
  • Exact - matches the routes for the specified address range exactly as it appears
  • Refines - matches routes for the IP addresses and IP subnets in the specified range, but not the range itself
  • Range - matches routes for the IP subnets in the specified range, including the range itself

Action

To redistribute the routes that match the specified criteria or not:

  • Accept (default) - to redistribute
  • Restrict - not to redistribute

Metric

The cost of the redistributed routes in the destination routing protocol:

  • RIP - a number in the range 1-16
  • BGP - a number in the range 1-4294967295

Note - this parameter is mandatory when configuring redistribution into RIP.

RIP Tag (when redistributing into RIP only)

RIP route tag (optional) - a value in the range 1-65535.

Redistributing IPv4 Routes from OSPFv2 ASE

Redistribute OSPFv2 Autonomous System External routes:

Parameter

Description

To Protocol

The destination routing protocol.

Route: All

Choose which OSPFv2 External routes to redistribute into the destination routing protocol. When All is selected, all active OSPFv2 routes get redistributed. When cleared (default), only the OSPFv2 routes that match the Address Range and Match Type criteria get redistributed.

Route: Address Range

The network route to be redistributed into the destination routing protocol. Specify the IPv4 prefix and the mask length.

Route: Match Type

The precision with which the Address Range routes are matched:

  • Normal (default)- matches routes for the IP addresses and IP subnets in the specified range, including the range itself
  • Exact - matches the routes for the specified address range exactly as it appears
  • Refines - matches routes for the IP addresses and IP subnets in the specified range, but not the range itself
  • Range - matches routes for the IP subnets in the specified range, including the range itself

Action

To redistribute the routes that match the specified criteria or not:

  • Accept (default) - to redistribute
  • Restrict - not to redistribute

Metric

The cost of the redistributed routes in the destination routing protocol:

  • RIP - a number in the range 1-16
  • BGP - a number in the range 1-4294967295

Note - this parameter is mandatory when configuring redistribution into RIP.

RIP Tag (when redistributing into RIP only)

RIP route tag (optional) - a value in the range 1-65535.

Redistributing IPv4 Routes from RIP

Redistribute RIP routes:

Parameter

Description

To Protocol

The destination routing protocol.

Route: All

Choose which RIP routes to redistribute into the destination routing protocol. When All is selected, all active RIP routes get redistributed. When cleared (default), only the RIP routes that match the Address Range and Match Type criteria get redistributed.

Address Range

The network route to be redistributed into the destination routing protocol. Specify the IPv4 prefix and the mask length.

Match Type

The precision with which the Address Range routes are matched:

  • Normal (default)- matches routes for the IP addresses and IP subnets in the specified range, including the range itself
  • Exact - matches the routes for the specified address range exactly as it appears
  • Refines - matches routes for the IP addresses and IP subnets in the specified range, but not the range itself
  • Range - matches routes for the IP subnets in the specified range, including the range itself

Action

To redistribute the routes that match the specified criteria or not:

  • Accept (default) - to redistribute
  • Restrict - not to redistribute

Metric

The cost of redistributed routes in the destination routing protocol:

  • OSPFv2 - a number in the range 1-16777215
  • BGP - a number in the range 1-4294967295

Redistributing IPv4 Routes from Aggregate

Redistribute aggregate routes:

Parameter

Description

To Protocol

The destination routing protocol.

Aggregate Route

The aggregate route to be redistributed into the destination protocol.

Metric

The cost of the redistributed routes in the destination routing protocol:

  • RIP - a number in the range 1-16
  • OSPFv2 - a number in the range 1-16777215
  • BGP - a number in the range 1-4294967295

Note - this parameter is mandatory when configuring redistribution into RIP.

Redistributing IPv6 Routes

Configure route sources for redistribution into IPv6 routing protocols.

Redistributing IPv6 Routes from OSPFv3

Redistribute OSPFv3 routes:

Parameter

Description

To Protocol

The destination routing protocol.

Route: All

Choose which OSPFv3 routes to redistribute into the destination routing protocol. When All is selected, all active OSPFv3 routes get redistributed. When cleared (default), only the OSPFv3 routes that match the Address Range and Match Type criteria get redistributed.

Address Range

The network route to be redistributed into the destination routing protocol. Specify the IPv6 prefix and the mask length.

Match Type

The precision with which the Address Range routes are matched:

  • Normal (default)- matches routes for the IP addresses and IP subnets in the specified range, including the range itself
  • Exact - matches the routes for the specified address range exactly as it appears
  • Refines - matches routes for the IP addresses and IP subnets in the specified range, but not the range itself

Action

To redistribute the routes that match the specified criteria or not:

  • Accept (default) - to redistribute
  • Restrict - not to redistribute

Metric

The cost of the redistributed routes in the destination routing protocol:

  • RIPng - a number in the range 1-16

Note - this parameter is mandatory when configuring redistribution into RIPng.

Redistributing IPv6 Routes from OSPFv3 ASE

Redistribute OSPFv3 Autonomous System External routes:

Parameter

Description

To Protocol

The destination routing protocol.

Route: All

Choose which OSPFv3 External routes to redistribute into the destination routing protocol. When All is selected, all active OSPFv3 routes get redistributed. When cleared (default), only the OSPFv3 routes that match the Address Range and Match Type criteria get redistributed.

Route: Address Range

The network route to be redistributed into the destination routing protocol. Specify the IPv6 prefix and the mask length.

Route: Match Type

The precision with which the Address Range routes are matched:

  • Normal (default)- matches routes for the IP addresses and IP subnets in the specified range, including the range itself
  • Exact - matches the routes for the specified address range exactly as it appears
  • Refines - matches routes for the IP addresses and IP subnets in the specified range, but not the range itself

Action

To redistribute the routes that match the specified criteria or not:

  • Accept (default) - to redistribute
  • Restrict - not to redistribute

Metric

The cost of the redistributed routes in the destination routing protocol:

  • RIPng - a number in the range 1-16

Note - this parameter is mandatory when configuring redistribution into RIPng.

Redistributing IPv6 Routes from RIPng

Redistribute RIPng (IPv6) routes:

Parameter

Description

To Protocol

The destination routing protocol.

Note - Only distribution into interior routing protocols is possible.

Route: All

Choose which RIPng routes to redistribute into the destination routing protocol. When All is selected, all active RIPng routes get redistributed. When cleared (default), only the RIPng routes that match the Address Range and Match Type criteria get redistributed.

Address Range

The network route to be redistributed into the destination routing protocol. Specify the IPv6 prefix and the mask length.

Match Type

The precision with which the Address Range routes are matched:

  • Normal (default)- matches routes for the IP addresses and IP subnets in the specified range, including the range itself
  • Exact - matches the routes for the specified address range exactly as it appears
  • Refines - matches routes for the IP addresses and IP subnets in the specified range, but not the range itself

Action

To redistribute the routes that match the specified criteria or not:

  • Accept (default) - to redistribute
  • Restrict - not to redistribute

Metric

The cost of the redistributed routes in the destination routing protocol:

  • OSPFv3 - a number in the range 1-16777215