BGP: Configuring Distribute Filters
BGP: Configuring Distribute Filters
Distribute filters use ACLs (Access Control Lists) to filter particular routes on the basis of their prefixes. Distribute filters and prefix filters both filter individual routes out of BGP update packets. They are mutually exclusive.
About ACLs
From the point of view of route filtering, an ACL is one or more simple unnumbered filter entries, each with a prefix and an action of deny or permit.
You can use any of the following syntax options to create the ACL entries. The main difference is in how you label the
Entries are unnumbered, so each new entry gets added to the end of the ACL.
Named ACLs Using a standard named ACL lets you specify whether the prefix needs to be an exact match or not. If you specify
without
with
Numbered For numbered ACLs, the mask is a reverse (or wildcard) mask. This is the opposite of a ACLs standard mask in dotted decimal notation.
mask value has no effect. The ACL always applies to all prefix lengths.
Extended ACLs You can also use an extended ACL (number range
Use Route Maps and Other Filters to Filter and Alter BGP and OSPF Routes Page 11