< Home

ospfv3 area

Function

The ospfv3 area command enables the OSPFv3 process on an interface and specifies the area the process belongs to.

The undo ospfv3 area command disables the OSPFv3 process on the interface.

By default, the OSPFv3 protocol is not enabled on the interface.

Format

ospfv3 process-id area area-id [ instance instance-id ]

undo ospfv3 process-id area area-id [ instance instance-id ]

Parameters

Parameter Description Value

process-id

Specifies the OSPFv3 process ID.

The value is an integer ranging from 1 to 65535.

area area-id

Specifies the OSPFv3 area ID.

The value of the area ID can be a decimal integer or in the IPv4 address format. The integer ranges from 0 to 4294967295.

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

Before running this command on an interface, run the ipv6 enable command to enable IPv6 in the interface view.

Example

# Enable OSPFv3 on an interface and enable OSPFv3 in area 1.

<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

# Enable OSPFv3 in GE0/0/1, and enable OSPFv3 in area 1.

<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >