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

Configuring the Route Origin

In the import and export policies for the PE router’s VRF table, you can optionally assign the route origin (also known as the site of origin) for a PE router’s VRF routes using a VRF export policy applied to multiprotocol external BGP (MP-EBGP) VPN IPv4 route updates sent to other PE routers.

Matching on the assigned route origin attribute in a receiving PE’s VRF import policy helps ensure that VPN-IPv4 routes learned through MP-EBGP updates from one PE are not reimported to the same VPN site from a different PE connected to the same site.

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 include the community statement at the following hierarchy levels:

    name is the name of the community.

    community-id is the identifier of the community. Specify it in one of the following formats:

  2. 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 Step 1 at the [edit policy-options policy-statement import-policy-name term import-term-name from] hierarchy level. See Configuring an Import Policy for the PE Router’s VRF Table.
  3. Include the community in the export policy for the PE router’s VRF table by configuring the community statement with the community-id identifier defined in Step Step 1 at the [edit policy-options policy-statement export-policy-name term export-term-name then] hierarchy level. See Configuring an Export Policy for the PE Router’s VRF Table.

See Route Origin for VPNs for a configuration example.


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