< Home

ospfv3 peer router-id

Function

The ospfv3 peer router-id command sets the DR priority and IPv6 addresses for adjacent switches on an NBMA network.

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

By default, IPv6 addresses are not configured for the adjacent switches on an NBMA network.

Format

ospfv3 peer router-id router-id ipv6-address [ dr-eligible | cost cost | poll interval | instance instance-id ]*

undo ospfv3 peer router-id router-id [ ipv6-address ] [ dr-eligible | cost [ cost ] | poll [ interval ] | instance instance-id ]*

Parameters

Parameter Description Value
router-id Specifies the router ID of the adjacent node. The value is in dotted decimal notation.
ipv6-address Specifies the link-local address of the adjacent node. The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.
dr-eligible Specifies the neighbor that can take part in the DR election. -
cost cost Specifies the cost of the interface on the neighbor switch of the NBMA network. The value is an integer ranging from 1 to 65535.
poll interval Specifies the interval for sending the polling Hello packet on the neighbor switch of the NBMA network. The value is an integer ranging from 1 to 65535.
instance instance-id Specifies the instance ID of the interface. The value is an integer ranging from 0 to 255. The default value is 0.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

You can run the ospfv3 peer router-id command to set the DR priority and IPv6 addresses for adjacent switches on an NBMA network.

Example

# On Vlanif10, specify the peer end to take part in DR selection.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] ipv6 enable
[HUAWEI-Vlanif10] ospfv3 1 area 1
[HUAWEI-Vlanif10] ospfv3 peer router-id 10.1.1.1 FE80::1 dr-eligible

# On GE0/0/1, specify the peer end to take part in DR selection.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ospfv3 1 area 1
[HUAWEI-GigabitEthernet0/0/1] ospfv3 peer router-id 10.1.1.1 FE80::1 dr-eligible
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >