neighbor distribute-list
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.
neighbor { ipAddress | ipv6Address | peerGroupName } distribute-list
accessListName { in | out }no neighbor { ipAddress | ipv6Address | peerGroupName } distribute-list
[ accessListName ] { in | out }
- ipAddressIP address of BGP neighbor
- ipv6AddressIPv6 address of BGP neighbor
- peerGroupNameName of a BGP peer group. If you specify a BGP peer group by using the peerGroupName argument, all the members of the peer group inherit the characteristic configured with this command, unless it is overridden for a specific peer.
- accessListNameString of up to 32 alphanumeric characters identifying an access list
- inApplies list to incoming routes (inbound policy)
- outApplies list to outgoing routes (outbound policy); you cannot configure a member of a peer group to override the inherited peer group characteristic for outbound policy
Address Family Configuration, Router Configuration
Command introduced before JUNOSe Release 7.1.0.
ipv6Address variable added in JUNOSe Release 8.0.0.