Ospf Network-Type - HP 6125XLG Command Reference Manual

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

[Sysname-Vlan-interface10] ospf mtu-enable

ospf network-type

Use ospf network-type to set the network type for an interface.
Use undo ospf network-type to restore the default network type for an interface.
Syntax
ospf network-type { broadcast | nbma | p2mp [ unicast ] | p2p }
undo ospf network-type
Default
By default, the network type of an interface depends on its link layer protocol:
For Ethernet and FDDI, the network type is broadcast.
For ATM, FR, and X.25, the network type is NBMA.
For PPP, LAPB, HDLC, and POS, the network type is P2P.
Views
Interface view
Predefined user roles
network-admin
Parameters
broadcast: Specifies the network type as broadcast.
nbma: Specifies the network type as NBMA.
p2mp: Specifies the network type as P2MP.
unicast: Specifies the P2MP interface to unicast OSPF packets. By default, a P2MP interface multicasts
OSPF packets.
p2p: Specifies the network type as P2P.
Usage guidelines
If a router on a broadcast network does not support multicast, configure the network type for the
connected interfaces as NBMA.
If any two routers on an NBMA network are directly connected through a virtual link, the network is fully
meshed, and you can configure the network type for the connected interfaces as NBMA. If two routers
are not directly connected, configure the P2MP network type so that the two routers can exchange
routing information through another router.
When the network type of an interface is NBMA or P2MP unicast, you must use the peer command to
specify the neighbor.
If only two routers run OSPF on a network, you can configure the network type for the connected
interfaces as P2P.
When the network type of an interface is P2MP unicast, all OSPF packets are unicast by the interface.
Examples
# Configure the OSPF network type for VLAN-interface 10 as NBMA.
<Sysname> system-view
116

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents