# remote-neighbor

#### Syntax

For OSPF:

[ no ] remote-neighbor ipAddress area { areaId | areaIdInt }

For PIM:

[ no ] remote-neighbor [ ipAddress | ipv6Address ] sparse-mode

For RIP:

[ no ] remote-neighbor ipAddress

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Configures an OSPF, PIM, or RIP remote neighbor. The no version removes the remote neighbor and any attributes configured for the neighbor.

| Note: For PIM, this command is typically used when you configure PIM remote neighbors to run multicast services over BGP/MPLS VPNs. That functionality is no longer supported.

#### Options

- ipAddress—IPv4 address identifying the remote neighbor
- areaId—OSPF area ID in IP address format
- areaIdInt—OSPF area ID as a decimal value, in the range 0–4294967295
- ipv6Address—IPv6 address identifying the remote neighbor

#### Mode

Router Configuration