# Copyright (C) 2016-2017 Cumulus Networks, inc.
#
# All Rights reserved.
#
# This software is subject to the Cumulus Networks End User License Agreement available
# at the following locations:.
#
# Internet: https://cumulusnetworks.com/downloads/eula/latest/view/
#
# Cumulus Linux systems: /usr/share/cumulus/EULA.txt

Scenario
========

  +----------+
  | spine-01 |
  +----------+
        | swp1
        |
        |
        | swp2
  +----------+
  | leaf-01  |
  +----------+

spine-01's loopback is 10.0.0.1/32
leaf-01's loopback is 10.0.0.2/32

net commands
============
There are three steps for configuring OSPF unnumbered
- assign the loopback IP to the swp interface
- assign the interface to an OSPF area
- designate the interface as OSPF point-to-point
spine-01# net add interface swp1 ip address 10.0.0.1/32
spine-01# net add interface swp1 ospf area 0.0.0.0
spine-01# net add interface swp1 ospf network point-to-point
spine-01# net pending
spine-01# net commit

leaf-01# net add interface swp2 ip address 10.0.0.2/32
leaf-01# net add interface swp2 ospf area 0.0.0.0
leaf-01# net add interface swp2 ospf network point-to-point
leaf-01# net pending
leaf-01# net commit


Verification
============
spine-01# net show ospf interface
spine-01# net show ospf neighbor

