ip ospf network
Define the type of media for the interface.
Syntax: [no] ip ospf network {broadcast | non-broadcast | point-to-point}
broadcast
Networks supporting more than two attached routers, and having the ability to address a single physical message to all of the attached routers.
non-broadcast
Networks supporting more than two routers, but having no broadcast capability, such as Frame Relay. OSPF runs in one of two modes over non-broadcast networks; Non-Broadcast Multi-Access (NBMA) simulates the operation of OSPF on a broadcast network, and point-to-multipoint.
point-to-point
An interface that directly joins two routers.
Description: Use the ip ospf network broadcast command to configure OSPF run over broadcast media for this interface
Use the ip ospf network non-broadcast command to configure OSPF to run over NBMA or point-to-multipoint media for this interface.
Use the ip ospf network point-to-point command to configure OSPF to run over point-to-point media for this interface.
Use the no ip ospf network command to set the media type of the underlying interface.
Factory Default: Type inferred from the underlying interface.
Command Mode: Interface configuration.
Example: In the following example, the ip ospf network point-to-point command configures the interface to run OSPF over a point-to-point link, and the show ip ospf interface pos command displays the setting:
router(config)#router ospf 1
router(config-router)#network 10.1.1.0 0.0.0.255 area 0
router(config-router)#interface pos 1/1/1
router(config-if)#ip ospf network point-to-point
router(config-if)#end
router#show ip ospf interface pos 1/1/1
Name: POS 1/1/1
Address: 10.1.1.0
Net type: PointToPoint
State: P To P
Area: 0.0.0.0
DR: 0.0.0.0
BDR: 0.0.0.0
Priority: 1
Cost: 10
Hello int: 10
Dead int: 40
Retrans int: 5
Transmit delay: 1
Related Commands: network area
router ospf
interface
show ip ospf interface
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: ospf.fm
HTML File Name: ospf12.html
Last Updated: 05/10/04 at 16:34:58