configure ospf import-policy
Configures the import policy for OSPF.
|policy-map||Specifies the policy.|
An import policy is used to modify route attributes while adding OSPF routes to the IP route table. This command provides the flexibility of using import policy to determine the routes to be added to or removed from the routing table. In order to prevent a route being added to the routing table, the policy file must contain a matching rule with action “deny”. If there is no matching rule for a particular route, or the keyword “deny” is missing in the rule, the default action is “permit”, which means that route will be installed into the routing table.
Use the none option to remove an import policy.
If a policy rule set the cost to be greater than 65535, OSPF limits the metric of any matching routes to be 65535.
The following example applies the policy campuseast to OSPF routes:
configure ospf import-policy campuseast
This command was first available in ExtremeXOS 10.1.
Beginning in ExtremeXOS 15.7, this command allows Import Policy to be used by OSPFv2 to install routes selectively into the switch routing table.
This command is available on platforms with an Advanced Edge or Base license, or higher, as described in the ExtremeXOS 32.2 Feature License Requirements document.