Configuring gated

Importing and Exporting Routes

Importing and Exporting Routes

You can propagate routes from one routing protocol to another using the import and export control statements. Routes are imported into a gated forwarding table and exported out to the routing protocols.

For more information on import and export statements, type man 4 gated.conf at the HP-UX prompt.

The import Statement

import statements restrict or control routes that are imported to the gated forwarding table. When routes are imported to the gated forwarding table, you can export them to the routing protocols. You can use import statements to perform the following tasks:

Prevent routes from being imported into the gated forwarding table by using a restrict clause.

Assign a preference value to use when comparing a route with other routes from other protocols. The route with the lowest preference is installed in the gated forwarding table. The individual protocols configure the default preferences.

The format of the import statement varies depending on the protocol from which you are importing routes.

With OSPF, you can apply import statements only to OSPF ASE routes. All OSPF intra-area and inter-area routes are imported into the gated forwarding table with an assigned preference of 10.

The export Statement

export statements determine the routes that are exported from the gated forwarding table to the routing protocols. You can also restrict the routes that are exported and assign metrics (values used for route selection) to them. These metrics are applied only after the routes are exported.

The format of the export statement varies depending on the original protocol used to build the routes that you are exporting, and the protocol to which you are exporting routes.

Chapter 3

97

Page 97
Image 97
HP Routing Services -UX 11i v2 manual Importing and Exporting Routes, Import Statement, Export Statement