Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
keyboard_arrow_right

aigp-originate

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
aigp-originate distance;

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name policy-options policy-statement policy-name term term-name then],     
[edit logical-systems logical-system-name policy-options policy-statement policy-name then],      
[edit policy-options policy-statement policy-name term term-name then],     
[edit policy-options policy-statement policy-name then] 

Description

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.

Default

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).

Options

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.

external-footer-nav