Configuring ospfv3 network types, Configuration prerequisites, Configuring an nbma or p2mp neighbor – H3C Technologies H3C S12500 Series Switches User Manual

Page 328

Advertising
background image

312

Step Command

4.

Configure a virtual link.

vlink-peer router-id [ hello seconds | retransmit seconds | trans-delay
seconds | dead seconds | instance instance-id ] *

Configuring OSPFv3 network types

OSPFv3 classifies networks into the following types upon the link layer protocol:
By default, the OSPFv3 interface network types vary with the link layer protocols of the interfaces:

When the link layer protocol is PPP, OSPFv3 considers the network type as P2P by default.

When the link layer protocol is Ethernet, OSPFv3 considers the network type as broadcast by
default.

You can change the network type of an OSPFv3 interface in the following cases:

An NBMA network must be fully connected. That is, any two routers in the network must be directly

reachable to each other through a virtual circuit. If no such direct link is available, you must change
the network type through a command.

If direct connections are not available between some routers in an NBMA network, the type of
interfaces associated must be configured as P2MP, or as P2P for interfaces with only one neighbor.

Configuration prerequisites

Before you configure OSPFv3 network types, complete the following tasks:

Configure IPv6 functions.

Configure basic OSPFv3.

Configuring the OSPFv3 network type for an interface

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure a network type for

the OSPFv3 interface.

ospfv3 network-type { broadcast |
nbma | p2mp [ non-broadcast ] |

p2p } [ instance instance-id ]

Optional.
The network type of an interface

depends on the media type of the

interface.

Configuring an NBMA or P2MP neighbor

For NBMA and P2MP interfaces (only when in unicast mode), you must specify the link-local IP addresses

of their neighbors because these interfaces cannot find neighbors through broadcasting hello packets.
You can also specify DR priorities for neighbors.
To configure an NBMA or P2MP (unicast) neighbor and its DR priority:

Advertising