ospfv3 peer

Use ospfv3 peer to specify a neighbor and the DR priority of the neighbor.

Use undo ospfv3 peer to remove the configuration.

Syntax

ospfv3 peer ipv6-address [ cost cost-value | dr-priority priority ] [ instance instance-id ]

undo ospfv3 peer ipv6-address [ instance instance-id ]

Default

No link-local address is specified for the neighbor interface.

Views

Interface view

Predefined user roles

network-admin

Parameters

ipv6-address: Specifies the link-local IPv6 address of the neighbor.

cost cost-value: Specifies the cost of the neighbor, in the range of 1 to 65535.

dr-priority priority: Specifies the DR priority of the neighbor, in the range of 0 to 255. The default is 1.

instance instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.

Usage guidelines

For NBMA and P2MP interfaces (only when in unicast mode), you must specify the link-local IPv6 addresses of their neighbors because these interfaces cannot find neighbors through broadcasting hello packets. For NBMA interfaces, you can also specify DR priorities for their neighbors.

Examples

# On VLAN-interface 10, specify the link-local address of its neighbor as FE80::1111.

<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospfv3 peer fe80::1111