|
|
Installing and Administering Internet Services: HP 9000 Networking > Chapter 8 Configuring gatedImporting and Exporting Routes |
|
The import and export control statements allow you to propagate routes from one routing protocol to another. Routes are imported into a gated forwarding table and exported out to the routing protocols. Type man 4 gated.conf for more information on import and export statements. import statements restrict or control how routes are imported to the gated forwarding table. Once routes are imported to the gated forwarding table, they can be exported to the routing protocols. You can use import statements to do the following:
The format of import statements 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 and with an assigned preference of 10. export statements determine which routes are exported from the gated forwarding table to the routing protocols. You can also restrict which routes are exported and assign metrics (values used for route selection) to be applied to the routes after they have been exported. The format of the export statement varies according to the protocol to which you are exporting routes and the original protocol used to build the routes you are exporting. The following import statement imports an BGP route for network 195.1.1 to the gated forwarding table with a preference of 15:
The following export statement exports to OSPF the ASE route that was imported to the gated forwarding table in the example above. The route was originally built by BGP and the destination of the route is network 195.1.1.
|
|