# neighbor prefix-tree

#### Syntax

neighbor { ipAddress | ipv6Address | peerGroupName }
prefix-tree prefixTreeName { in | out }

no neighbor { ipAddress | ipv6Address | peerGroupName }
prefix-tree [ prefixTreeName ] { in | out }

#### Release Information

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

#### Description

Assigns an inbound or outbound prefix tree. The no version removes the prefix tree.

#### Options

- ipAddress—IP address of BGP neighbor
- ipv6Address—IPv6 address of BGP neighbor; valid only under the IPv4 address family for advertising IPv4 routes over BGP IPv6 peers
- peerGroupName—Name 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.
- prefixTreeName—Name of a BGP prefix tree
- in—Assigns prefix tree to incoming routes (inbound policy)
- out—Assigns prefix tree to outgoing routes (outbound policy); you cannot configure a member of a peer group to override the inherited peer group characteristic for outbound policy

#### Mode

Address Family Configuration, Router Configuration