[Contents] [Prev] [Next] [Index] [Report an Error]

# neighbor

#### Syntax

For ANCP:

[ no ] neighbor neighborName

For OSPF:

neighbor ipAddressOspf [ pollinterval seconds | priority number ]

no neighbor ipAddressOspf [ pollinterval | priority ]

For RIP:

[ no ] neighbor ipAddressRip

#### Release Information

Command introduced before JUNOSe Release 7.1.0.

#### Description

For ANCP, creates an ANCP neighbor and accesses the L2C Neighbor Configuration (config-l2c-neighbor) mode. For OSPF, configures OSPF neighbors on an NBMA network. For RIP, specifies a RIP neighbor to which the router sends unicast messages. The no version removes the specified neighbor configuration or, by omitting the neighbor name, all ANCP neighbor configurations (ANCP), removes the neighbor (OSPF and RIP), or restores the default values (OSPF).

#### Options

- neighborName—Name of the ANCP neighbor
- ipAddressOspf—IP address of the neighbor’s interface; this interface must itself be configured for the NBMA network type
- number—Router priority value of the neighbor in the range 1–4294967295; default value is 0
- seconds—Interval in seconds at which the neighbor is polled; should be much larger than the hello interval (per RFC 1247); in the range 0–255; default value is 120
- ipAddressRip—IP address of the neighbor’s interface; this interface must be defined as a passive interface with the passive-interface command

#### Mode

Address Family Configuration (RIP), Router Configuration

[Contents] [Prev] [Next] [Index] [Report an Error]