protocols ospf neighbor <ipv4>
Creates an OSPF neighbor and sets or modifies its characteristics.
- process pid
- Specifies the PID of an IPv4 OSPF process.
- ipv4
- The IPv4 address of the OSPF neighbor that is being created.
- poll-interval interval
- Sets the interval, in seconds, at which the specified neighbor is polled to determine whether it can still be reached. The interval ranges from 1 through 65535. The default interval is 120.
- priority priority
- Sets the priority of the specified neighbor. The number for the priority ranges from 0 through 255, where the lower the number, the higher the priority. The default number is 1.
Configuration mode
protocols {
ospf {
process pid {
neighbor ipv4 {
poll-interval interval
priority priority
}
}
}
}
Use this command to create an OSPF neighbor and set or modify its characteristics.
Use the set form of this command to create an OSPF neighbor or modify its characteristics.
Use the delete form of this command to remove an OSPF neighbor or reset neighbor characteristics to default values.
Use the show form of this command to display characteristics of an OSPF neighbor.