route-target (Protocols BGP)
Syntax
route-target { accepted-prefix-limit { maximum number; teardown <percentage> <idle-timeout (forever | time-in-minutes)>; drop-excess <percentage>; hide-excess <percentage>; } advertise-default; external-paths number; prefix-limit { maximum number; teardown <percentage> <idle-timeout (forever | time-in-minutes)>; drop-excess <percentage>; hide-excess <percentage>; } }
Hierarchy Level
[edit logical-systems logical-system-name protocols bgp family], [edit logical-systems logical-system-name protocols bgp group group-name family], [edit logical-systems logical-system-name protocols bgp group group-name neighbor address family], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp group group-name family], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp group group-name neighbor address family], [edit protocols bgp family], [edit protocols bgp group group-name family], [edit protocols bgp family prefix-limit (inet | inet6)(any | flow | labeled-unicast | multicast | unicast)], [edit protocols bgp group group-name neighbor address family], [edit routing-instances routing-instance-name protocols bgp group group-name family], [edit routing-instances routing-instance-name protocols bgp group group-name neighbor address family]
Description
Limit the number of prefixes advertised on BGP peers specifically to the peers that need the updates.
Options
advertise-default—Advertise default routes and suppress more specific routes.
external-paths number—Number of external paths accepted for route filtering.
Range: 1 through 256 paths
Default: 1 path
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.