neighbor distribute-list

Syntax

neighbor { ipAddress | ipv6Address | peerGroupName } distribute-list
accessListName { in | out }

no neighbor { ipAddress | ipv6Address | peerGroupName } distribute-list
[ accessListName ] { in | out }

Release Information

Command introduced before JunosE Release 7.1.0.
ipv6Address variable added in JunosE Release 8.0.0.

Description

Distributes BGP neighbor information as specified in an access list. The no version removes an entry.

Using distribute lists is one of several ways to filter BGP advertisements. You can also use route maps or use AS-path filters, as with the ip as-path access-list Global Configuration command and the neighbor filter-list command.

Options

Mode

Address Family Configuration, Router Configuration