Name
neighbor filter-list — router, BGP
Synopsis
neighbor {address
|peer-group
} filter-listaccess-list
{in | out} no neighbor {address
|peer-group
} filter-listaccess-list
{in | out}
Configures
A filter for BGP
Default
None
Description
This command sets up an AS path access list that filters BGP routes sent to or received from a specific neighbor. Routes that match the access list are discarded.
-
address
orpeer-group
The address or peer group of the neighbor.
-
filter-list
access-list
The name of an AS path access list defined by the
ip
as-path
access-list
command.-
in
The filter applies to incoming routes.
-
out
The filter applies to outgoing routes.
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.