Command Reference Guide
Open Shortest Path First Commands
CLI Command Reference
September 2014 Page 578
HP Moonshot Switch Module CLI Command Reference
ip ospf network
Use this command to configure OSPF to treat an interface or range of interfaces as a point-to-point rather than
broadcast interface. The
broadcast option sets the OSPF network type to broadcast. The point-to-point
option sets the OSPF network type to point-to-point. OSPF treats interfaces as broadcast interfaces by default.
(Loopback interfaces have a special loopback network type, which cannot be changed.) When there are only
two routers on the network, OSPF can operate more efficiently by treating the network as a point-to-point
network. For point-to-point networks, OSPF does not elect a designated router or generate a network link state
advertisement (LSA). Both endpoints of the link must be configured to operate in point-to-point mode.
no ip ospf network
Use this command to return the OSPF network type to the default.
ip ospf priority
This command sets the OSPF priority for the specified router interface or range of interfaces. The priority of
the interface is a priority integer from 0 to 255. A value of 0 indicates that the router is not eligible to become
the designated router on this network.
no ip ospf priority
This command sets the default OSPF priority for the specified router interface.
Default broadcast
Format
ip ospf network {broadcast | point-to-point}
Mode Interface Config
Format
no ip ospf network
Mode Interface Config
Default 1, which is the highest router priority
Format
ip ospf priority 0-255
Mode Interface Config
Format
no ip ospf priority
Mode Interface Config