Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Originate an accumulated interior gateway protocol (AIGP) BGP attribute for a given prefix by export policy, using the aigp-originate policy action.

To originate an AIGP attribure, you need configure the policy action on only one node. The AIGP attribute is readvertised if the neighbors are AIGP enabled with the aigp statement in the BGP configuration.


If you omit the aigp-originate policy action, the node still readvertises the AIGP BGP attribute if AIGP is enabled in the BGP configuration. However, the node does not originate its own AIGP attribute for local prefixes.

As the route is readvertised by downstream nodes, the cost of the AIGP attribute reflects the IGP distance to the prefix (zero + IGP distance or configured distance + IGP distance).


distance—(Optional) Associate an initial cost when advertising a local prefix with the AIGP BGP attribute.

  • Range: 0 through 4,294,967,295

  • Default: The initial cost associated with the AIGP attribute for a local prefix is zero. The distance option overrides the default zero value for the initial cost.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 12.1.