[Contents] [Prev] [Next] [Index] [Report an Error]


Enable Outbound Route Filtering for VPNs

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.

You can enable outbound route filtering for a VPN either with or without a route reflector:

You can enable outbound route filtering for routing instances by including the outbound-route-filtering statement. For a list of hierarchy levels at which you can configure this statement, see the statement summary section for this statement.

outbound-route-filtering {
    extended-community {
        accept;
        no-accept;
        vrf-filter;
    }
}

To accept a peer's request for filtering on Network Layer Reachability Information (NLRI) route advertisements, include the accept option. To deny a peer's request for filtering on Network Layer Reachability Information (NLRI) route advertisements, include the no-accept option. To request filtering from a remote peer, include the vrf-filter option.


[Contents] [Prev] [Next] [Index] [Report an Error]