<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Catalyst Center (DNAC) PnP API: Cannot Set Stack Member Numbering in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/catalyst-center-dnac-pnp-api-cannot-set-stack-member-numbering/m-p/5566825#M3388</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/856925"&gt;@All&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Catalyst Center version: 3.1.6&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;I am working on a NetBox-based Zero-Touch Provisioning solution for Cisco Catalyst switches using Catalyst Center PnP.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;The PnP workflow and CLI template deployment work correctly. However, I cannot define the required stack member numbering based on switch serial numbers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am using the Import Devices in Bulk API:&amp;nbsp;&lt;EM&gt;POST /dna/intent/api/v1/onboarding/pnp-device/import&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;According to the API documentation, the request supports the stackInfo object, including stackMemberList.&lt;BR /&gt;My request payload looks similar to this:&lt;/P&gt;&lt;PRE&gt;[
  {

    "deviceInfo": {
      "serialNumber": "SERIAL_NUMBER_1",
      "stack": true,
      "description": "Access switch stack",
      "pid": "C9200L-24P-4G",
      "siteId": "SITE_ID",
      "sudiRequired": false,
      "deviceSudiSerialNos": [
        "SERIAL_NUMBER_1",
        "SERIAL_NUMBER_2"
      ],
      "userMicNumbers": [],
      "userSudiSerialNos": [],
      "hostname": "SWITCH-STACK-01",
      "stackInfo": {
        "supportsStackWorkflows": true,
        "isFullRing": true,
        "stackRingProtocol": "StackWise",
        "totalMemberCount": 2,
        "validLicenseLevels": [],
        "stackMemberList": [
          {
            "serialNumber": "SERIAL_NUMBER_1",
            "role": "Active",
            "pid": "C9200L-24P-4G",
            "sudiSerialNumber": "SERIAL_NUMBER_1",
            "stackNumber": 1,
            "priority": 15
          },
          {
            "serialNumber": "SERIAL_NUMBER_2",
            "role": "Standby",
            "pid": "C9200L-24P-4G",
            "sudiSerialNumber": "SERIAL_NUMBER_2",
            "stackNumber": 2,
            "priority": 14
          }
        ]
      }
    }
  }
]&lt;/PRE&gt;&lt;P&gt;The API returns a successful response, but the imported device contains an empty member list: "stackMemberList": []&lt;/P&gt;&lt;P&gt;I see the same result when checking the device using: &lt;EM&gt;GET /dna/intent/api/v1/onboarding/pnp-device&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have tested several payload variations, but the result is always the same.&lt;/P&gt;&lt;P&gt;When the physical stack connects to Catalyst Center PnP, the API correctly detects both stack members and populates stackMemberList. However, the members may be detected in a different order than required.&lt;/P&gt;&lt;P&gt;For example, I need:&lt;/P&gt;&lt;P&gt;SERIAL_NUMBER_1 -&amp;gt; switch 1&lt;BR /&gt;SERIAL_NUMBER_2 -&amp;gt; switch 2&lt;/P&gt;&lt;P&gt;However, Catalyst Center may detect and assign them in the opposite order.&lt;/P&gt;&lt;P&gt;I have already tried:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Erasing the switch configuration multiple times&lt;/LI&gt;&lt;LI&gt;Removing the switches from PnP&lt;/LI&gt;&lt;LI&gt;Clearing the existing stack member numbering&lt;/LI&gt;&lt;LI&gt;Renumbering the switches to firest before connecting them to PnP&lt;/LI&gt;&lt;LI&gt;Changing the switch startup order&lt;/LI&gt;&lt;LI&gt;Setting stack priorities before discovery&lt;/LI&gt;&lt;LI&gt;Updating the PnP device after discovery&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;None of these methods provides a reliable way to assign a specific serial number to a specific stack member number during the PnP workflow.&lt;/P&gt;&lt;P&gt;Is stackMemberList supported as an input parameter for the bulk import API, or is it only a read-only field populated after device discovery?&lt;/P&gt;&lt;P&gt;Is there any supported Catalyst Center API workflow that allows the following mapping to be defined before provisioning?&lt;/P&gt;&lt;P&gt;Serial number A -&amp;gt; stack member 1&lt;BR /&gt;Serial number B -&amp;gt; stack member 2&lt;/P&gt;&lt;P&gt;Has anyone encountered this issue or found a reliable way to control Catalyst 9200L stack member numbering during PnP provisioning?&lt;/P&gt;&lt;P&gt;Thank you.&lt;BR /&gt;Bleblas&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jul 2026 06:58:57 GMT</pubDate>
    <dc:creator>Bleblas2</dc:creator>
    <dc:date>2026-07-29T06:58:57Z</dc:date>
    <item>
      <title>Catalyst Center (DNAC) PnP API: Cannot Set Stack Member Numbering</title>
      <link>https://community.cisco.com/t5/controllers/catalyst-center-dnac-pnp-api-cannot-set-stack-member-numbering/m-p/5566825#M3388</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/856925"&gt;@All&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Catalyst Center version: 3.1.6&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;I am working on a NetBox-based Zero-Touch Provisioning solution for Cisco Catalyst switches using Catalyst Center PnP.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;The PnP workflow and CLI template deployment work correctly. However, I cannot define the required stack member numbering based on switch serial numbers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am using the Import Devices in Bulk API:&amp;nbsp;&lt;EM&gt;POST /dna/intent/api/v1/onboarding/pnp-device/import&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;According to the API documentation, the request supports the stackInfo object, including stackMemberList.&lt;BR /&gt;My request payload looks similar to this:&lt;/P&gt;&lt;PRE&gt;[
  {

    "deviceInfo": {
      "serialNumber": "SERIAL_NUMBER_1",
      "stack": true,
      "description": "Access switch stack",
      "pid": "C9200L-24P-4G",
      "siteId": "SITE_ID",
      "sudiRequired": false,
      "deviceSudiSerialNos": [
        "SERIAL_NUMBER_1",
        "SERIAL_NUMBER_2"
      ],
      "userMicNumbers": [],
      "userSudiSerialNos": [],
      "hostname": "SWITCH-STACK-01",
      "stackInfo": {
        "supportsStackWorkflows": true,
        "isFullRing": true,
        "stackRingProtocol": "StackWise",
        "totalMemberCount": 2,
        "validLicenseLevels": [],
        "stackMemberList": [
          {
            "serialNumber": "SERIAL_NUMBER_1",
            "role": "Active",
            "pid": "C9200L-24P-4G",
            "sudiSerialNumber": "SERIAL_NUMBER_1",
            "stackNumber": 1,
            "priority": 15
          },
          {
            "serialNumber": "SERIAL_NUMBER_2",
            "role": "Standby",
            "pid": "C9200L-24P-4G",
            "sudiSerialNumber": "SERIAL_NUMBER_2",
            "stackNumber": 2,
            "priority": 14
          }
        ]
      }
    }
  }
]&lt;/PRE&gt;&lt;P&gt;The API returns a successful response, but the imported device contains an empty member list: "stackMemberList": []&lt;/P&gt;&lt;P&gt;I see the same result when checking the device using: &lt;EM&gt;GET /dna/intent/api/v1/onboarding/pnp-device&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have tested several payload variations, but the result is always the same.&lt;/P&gt;&lt;P&gt;When the physical stack connects to Catalyst Center PnP, the API correctly detects both stack members and populates stackMemberList. However, the members may be detected in a different order than required.&lt;/P&gt;&lt;P&gt;For example, I need:&lt;/P&gt;&lt;P&gt;SERIAL_NUMBER_1 -&amp;gt; switch 1&lt;BR /&gt;SERIAL_NUMBER_2 -&amp;gt; switch 2&lt;/P&gt;&lt;P&gt;However, Catalyst Center may detect and assign them in the opposite order.&lt;/P&gt;&lt;P&gt;I have already tried:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Erasing the switch configuration multiple times&lt;/LI&gt;&lt;LI&gt;Removing the switches from PnP&lt;/LI&gt;&lt;LI&gt;Clearing the existing stack member numbering&lt;/LI&gt;&lt;LI&gt;Renumbering the switches to firest before connecting them to PnP&lt;/LI&gt;&lt;LI&gt;Changing the switch startup order&lt;/LI&gt;&lt;LI&gt;Setting stack priorities before discovery&lt;/LI&gt;&lt;LI&gt;Updating the PnP device after discovery&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;None of these methods provides a reliable way to assign a specific serial number to a specific stack member number during the PnP workflow.&lt;/P&gt;&lt;P&gt;Is stackMemberList supported as an input parameter for the bulk import API, or is it only a read-only field populated after device discovery?&lt;/P&gt;&lt;P&gt;Is there any supported Catalyst Center API workflow that allows the following mapping to be defined before provisioning?&lt;/P&gt;&lt;P&gt;Serial number A -&amp;gt; stack member 1&lt;BR /&gt;Serial number B -&amp;gt; stack member 2&lt;/P&gt;&lt;P&gt;Has anyone encountered this issue or found a reliable way to control Catalyst 9200L stack member numbering during PnP provisioning?&lt;/P&gt;&lt;P&gt;Thank you.&lt;BR /&gt;Bleblas&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2026 06:58:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/catalyst-center-dnac-pnp-api-cannot-set-stack-member-numbering/m-p/5566825#M3388</guid>
      <dc:creator>Bleblas2</dc:creator>
      <dc:date>2026-07-29T06:58:57Z</dc:date>
    </item>
  </channel>
</rss>

