rib-exports (Routing Options)
Syntax
rib-exports { restart-timer; value in seconds; rib-export-group { policy; to-rib; } traceoptions { file; flag; } }
Hierarchy Level
[edit routing-options]
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.
set routing-options rib-exports rib-export-group <rib-export group name> to-rib <routing table name> set routing-options rib-exports rib-export-group <rib-export group name> to-rib <routing table name> policy <policy-name>
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.
set routing-instances <instance name> routing-options rib <routing table name> rib-export <rib-export group name>
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.
set policy-options policy-statement <policy-name> term <term-name> then rib-export-strip cluster-list set policy-options policy-statement <policy-name> term <term-name> then accept set policy-options policy-statement <policy-name> then reject set routing-options rib-exports rib-export-group <rib-export group name> to-rib <routing table name> policy <policy-name>
Options
restart-timer | Specify the time in seconds to support graceful restart.
|
rib-export-group | Specify the RIB-Export group name, and then configure additional statements to
create and export routes.
|
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.