Ip Ospf Network - Cisco Nexus 3548 Command Reference Manual

Nx-os unicast routing command reference
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

ip ospf network

ip ospf network
To configure the Open Shortest Path First (OSPF) network type to a type other than the default for an
interface, use the ip ospf network command. To return to the default, use the no form of this command.
Syntax Description
broadcast
point-to-point
Command Default
Depends on the network type.
Command Modes
Interface configuration mode
Command History
Release
5.0(3)A1(1)
Usage Guidelines
The network type influences the behavior of the OSPF interface. An OSPF network type is usually
broadcast, which uses OSPF multicasting capabilities. Under this network type, a designated router and
backup designated router are elected. For point-to-point networks, there are only two neighbors and
multicast is not required. For routers on an interface to become neighbors, the network type for all should
match.
This command overrides the medium {broadcast | p2p} command in interface configuration mode.
This command requires the LAN Base Services license.
Examples
This example shows how to set an OSPF network as a broadcast network:
switch# configure terminal
switch(config)# interface ethernet 1/2
switch(config-if)# no switchport
switch(config-if)# ip address 192.0.2.33 255.255.255.0
switch(config-if)# ip ospf network broadcast
switch(config-if)#
Related Commands
Command
show ip ospf
show ip ospf interface
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
186
ip ospf network {broadcast | point-to-point}
no ip ospf network
Modification
This command was introduced.
Description
Displays general information about OSPF routing instances.
Displays OSPF-related interface information.
Sets the network type as broadcast.
Sets the network type as point-to-point.
Chapter
Unicast Routing Commands
OL-27852-01

Advertisement

Table of Contents
loading

Table of Contents