family route-target
Syntax
family route-target {advertise-default;external-pathsnumber;prefix-limitnumber;}Hierarchy Level
[edit logical-routerslogical-router-nameprotocols bgp groupgroup-name],[edit logical-routerslogical-router-nameprotocols bgp groupgroup-nameneighboraddress],[edit protocols bgp groupgroup-name],[edit protocols bgp groupgroup-nameneighboraddress]Description
Enables Border Gateway Protocol (BGP) route target filtering on the Layer 3 VPN.
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 (RR) on BGP groups consisting of neighbors that act as provider edge (PE) routers only. PE routers often need to advertise all routes to the RR.Suppressing all route target advertisements other that the default route reduces the amount of information exchanged between the RR and the PE routers. The JUNOS software further helps to reduce route target advertisement overhead by not maintaining dependency information unless a nondefault route is received.
external-pathsnumber—Cause the router to advertise the VPN routes that reference a given route target. The number you specify with theexternal-pathsstatement determines the number of external peer routers (currently advertising that route target) that receive the VPN routes. The default value of1.
prefix-limitnumber—The number of prefixes that can be received from a peer router.Usage Guidelines
See Configure BGP Route Target Filtering for VPNs.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.