< 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, that of the serial interface (encapsulated with PPP) is p2p, and Frame-relay interface is nbma.

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. By default, it is 0.

Views

Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Tunnel interface view, Dialer interface view, VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Set network type of GigabitEthernet0/0/0 to NBMA.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0] ipv6 enable
[sysname-GigabitEthernet0/0/0] ospfv3 network-type nbma
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >