Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

family route-target

Syntax

Hierarchy Level

Description

Enable BGP route target filtering on the VPN.

The family route-target statement is useful for filtering VPN routes before they are sent. Provider edge (PE) routers inform the route reflector (RR) which routes to send, using family route-target to provide the route-target-interest information. The RR then sends to the PE router only the advertisements containing the specified route target.

Options

advertise-default—Cause the router to advertise the default route target route (0:0:0/0) and suppress all routes that are more specific. This can be used by a route reflector on BGP groups consisting of neighbors that act as provider edge (PE) routers only. PE routers often need to advertise all routes to the route reflector. Suppressing all route target advertisements other than the default route reduces the amount of information exchanged between the route reflector and the PE routers. The Junos OS further helps to reduce route target advertisement overhead by not maintaining dependency information unless a nondefault route is received.

external-paths number—Cause the router to advertise the VPN routes that reference a given route target. The number you specify with the external-paths statement determines the number of external peer routers (currently advertising that route target) that receive the VPN routes. The default value is 1.

Note:

external-paths cannot be configured under the [edit protocols bgp group group-name neighbor address] hierarchy level.

prefix-limit number—The number of prefixes that can be received from a peer router.

The remaining statement is described separately.

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.