Add Switches
NDFC

The next step in the Day0 lifecycle for a Greenfield fabric in NDFC is to discover and import the switches that make up the fabric. The switch discovery and import process can be done in two ways: 1) new switches being bootsrapped with POAP or 2) using a seed IP address of a switch in the fabric. For the first option, NDFC has the Fabric Settings you just finished populating updated to act as the POAP (Power-On Auto Provisioning) server for bootsrapping. This was not enabled for this lab since the fabric swithces reside in CML. The second option is what you will use for this lab and is applicable for both Greenfield and Brownfield fabrics. In a clos fabric, each switch is equal distance from each other, thus a switch in your fabric would be selected and NDFC lets you define an expected hop-count to reach all other switches in your fabric for discovery. This discovery occurs by giving access to the switch via the local admin user or AAA user if setup in the Fabric Settings. This user must have the ability to SSH to the switches, perform SNMPv3 queries, and run show commands. One of the show commands is for CDP to discover subsequent directly connected switches, however, not to exceed the specified hop-count during the discovery. In this section, you will perform these steps to discover and import the switches in your Greenfield Site1 fabric.

Step 1 - Launch Add Switches to Fabric Wizard

Your Switches table is empty at the moment. To populate it with the switches in your Site1 fabric:

  1. Click Switches in the top navigation bar
  2. Click Actions
  3. Click Add Switches in the dropdown

Step 2 - Populate Seed Switch Details

As mentioned in the introduction, the Add Switches wizard needs some information to automaticaly be able to discover and add switches for management by NDFC. Your seed IP address will be your Site1-L1. For this lab, you will just make use of the admin user credentials for your switches. The hop-count will be left default as that is sufficient. Additionally, since your Site1 fabric is a Greenfield fabric, the Preserve Config checkbox will be unchecked :

  1. Seed IP: 10.3.3.13
  2. Username: admin
  3. Password: cisco.123
  4. Uncheck Preserve Config
  5. Click Discover Switches in the bottom right
  6. Click Confirm for the warning that pops up to acknowledge switch configuration will be removed since configuration is not be preserved

Step 3 - Add Switches

You will see your Site1 fabric switches discovered. Take note that your switches Status column shows they are manageable. They now must be imported.

  1. Click the checkbox beside the Switch Name column to select all
  2. Click Add Swithces in the bottom right
  3. The import progress will start and display In-Progress for the Status column along with a progress bar in the Progress column:

Step 4 - Confirm Switches Added & Exit Add Switches Wizard

The import process should be successful and the Status show Switch Added. The Progress column should show the progress bar as fully green, i.e. progress complete and successful. If you see anything different than the screenshot below, please notify a lab instructor.

  1. Once each switch shows added, click the Close button in the bottom right

Step 5 - Review Added Switches

Upon exiting the Add Switches wizard, you will be redirected back to Switches overview. You should now see your six imported switches with the Config Status showing as NA. If the Config Status shows something else, then please give it a few moments and the display should update automatically. The NA status is expected at the moment as the configuration intent defined in the Fabric Settings when you created your Site1 fabric differs from what is deployed to the switches you just added.

Depending on the timing you may see the Mode on the switches to be Migration. Wait a little longer and the mode will be Normal

Step 6 - Review Overview Dashboard

Navigate back to the main Overview dashboard to see what has populated and changed since adding the switches to your Site1 fabric:

  1. Click Overview

  2. Note: As mentioned, currently the dashboard shows your switches out-of-sync, but this will be resolved in subsequent sections of the lab.



For further reference, additional details for adding switches can be found here.

Continue to the next section to set the appropriate switch roles in your Site1 fabric.