Name

neighbor distribute-list — router, BGP

Synopsis

neighbor {address | peer-group} distribute-list {access-list | prefix-list
name} {in | out}
no neighbor {address | peer-group} distribute-list {access-list | prefix-list
name} {in | out}

Configures

Applies a distribute list to a neighbor or peer group

Default

None

Description

This command applies an access list or a prefix list to filter incoming (in) or outgoing (out) routes exchanged with the given neighbor (specified by address or peer-group).

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.