Country/Region

- United States
- ASEAN Region
- Australia
- 中国 - China
- France
- Deutschland - Germany
- India
- Italia - Italy
- 日本 - Japan
- 대한민국 - Korea
- Россия - Russia
- España - Spain
- 台灣 - Taiwan
- United Kingdom

Contact Us
|
Country/Region
United States

# Technical Documentation

Download Software
Research a Problem
Case Management
Contract & Product Management
Technical Documentation
Documentation Archive
Report Documentation Bug
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Feedback

## Documentation Search

Advanced Search | Search Tips

# 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

#### Published: 2010-10-19

Help
|
My Account
|
Log Out