configure ospfv3 import-policy

configure ospfv3 import-policy [policy_map | none]

Description

Configures the import policy for OSPFv3 (Open Shortest Path First version 3).

Syntax Description

policy_map Specifies the policy.

Default

No policy.

Usage Guidelines

An import policy is used to modify route attributes while adding OSPFv3 routes to the IPv6 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 the policy association.

Policy files for this command will recognize only the following policy attributes:
  • Match attributes:
    • nlri IPv6-address/mask-len
    • route-origin [ospf | ospf-extern1 | ospf-extern2 | ospf-inter | ospf-intra]
  • Action (set) attributes
    • cost cost
    • tag number
    • deny

Any other policy attribute will not be recognized and will be ignored.

Example

The following example applies the policy campuseast to OSPFv3 routes:

configure ospfv3 import-policy campuseast

History

This command was first available in ExtremeXOS 11.2.

Beginning in ExtremeXOS 15.7, this command allows Import Policy to be used by OSPFv3 to install routes selectively into the switch routing table.

Platform Availability

This command is available on platforms with an Advanced Edge or Core license as described in the ExtremeXOS 22.6 Feature License Requirements document.