# Cisco Catalyst Center

## Introduction

Hamina Network Planner supports two ways of integrating with Cisco Catalyst Center (formerly known as Cisco DNA Center or "DNAC"):

* Exporting the network design as a file that can be imported to Cisco Catalyst Center. See [#export-to-cisco-catalyst-center](#export-to-cisco-catalyst-center "mention") for more information.
* Enabling the Live View through a cloud-to-premise connection to Cisco Catalyst Center. See [#live-view](#live-view "mention") for more information.

## Live View with Cisco Catalyst Center <a href="#live-view" id="live-view"></a>

Hamina Network Planner Plus connects from the Hamina Cloud to a on-premises instance of Cisco Catalyst Center.

{% hint style="danger" %}
The Live View with Cisco Catalyst Center requires a minimum Catalyst Center version of 2.3.7.9.
{% endhint %}

{% hint style="info" %}
The Hamina servers [listed here](https://docs.hamina.com/planner/other/faqs#my-organization-allowlists-ip-addresses-in-vendor-apis.-which-ip-addresses-do-i-need-to-allow-in-ord) must be able to connect to the Cisco Catalyst Center appliance using TCP port 443.
{% endhint %}

To enable it:

1. Start a new project, and click on the **Live** tab at the top to open the **Live View**.
2. Select **Cisco Catalyst (DNA) Center API**.
3. In **Instance URL**, enter the URL or public IP address of your Cisco Catalyst Center instance. The IP address can also specify a custom port number, example: `12.34.56.78:1234` .
4. Input your username and password, and click the **Continue** button.

## Export to Cisco Catalyst Center

{% embed url="<https://youtu.be/X4iHJauqs3A?si=PKBmFDNspr1X0rR6>" %}

Hamina Network Planner can export the network design as a file that can be imported to Cisco Catalyst Center (formerly known as Cisco DNA Center or "DNAC").

{% hint style="info" %}
Currently Hamina only supports exporting the floorplan and AP details (name, model, coordinates, orientation, power). It does not export the walls, attenuating objects or network equipment.
{% endhint %}

In Cisco Catalyst Center, there are two ways to import data:

* With a hierarchy file generated in Hamina Network Planner. This generates a `.csv` file, which contains the entire hierarchy including buildings and floors. The following instructions use this method, which is recommended.
* Manually, without a hierarchy file. With this method, you will need to define an exact hierarchy, or Cisco Catalyst Center will fail to import the Floor Maps. Instructions for this method can be found in a [later section of this article](#manual-hierarchy).

#### Exporting from Hamina Network Planner

1. In the Project menu, select **Export Project**.<br>

   <div align="left" data-full-width="true"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FDBGdhqoRoDl3RZfX6DAJ%2Fexport.png?alt=media&#x26;token=fa928aa9-0e75-401e-947f-d0d71d8a93a4" alt="" width="563"><figcaption></figcaption></figure></div>
2. Select **Cisco Catalyst (DNA) Center** from the list, and click the **Continue** button.<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FJn4ZgKRSwBaAHZKIEWEg%2Fexport-menu.png?alt=media&#x26;token=6146ebd8-2113-44c1-9cff-0a6f4baa7b0f" alt="" width="563"><figcaption></figcaption></figure></div>
3. Define the **Areas**, **Building** name, and choose which floor plans to export. **Sub-areas** can be defined with a `/` symbol.<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FiIdwDe3rTaUJ2JwGnv6n%2Fexport-settings-blank.png?alt=media&#x26;token=2b5be6a0-1706-4370-b9cc-6fbcaeba0d2a" alt="" width="563"><figcaption></figcaption></figure></div>

   Since we will be downloading a hierarchy and uploading it to Cisco Catalyst Center, you can define areas, sub-areas, and the building as you see fit (but you may want to consider your existing hierarchy).<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FtJrdz0zb6UIt3OsSXyxC%2Fexport-settings-filled.png?alt=media&#x26;token=79bf6fea-e385-4bdf-bf79-3614d8cd5311" alt="" width="563"><figcaption></figcaption></figure></div>
4. Click **Download hierarchy** and **Download project.**\
   \
   **Download hierarchy** will download a **Sites** / **Hierarchy** / `.csv` file, which defines Areas, Sub-areas, Buildings, and Floors.\
   \
   **Download project** will generate a **Project** / **Floor Maps** / `tar.gz` file, which contains the maps and APs.<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FKohQ4K3UvYUec76nKMPw%2Fexported-files.png?alt=media&#x26;token=447f98ab-f318-4598-9a22-0364bde4e9d0" alt="" width="375"><figcaption></figcaption></figure></div>

#### Importing to Cisco Catalyst Center

1. In Cisco Catalyst Center, click the menu icon.<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2Fi2uFkgLMJ4SLYiVdPScp%2Fcat-center-home.png?alt=media&#x26;token=34762432-6ae9-4cfc-a1fa-cb75a7df3149" alt="" width="375"><figcaption></figcaption></figure></div>
2. In the menu, click **Design** and then **Network Hierarchy**.<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2Fd9B6RUNlmc60uh5RSBx7%2Fcat-center-menu.png?alt=media&#x26;token=66f34f48-3117-4524-a111-5da6039d4234" alt="" width="563"><figcaption></figcaption></figure></div>
3. In the toolbar along the top, click **Import**, then **Import Sites**.<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FWVsYgORz5Gqk5ouBoi2S%2Fimport-sites.png?alt=media&#x26;token=f32a06d8-19f3-4180-92a5-b93eb256631e" alt="" width="563"><figcaption></figcaption></figure></div>
4. Upload the **Sites** / **Hierarchy** / `.csv` file that was generated in Hamina, and contains definitions for Areas, Sub-areas, Buildings, and Floors.<br>

   <figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2F5e6hf1WkXZkdoDqxhIwy%2Fimport-csv.png?alt=media&#x26;token=c2e709be-bf31-4a1c-90ea-92bad28fdf7c" alt=""><figcaption></figcaption></figure>
5. Once the import is complete, you'll see the hierarchy in Cisco Catalyst Center. *Optionally, you can define an address for your new building.*<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2F0oP8x9mPiLIhPL4bc2te%2Fedit-address.png?alt=media&#x26;token=5a921b17-d233-46b2-8779-a23bee07b9b1" alt="" width="563"><figcaption></figcaption></figure></div>
6. Now that the hierarchy exists, select **Import** > **Import Floor Maps** to upload the **Project** / **Floor Maps** / `tar.gz` file, which contains the maps and APs.<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FKkCjjtgPkC6k27w7rIdG%2Fimport-gz.png?alt=media&#x26;token=193f5aac-d8a5-4a01-9f55-b91c71538805" alt="" width="563"><figcaption></figcaption></figure></div>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2Fh4awBfR784m3wMWiVkkH%2Fimport-floor-maps.png?alt=media&#x26;token=b5ce3e38-97fe-4efe-8671-fe24e87c39de" alt="" width="563"><figcaption></figcaption></figure></div>
7. Follow the prompts in Cisco Catalyst Center to import the file, preview the import, and view the hierarchy.<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FSbJKiZMWvCxQqLCWtma0%2Fimport-preview.png?alt=media&#x26;token=8b5db8f6-51db-4f84-b2f7-4c8a50b27a6f" alt=""><figcaption></figcaption></figure></div>
8. Click on one of the maps to view it.<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FCv9xolFzpRk9jd9s7LgK%2Fview-catalyst-import.png?alt=media&#x26;token=7c53c023-5533-4210-aa43-5661482cdaa3" alt=""><figcaption></figcaption></figure></div>

### Manually Defining a Hierarchy <a href="#manual-hierarchy" id="manual-hierarchy"></a>

It is possible to manually define a hierarchy in Cisco Catalyst Center, and create a Hamina project file that conforms to the Catalyst Center hierarchy. In Cisco Catalyst Center:

1. Create the desired area and sub-area hierarchy.
2. Next to the desired area, select **...** > **Add Building**, and create the building.<br>

   <figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2Fk3ipbU2Xo9rqwvxi0E36%2Fadd-building.png?alt=media&#x26;token=dc85ea2e-253a-485e-8195-3d67947801b5" alt=""><figcaption></figcaption></figure>
3. Next to the newly-created building, click **...** > **Add Floor**.<br>

   <figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FWOE5CFbAVN8CvlH62PA0%2Fadd-floor.png?alt=media&#x26;token=8831bbc7-6d27-4cb2-a51d-a8c27aa220ce" alt=""><figcaption></figcaption></figure>
4. In the building, create each floor that you intend to export from Hamina. *Note: Ignore any warnings amount missing images, as those will be added when the `tar.gz` file is imported.*<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2Fi7Yv9CHQZQCOlhTZblWl%2Fadd-floor-dialogue.png?alt=media&#x26;token=694ce959-5389-4f2a-b7ba-643bfd2f168e" alt=""><figcaption></figcaption></figure></div>
5. In Hamina Network Planner, download the **Project** / **Floor Maps** /`tar.gz` file, making sure that the areas, sub-areas, building name, and floor plan names all match Cisco Catalyst Center. *Note: Everything must match, or the import will fail.*<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FJcap7XM3zOsVZsHt6iZO%2Fexport-settings-manual.png?alt=media&#x26;token=7bcbc9c2-2ee8-48a2-ab3c-802002f02a91" alt=""><figcaption></figcaption></figure></div>
6. In Cisco Catalyst Center, in the toolbar along the top, click **Import**, then **Import Floor Maps**.<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FHjy7PUvnAG911z1Kgexj%2Fimport-sites-manual.png?alt=media&#x26;token=baf42986-2491-4bb3-8e30-e354beb25aab" alt="" width="563"><figcaption></figcaption></figure></div>
7. Import the **Project** / **Floor Maps** /`tar.gz` file. Follow the prompts in Cisco Catalyst Center to import the file, preview the import, and view the hierarchy.<br>

   <figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FgRJ9X00L8NUmDKHPSHyy%2Fimport-sites-wizard-manual.png?alt=media&#x26;token=8a57eb01-e5bc-4dfd-86e3-2b95abf2be35" alt=""><figcaption></figcaption></figure>
8. Click on one of the maps to view it.<br>

   <div align="left"><figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FvdXe7tobh0Tsn5QTcGAK%2Fview-maps-manual.png?alt=media&#x26;token=b6471716-ae3e-4d00-8b1d-47be6b2f6a59" alt=""><figcaption></figcaption></figure></div>

### Updating Access Points

It is possible to update access point models and placements on a floorplan.

1. Make adjustments to the project in Hamina as needed.
2. Export the **Project** / **Floor Maps** /`tar.gz` file from Hamina. *Note: You can either export all floors, or you can choose to only export the floors that need to be updated (recommended).*<br>

   <figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FzXqx8mZagrYv8OMH6Qc4%2Fexport-subselection.png?alt=media&#x26;token=e4c4e115-935f-4821-8e6e-b6aea8202bd2" alt=""><figcaption></figcaption></figure>
3. Using **Import** > **Import Floor Maps**, import the **Project** / **Floor Maps** /`tar.gz` file.
4. Access point locations and models will be updated.<br>

   <figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FADriLgi4RYadz3Zw5JXr%2Fupdate-in-hamina.png?alt=media&#x26;token=ea5940b6-4073-43c3-900b-19a53e562931" alt=""><figcaption></figcaption></figure>

   <figure><img src="https://1547340717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzUQ3TfKTYBeb6nf9W8Hv%2Fuploads%2FyVCY4CP3UmQYzRUcHkXU%2Fupdate-in-cat-center.png?alt=media&#x26;token=c1e66f47-bf33-4786-a6d3-30c32ef37262" alt=""><figcaption></figcaption></figure>
