ipv6 ospf neighbor priority

Use this command to set the OSPFv3 priority value for the specified neighbor on the interface.

Syntax

ipv6 ospf neighbor ipv6-address priority number
no ipv6 ospf neighbor ipv6-address priority

Parameters

ipv6-address Specifies the neighbor IPv6 address.
number Specifies the router‘s OSPFv3 priority in a range from 0 to 255. The default value is 1.

Defaults

None.

Mode

Interface configuration.

Usage

The priority value is communicated between routers by means of hello messages and influences the election of a designated router.

The “no” form of this command resets the value to the default of 1.

Example

This example shows how to set the OSPFv3 priority to 20 for VLAN 1 neighbor 2000:2001:eff0::10:

System(rw-config)->interface vlan 1
System(rw-config-intf-vlan.0.1)->ipv6 ospf neighbor 2000:2001:eff0::10 priority 20