ospfv3 peer router-id

Function

The ospfv3 peer router-id command sets a DR priority and an IP address for a neighbor on an NBMA network.

The undo ospfv3 peer router-id command removes the setting.

By default, no DR priority or IP address is configured for a neighbor on an NBMA network.

Format

ospfv3 peer router-id router-id-value prefix [ dr-eligible | cost cost-value | instance instance-id | poll poll-interval ] *

undo ospfv3 peer router-id router-id-value [ prefix ] { dr-eligible | cost [ cost-value ] | poll [ poll-interval ] } * [ instance instance-id ]

undo ospfv3 peer router-id router-id-value [ prefix ] [ instance instance-id ]

Parameters

Parameter Description Value
router-id-value

Specifies the router ID of a neighbor.

The value is in dotted decimal notation.

prefix

Specifies the IPv6 address of a neighbor.

The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

dr-eligible

Indicates that the neighbor can run for the DR.

-

cost cost-value

Specifies an interface cost for a neighbor on the NBMA network.

The value is an integer ranging from 1 to 65535.

instance instance-id

Specifies the instance ID of an interface.

The value ranges from 0 to 255.

poll poll-interval

Specifies an interval at which polling Hello packet are sent by the neighbor on the NBMA network.

The value ranges from 1 to 65535.

Views

100GE interface view, 10GE interface view, 25GE sub-interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, Global VE sub-interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

Usage Scenario

To set a DR priority and an IP address for a neighbor on an NBMA network, run the ospfv3 peer router-id command.

Example

# Enable the neighbor to run for the DR on GigabitEthernet 0/1/0.
<HUAWEI> system-view
[~HUAWEI] ospfv3 1
[*HUAWEI-ospfv3-1] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] ipv6 enable
[*HUAWEI-GigabitEthernet0/1/0] ospfv3 1 area 0
[*HUAWEI-GigabitEthernet0/1/0] ospfv3 peer router-id 1.1.1.1 fe80::1 dr-eligible
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >