By default, RIP does not export routes it has learned to its neighbors. To have RIP export routes, apply one or more export policies. To apply export policies and to filter routes being exported from the local router to its neighbors, include the export statement and list the name of the policy to be evaluated:
-
export [ policy-names ];
To configure export policy globally for all RIP neighbors, include the export statement.
For a list of hierarchy levels at which you can configure this statement, see the statement summary section for this statement.
You can define one or more export policies. If no routes match the policies, the local router does not export any routes to its neighbors. Export policies override any metric values determined through calculations involving the metric-in and metric-out values.
![]() |
Note: The export policy on RIP does not support manipulating routing information of the next hop. |
For more information about creating policies, see the JUNOS Policy Framework Configuration Guide.