Celestica Documentation Portal

Find your product documents here

neighbor

Specifies neighbor router.

Syntaxneighbor A.B.C.D [{priority <priority>|poll-interval <poll-interval>}]
Command modeRouter OSPF
Parameters
  • A.B.C.D – Neighbor IP address.

  • priority – Neighbor Priority. Range: 0 – 255.

  • poll-interval – Dead Neighbor Polling interval in seconds. Range: 1 – 65535.

Usage Use no neighbor A.B.C.D [{priority <priority>|poll-interval <poll-interval>}] to remove the configuration.
Supported Releases1.1.0 or later
Click command None
Example
sonic(config-router)# neighbor 5.5.5.5
sonic(config-router)# neighbor 5.5.5.5 poll-interval 2 priority 2
sonic(config-router)# no neighbor 5.5.5.5 poll-interval 2 priority 2
sonic(config-router)# no neighbor 5.5.5.5