# neighbor site-of-origin

#### Syntax

neighbor { ipAddress | ipv6Address | peerGroupName } site-of-origin siteOfOrigin

no neighbor { ipAddress | ipv6Address | peerGroupName } site-of-origin

#### Release Information

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

#### Description

Specifies a site of origin that is added to the extended communities list in each route received from the specified peer, unless the extended communities list already includes a site of origin. When routes are advertised to the peer, routes whose extended communities list contain this site of origin are filtered out and not advertised to the peer. The no version removes the site of origin for the peer.

#### Options

- ipAddress—IP address of BGP neighbor
- ipv6Address—IPv6 address of BGP neighbor
- 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. You cannot override the characteristic for a specific member of the peer group.
- siteOfOrigin—Designator for the site of origin; in the format AA:NN, where any of the following is true:
  - AA—AS number in the range 0–65535 and NN is an integer in the range 0–4294967295; for example, 320:72358
  - AA—AS number in the range 0–4294967295 and NN is an integer in the range 0–65535; for example, 84511:45
  - AA—Dotted decimal IP address and NN is an integer in the range 0–65535; for example, 10.10.21.5:1256

#### Mode

Address Family Configuration, Router Configuration