< Home

ospfv3 network-type

Function

The ospfv3 network-type command sets the network type of the OSPFv3 interface.

The undo ospfv3 network-type command restores the default network type of the OSPFv3 interface.

By default, the network type of an interface is determined by the physical interface. The network type of Ethernet interface is broadcast.

Format

ospfv3 network-type { broadcast | nbma | p2mp [ non-broadcast ] | p2p } [ instance instance-id ]

undo ospfv3 network-type [ broadcast | nbma | p2mp [ non-broadcast ] | p2p ] [ instance instance-id ]

Parameters

Parameter Description Value
broadcast Indicates that the network type of the interface is changed to broadcast. -
nbma Indicates that the network type of the interface is changed to NBMA. -
p2mp Indicates that the network type of the interface is changed to point-to-multipoint. -
non-broadcast Indicates that the network type of the interface is changed to non-broadcast point-to-multipoint. -
p2p Indicates that the network type of the interface is changed to point-to-point. -
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

None

Example

# Set network type of Vlanif10 to NBMA.

<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 network-type nbma

# Set network type of GE0/0/1 to NBMA.

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