[Contents] [Prev] [Next] [Index] [Report an Error]


Configure the Route Origin

In the import and export policies for the PE router's VRF table, you can optionally define the route origin (also known as the site of origin), which identifies the set of routes learned from a particular CE site. This attribute ensures that a route learned from a particular site through a particular PE-CE connection is not distributed back to the site through a different PE-CE connection. It is particularly useful if you are using the Border Gateway Protocol (BGP) as the routing protocol between the PE and CE routers and if different sites in the VPN have been assigned the same AS numbers.

To configure a route origin, complete the following steps:

  1. Include the origin option in the community statement:
community name members origin:community-id;

You can configure this statement at the following hierarchy levels:

name is the name of the community.

community-id is the identifier of the community. You specify it in one of the following format:

  1. Include the community in the import policy for the PE router's VRF table by configuring the community statement with the community-id identifier defined in Step 1 at the [edit policy-options policy-statement import-policy-name term import-term-name from] hierarchy level. See Configure Import Policy for the PE Router's VRF Table.
  2. Include the community in the export policy for the PE router's VRF table by configuring the community statement with the community-id defined in Step 1 at the [edit policy-options policy-statement export-policy-name term export-term-name then] hierarchy level. See Configure Export Policy for the PE Router's VRF Table.

[Contents] [Prev] [Next] [Index] [Report an Error]