[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:
- 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:
-
[edit policy-options]
-
[edit logical-systems logical-system-name policy-options]
name is the
name of the community.
community-id is the
identifier of the community. Specify it in one of the following formats:
-
as-number:number, where as-number is an AS number (a 2-byte value) and number is a 4-byte community value. The AS number can be in the range
1 through 65,535. We recommend that you use an IANA-assigned, nonprivate
AS number, preferably the ISP’s own or the customer’s
own AS number. The community value can be a number in the range 0
through 232 – 1.
-
ip-address:number, where ip-address is an IPv4 address (a 4-byte value) and number is a 2-byte community value. The IP address can be any globally
unique unicast address. We recommend that you use the address that
you configure in the router-id statement, which is a nonprivate
address in your assigned prefix range. The community value can be
a number in the range 1 through 65,535.
- 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.
- 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]