ipv6 ospf neighbor
Use this command to connect OSPFv3 routers to non-broadcast multi-access (NBMA) networks.
One neighbor entry must be included for each known NBMA neighbor. The neighbor address must be a link-local address.
Note: For point-to-multipoint interfaces, the cost parameter is the only applicable option.
Use the no parameter with this command to remove a configuration.
Command Syntax
ipv6 ospf neighbor X:X::X:X (instance-id (<0-31>|<64-95>)|)
ipv6 ospf neighbor X:X::X:X {cost <1-65535>} (instance-id (<0-31>|<64-95>)|)
ipv6 ospf neighbor X:X::X:X {poll-interval <0-4294967295>|priority <0-255>} (instance-id (<0-31>|<64-95>)|)
no ipv6 ospf neighbor X:X::X:X ({cost|poll-interval|priority}|) (instance-id (<0-31>|<64-95>)|)
Parameters
X:X::X:X
Specify a neighbor IP address.
instance-id
Specify the instance.
<0-255>
Specify the instance ID.
cost
Cost of the interface. This parameter does not apply to NBMA networks.
<1-65535>
Cost of the interface.
poll-interval
Dead neighbor polling interval.
<0-4294967295>
Dead neighbor polling interval in seconds. It is recommended to set this value much higher than the hello interval.
priority
Specify a priority. This parameter does not apply to point-to-multipoint interfaces.
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
Default
Default cost is 10.
Default poll interval is 120 seconds.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ipv6 ospf neighbor 2000:500::1 cost 2 instance-id 3
Last modified date: 07-13-2023