Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

aigp-adjust (Policy Action)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
aigp-adjust (add|divide|multiply|subtract) (user-value | distance-to-protocol-nexthop);

Hierarchy Level

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

Description

Specify this CLI policy action in an import or export policy to modify the accumulated interior gateway protocol (AIGP) BGP attribute. You can modify the AIGP attribute for one of the following reasons:

  • Modify the AIGP metric on the route if it exists on the external BGP sessions between two ASBR routers where there is no interior gateway protocol (IGP)

  • Scale up or down while transitioning from one IGP domain, such as OSPF to another IGP domain, such as IS-IS

  • Make very minor adjustments on the AIGP from another AS domain or another vendor’s routers

CAUTION:

AIGP is rated very high in the best route decision and comes only after the BGP local preference rule. Therefore, use the AIGP adjustment option with caution as it can have a huge impact on the network.

Options

add | divide | multiply | subtract

Specify the mathematical operation that needs to be performed on the original AIGP attribute for adjustment.

user-value

Specify an unsigned 64-bit value in decimal.

distance-to-protocol-nexthop

Use the current metric2 value in the routing table as specified in the routing policy. Configure this option in the export policy if you want full control of the advertised AIGP value and do not want BGP to add up the distance to the protocol nexthop.

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

footer-navigation