Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

aigp-adjust (Policy Action)

Syntax

Hierarchy Level

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.