Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Command Syntax
set protocols ospf4 [vrf <vrf-name>] export <policy-name>




vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

If no VRF is specified, export the route in default VRF.

export <policy-name>

Specifies the policy name. The value is a string.

Usage Guidelines

OSPF export filters act upon routes just before they are to be advertised by OSPF routing protocol.


  1. The OSPF route advertised to neighbors is filtered and modified by configuring routing policy.
  2. Introducing route learned from other routing protocols (could be BGP, RIP or static routing protocol) from routing table into OSPF by configuring the routing policy with this command: