Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

rib-exports (Routing Options)

Syntax

Hierarchy Level

Description

You can clone active BGP primary or secondary routes from one virtual routing and forwarding (VRF) routing information base (RIB) to another VRF RIB. You can also clone routes from one VRF RIB to either the inet.0 or inet6.0 routing table. Cloned routes always become the primary route in the VRF RIB or inet table into which they're cloned.

Export a RIB-Export group through a routing instance using the rib-export statement. This statement allows attaching a single RIB-Export group to a routing table.

You can configure a drop attribute policy with the rib-export-strip statement to remove the BGP cluster-list attribute. You would do this to re-advertise a route back to the source route reflector, or a route reflector with the same cluster-list attribute. This would apply when the route reflectors aren't fully meshed. The originator-id attribute is implicitly set to "self" when the cluster-list attribute is removed.

Options

restart-timer Specify the time in seconds to support graceful restart.
  • Default: 45 seconds

rib-export-group Specify the RIB-Export group name, and then configure additional statements to create and export routes.
  • to-rib—Specify the destination RIB.

  • policy—Specify the name of a drop or export policy.

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 25.2R1.

rib-export-strip statement introduced in Junos OS Release 25.2R1.