outbound-route-filtering
Syntax
outbound-route-filtering {
extended-community {
accept;
no-accept;
vrf-filter;
}
}Hierarchy Level
[edit logical-routerslogical-router-nameprotocols bgp groupgroup-name],[edit logical-routerslogical-router-nameprotocols bgp groupgroup-nameneighbor address],[edit logical-routerslogical-router-namerouting-instancesrouting-instance-nameprotocols bgp groupgroup-name],[edit logical-routerslogical-router-namerouting-instancesrouting-instance-name protocolsbgp groupgroup-nameneighboraddress],[edit protocols bgp groupgroup-name],[edit protocols bgp groupgroup-nameneighbor address],[edit routing-instancesrouting-instance-nameprotocols bgp groupgroup-name],[edit routing-instancesrouting-instance-name protocolsbgp groupgroup-nameneighboraddress]Description
Outbound route filtering allows you to filter BGP route advertisements for a particular BGP peer or set of peers. Peers in the same BGP group can have different routing table entries by filtering so that only a select peer or set of peers receives the route advertisements. For VPNs, this allows you to configure the PE routers to accept only a subset of the total number of VPN routes based on the configured VRF route targets.
Options
accept—Accept a peer's request for filtering on Network Layer Reachability Information (NLRI) route advertisements.
no-accept—Deny a peer's request for filtering on NLRI route advertisements.
vrf-filter—Request filtering from peers.Usage Guidelines
See Enable Outbound Route Filtering for VPNs.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.