Related Documentation
- Configuring ANCP Neighbors
- address-family
- clear ip ospf neighbor
- clear l2c neighbor
- l2c
- router ospf
- router rip
- show ip ospf database
- show ip ospf interface
- show ip ospf neighbors
- show ip rip
- show ip rip peer
- show ipv6 ospf database
- show ipv6 ospf interface
- show ipv6 ospf neighbors
- show l2c discovery-table
- show l2c label
- show l2c neighbor
- show l2c statistics
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
Related Documentation
- Configuring ANCP Neighbors
- address-family
- clear ip ospf neighbor
- clear l2c neighbor
- l2c
- router ospf
- router rip
- show ip ospf database
- show ip ospf interface
- show ip ospf neighbors
- show ip rip
- show ip rip peer
- show ipv6 ospf database
- show ipv6 ospf interface
- show ipv6 ospf neighbors
- show l2c discovery-table
- show l2c label
- show l2c neighbor
- show l2c statistics