Name
neighbor prefix-list — router, BGP
Synopsis
neighbor {address
|peer-group
} prefix-listprefix-list-name
{in | out} no neighbor {address
|peer-group
} prefix-listprefix-list-name
{in | out}
Configures
Assigns a prefix list to a BGP neighbor
Default
None
Description
This command lets you filter BGP routes by assigning a prefix list to a neighbor instead of using an AS path filter.
-
address
orpeer-group
The address or peer group of the neighbor.
-
prefix-list
prefix-list-name
The name of the prefix 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, 2nd Edition 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.