interfaces <interface> <interface-name> ip ospf network <type>
Sets the OSPF network type for an interface.
Broadcast is supported.
- interface
- A type of interface. For detailed keywords and arguments that can be specified as interface types, refer to Supported Interface Types.
- interface-name
- The name of an interface.
- type
- The network type for this interface. The type is one of the following:
broadcast: The interface supports broadcast mode, such as a LAN link.
non-broadcast: The interface does not support broadcast mode.
point-to-point: The interface supports point-to-point mode.
point-to-multipoint: The interface supports point-to-multipoint mode, such as a PPP interface or a point-to-point logical interface on Frame Relay.
The default type is broadcast.
Configuration mode
interfaces {
interfaces interface-name {
ip {
ospf {
network type
}
}
}
}
Use this command to set the OSPF network type for the interface.
Use the set form of this command to set the OSPF network type for an interface.
Use the delete form of this command to remove the OSPF network type for an interface.
Use the show form of this command to display the OSPF network type for an interface.