Switch User Manual

1134 OSPF Commands
Example
The following example disables OSPF MTU mismatch detection on VLAN
interface 15.
console(config-if-vlan15)#ip ospf mtu-ignore
ip ospf network
Use the ip ospf network command to configure OSPF to treat an interface as
a point-to-point rather than broadcast interface. To return to the default
value, use the no form of this command.
Syntax
ip ospf network {
broadcast
|
point-to-point
}
no ip ospf network
broadcast
— Set the network type to broadcast.
point-to-point
— Set the network type to point-to-point
Default Configuration
Interfaces operate in broadcast mode by default.
Command Mode
Interface Configuration (VLAN) mode.
Usage Guidelines
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.
Example
The following example shows the options for the ip ospf network command.
console(config-if-vlan1)#ip ospf network ?
2CSPC4.XCT-SWUM2XX1.book Page 1134 Monday, October 3, 2011 11:05 AM