Networking Guide
Chapter 5, Configuring Internet Protocol (IP) routing

Importing routes from OSPF

Importing routes from OSPF



   import proto ospfase [ tag ospf_tag ] restrict ;
   import proto ospfase [ tag ospf_tag ]
       [ preference preference ] {
       route_filter [ restrict | ( preference preference ) ] ;
   } ;
Due to the nature of OSPF, only the importation of ASE routes may be controlled. OSPF intra- and inter-area routes are always imported into the gated routing table with a preference of 10. If a tag is specified, the import clause will apply only to routes with the specified tag. Like the other interior protocols, preference cannot be used to choose between OSPF ASE routes; that is done by the OSPF costs. Routes that are rejected by policy are stored in the table with a negative preference.