[ no ] neighbor neighborName
neighbor ipAddressOspf [ pollinterval seconds | priority number ]
no neighbor ipAddressOspf [ pollinterval | priority ]
[ no ] neighbor ipAddressRip
Command introduced before JUNOSe Release 7.1.0.
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).
Address Family Configuration (RIP), Router Configuration